@paydock/client-sdk 1.124.1 → 1.126.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.cjs +173 -1664
- package/bundles/index.mjs +173 -1664
- package/bundles/types/checkout/instructions/index.d.ts +1 -1
- package/bundles/types/checkout/instructions/index.d.ts.map +1 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +19 -5
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +3 -4
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -1
- package/bundles/widget.umd.js +173 -1664
- package/bundles/widget.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout/instructions/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout/instructions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAGrE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI,CAUhF"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ICheckout } from '../../external-checkout/builder';
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { IFrameEvent } from '../../components/iframe-event';
|
|
3
|
+
import type { ICheckout } from '../../external-checkout/builder';
|
|
5
4
|
import { EventEmitter } from '../../helper/event-emitter';
|
|
5
|
+
import { type IContextualRunner } from '../runner/contextual.runner';
|
|
6
|
+
import { ZipmoneyRunner } from './zipmoney.runner';
|
|
7
|
+
declare enum ZIPMONEY_STATE {
|
|
8
|
+
APPROVED = "approved",
|
|
9
|
+
DECLINED = "declined",
|
|
10
|
+
CANCELLED = "cancelled",
|
|
11
|
+
REFERRED = "referred"
|
|
12
|
+
}
|
|
6
13
|
declare const ZipmoneyContextualRunner_base: {
|
|
7
14
|
new (...args: any[]): {
|
|
8
15
|
background: import("../../components/background").Background;
|
|
@@ -22,6 +29,10 @@ export declare class ZipmoneyContextualRunner extends ZipmoneyContextualRunner_b
|
|
|
22
29
|
protected checkout: ICheckout;
|
|
23
30
|
protected runs: boolean;
|
|
24
31
|
protected eventEmitter: EventEmitter;
|
|
32
|
+
protected event: IFrameEvent;
|
|
33
|
+
protected widgetId: string;
|
|
34
|
+
protected checkoutTab: Window | null;
|
|
35
|
+
protected checkInterval: NodeJS.Timeout | undefined;
|
|
25
36
|
constructor();
|
|
26
37
|
run(): void;
|
|
27
38
|
isRunning(): boolean;
|
|
@@ -32,8 +43,11 @@ export declare class ZipmoneyContextualRunner extends ZipmoneyContextualRunner_b
|
|
|
32
43
|
onStop(cb: () => void): void;
|
|
33
44
|
onCheckout(event: string, cb: (checkout: ICheckout) => void): void;
|
|
34
45
|
protected eventHandler(args: {
|
|
35
|
-
state:
|
|
46
|
+
state: ZIPMONEY_STATE;
|
|
36
47
|
}): void;
|
|
48
|
+
private setCloseTabInterval;
|
|
49
|
+
private setCompleteCheckoutListener;
|
|
50
|
+
private getLoadingUrl;
|
|
37
51
|
}
|
|
38
52
|
export {};
|
|
39
53
|
//# sourceMappingURL=zipmoney-contextual.runner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipmoney-contextual.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-contextual.runner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zipmoney-contextual.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-contextual.runner.ts"],"names":[],"mappings":";AACA,OAAO,EAAS,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AAKrC,OAAO,EAAc,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE/D,aAAK,cAAc;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;;;;;;;;;;;;;;;;AAED,qBAAa,wBACX,SAAQ,6BACR,YAAW,iBAAiB;IAE5B,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC9B,SAAS,CAAC,IAAI,UAAS;IACvB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAmB;IAC7C,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC5C,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;;IAQ7C,GAAG,IAAI,IAAI;IAQX,SAAS,IAAI,OAAO;IAIpB,IAAI,CAAC,YAAY,EAAE,SAAS;IAM5B,qBAAqB,IAAI,MAAM;IAS/B,mBAAmB,IAAI,MAAM;IAI7B,IAAI;IAeJ,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAO5B,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI;IAMlE,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,cAAc,CAAA;KAAE;IA8BtD,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,2BAA2B;IAWnC,OAAO,CAAC,aAAa;CAMtB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import { IRedirectRunner } from '../runner';
|
|
1
|
+
import type { ICheckout } from '../../external-checkout/builder';
|
|
2
|
+
import { type IRedirectRunner } from '../runner';
|
|
3
3
|
import { ZipmoneyRunner } from './zipmoney.runner';
|
|
4
|
-
import {
|
|
5
|
-
import { ZipmoneyRunnerParams } from './zipmoney.types';
|
|
4
|
+
import type { ZipmoneyRunnerParams } from './zipmoney.types';
|
|
6
5
|
declare const ZipmoneyRedirectRunner_base: {
|
|
7
6
|
new (...args: any[]): {
|
|
8
7
|
merchantRedirectUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipmoney-redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-redirect.runner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zipmoney-redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-redirect.runner.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,WAAW,CAAC;AAKjE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAA6B,MAAM,kBAAkB,CAAC;;;;;;;;;;;AAExF,qBAAa,sBACX,SAAQ,2BACR,YAAW,eAAe;IAE1B,OAAO,CAAC,iBAAiB,CAAoB;;IAQtC,mBAAmB;IAInB,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB;IAuBtD,qBAAqB,IAAI,MAAM;IAK/B,mBAAmB,IAAI,MAAM;IAI7B,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAIjD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const ZIPMONEY_PROXY_REDIRECT_URL = "/checkout/zipmoney/response";
|
|
2
2
|
export declare const ZIPMONEY_DEFAULT_SUSPENDED_URL = "/checkout/zipmoney/suspended";
|
|
3
3
|
export declare const ZIPMONEY_MESSAGE_SOURCE = "zipmoney.checkout.paydock";
|
|
4
|
+
export declare const ZIPMONEY_CONTEXTUAL_LOADING_URL = "/checkout/zipmoney/loading";
|
|
4
5
|
//# sourceMappingURL=zipmoney.config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipmoney.config.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,8BAA8B,iCAAiC,CAAC;AAE7E,eAAO,MAAM,uBAAuB,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"zipmoney.config.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,8BAA8B,iCAAiC,CAAC;AAE7E,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AAEnE,eAAO,MAAM,+BAA+B,+BAA+B,CAAC"}
|
|
@@ -5,6 +5,5 @@ export declare class ZipmoneyRunner extends BaseRunner implements Partial<IRunne
|
|
|
5
5
|
protected apiEnv: Env;
|
|
6
6
|
constructor();
|
|
7
7
|
setEnv(env: string, alias?: string): void;
|
|
8
|
-
protected getCheckoutUri(redirectUri: string): string;
|
|
9
8
|
}
|
|
10
9
|
//# sourceMappingURL=zipmoney.runner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipmoney.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAW,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,UAAU,8BAA8B,CAAC;AAEtD,qBAAa,cAAe,SAAQ,UAAW,YAAW,OAAO,CAAC,OAAO,CAAC;IACtE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;;IAOf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"zipmoney.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAW,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,UAAU,8BAA8B,CAAC;AAEtD,qBAAa,cAAe,SAAQ,UAAW,YAAW,OAAO,CAAC,OAAO,CAAC;IACtE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;;IAOf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAInD"}
|
|
@@ -10,6 +10,7 @@ export declare class GoogleWalletService extends WalletService implements IWalle
|
|
|
10
10
|
protected latestShippingChangePromiseReject: () => void;
|
|
11
11
|
protected selectedShippingOption: IGooglePayShippingOption;
|
|
12
12
|
protected processingButtonClick: boolean;
|
|
13
|
+
protected isProcessingAuthorization: boolean;
|
|
13
14
|
constructor(publicKey: string, meta: IWalletServiceMeta, gatewayName: string, eventEmitter: EventEmitter);
|
|
14
15
|
protected getGatewayName(): string;
|
|
15
16
|
protected getMerchantId(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/google.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,8BAA8B,EAAE,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAe,MAAM,wBAAwB,CAAC;AAE/I,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAgB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE7J,qBAAa,mBAAoB,SAAQ,aAAc,YAAW,cAAc;
|
|
1
|
+
{"version":3,"file":"google.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/google.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,8BAA8B,EAAE,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAe,MAAM,wBAAwB,CAAC;AAE/I,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAgB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE7J,qBAAa,mBAAoB,SAAQ,aAAc,YAAW,cAAc;IAQnB,SAAS,CAAC,WAAW,EAAE,MAAM;IAAE,SAAS,CAAC,YAAY,EAAE,YAAY;IAP5H,OAAO,CAAC,cAAc,CAAqC;IAC3D,SAAS,CAAC,kCAAkC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvE,SAAS,CAAC,iCAAiC,EAAE,MAAM,IAAI,CAAC;IACxD,SAAS,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;IAC3D,SAAS,CAAC,qBAAqB,UAAS;IACxC,SAAS,CAAC,yBAAyB,UAAS;gBAEhC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAY,WAAW,EAAE,MAAM,EAAY,YAAY,EAAE,YAAY;IAK5H,SAAS,CAAC,cAAc,IAAI,MAAM;IAIlC,SAAS,CAAC,aAAa,IAAI,MAAM;IAIjC,SAAS,CAAC,aAAa,IAAI,eAAe;IAO1C,SAAS,CAAC,4BAA4B,IAAI,8BAA8B;IAOxE,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIhC,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAqDzC,MAAM,CAAC,IAAI,EAAE,oBAAoB;YAqC1B,iBAAiB;IAY/B,OAAO,CAAC,KAAK;IAWb,OAAO,CAAC,wBAAwB;IAkBhC,OAAO,CAAC,gCAAgC;YAqB1B,eAAe;IAU7B,OAAO,CAAC,mBAAmB;IAyF3B,OAAO,CAAC,oBAAoB;IAgB5B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,wBAAwB;IAqDhC,OAAO,CAAC,cAAc;IAsBtB,OAAO,CAAC,eAAe,CAmBrB;IAEF,OAAO,CAAC,qBAAqB,CAK1B;CACN"}
|