@test-org122/merchant-iframe
Version:
Mediator iFrame package. This is used to sandbox the connector code away from the running hypernet core.
9 lines (7 loc) • 352 B
text/typescript
import { ResultAsync } from "neverthrow";
import { PublicKey } from "@test-org122/hypernet-core";
export interface IMerchantConnectorRepository {
getMerchantCode(merchantUrl: URL): ResultAsync<string, Error>;
getMerchantSignature(merchantUrl: URL): ResultAsync<string, Error>;
getMerchantAddress(merchantUrl: URL): ResultAsync<string, Error>;
}