@test-org122/merchant-iframe
Version:
Mediator iFrame package. This is used to sandbox the connector code away from the running hypernet core.
15 lines • 849 B
TypeScript
import Postmate from "postmate";
import { ChildProxy } from "@test-org122/utils";
import { IContextProvider } from "@merchant-iframe/interfaces/utils";
import { IMerchantConnector } from "@test-org122/merchant-connector";
import { IMerchantIFrameApi } from "@merchant-iframe/interfaces/api";
import { IMerchantService } from "@merchant-iframe/interfaces/business";
export default class PostmateApi extends ChildProxy implements IMerchantIFrameApi {
protected merchantService: IMerchantService;
protected contextProvider: IContextProvider;
protected merchantConnector: IMerchantConnector | undefined;
constructor(merchantService: IMerchantService, contextProvider: IContextProvider);
protected getModel(): Postmate.Model;
protected onModelActivated(parent: Postmate.ChildAPI): void;
}
//# sourceMappingURL=PostmateApi.d.ts.map