@paydock/client-sdk 1.123.8 → 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.
Files changed (28) hide show
  1. package/bundles/index.cjs +177 -1665
  2. package/bundles/index.cjs.d.ts +24 -1
  3. package/bundles/index.mjs +177 -1665
  4. package/bundles/index.mjs.d.ts +24 -1
  5. package/bundles/types/api/api-base.d.ts +1 -1
  6. package/bundles/types/api/api-base.d.ts.map +1 -1
  7. package/bundles/types/checkout/checkout.d.ts.map +1 -1
  8. package/bundles/types/checkout/instructions/index.d.ts +1 -1
  9. package/bundles/types/checkout/instructions/index.d.ts.map +1 -1
  10. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +19 -5
  11. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -1
  12. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +3 -4
  13. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -1
  14. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +1 -0
  15. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -1
  16. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +0 -1
  17. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -1
  18. package/bundles/types/index-cba.d.ts +33 -0
  19. package/bundles/types/index-cba.d.ts.map +1 -1
  20. package/bundles/types/index.d.ts +33 -0
  21. package/bundles/types/index.d.ts.map +1 -1
  22. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +1 -0
  23. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -1
  24. package/bundles/widget.umd.js +177 -1665
  25. package/bundles/widget.umd.js.d.ts +24 -1
  26. package/bundles/widget.umd.js.min.d.ts +24 -1
  27. package/bundles/widget.umd.min.js +1 -1
  28. package/package.json +1 -1
@@ -153,7 +153,7 @@ declare class ApiBase {
153
153
  reportEvent: ReportEventFn;
154
154
  reportError: ReportErrorFn;
155
155
  protected newApiRequest(method: Extract<HttpRequestMethod, 'GET' | 'POST'>, link: string): XMLHttpRequest;
156
- protected get ctx(): {
156
+ get ctx(): {
157
157
  sdkVersion: string;
158
158
  className: string;
159
159
  environment: string;
@@ -4752,4 +4752,27 @@ declare class PayPalSavePaymentSourceWidget {
4752
4752
  onCancel(callback?: (data?: IOnCancelEventData) => void): () => void;
4753
4753
  }
4754
4754
 
4755
+ declare global {
4756
+ interface Window {
4757
+ paydock: {
4758
+ WalletButtons: typeof WalletButtons;
4759
+ PaypalCheckoutButton: typeof PaypalCheckoutButton;
4760
+ AfterpayCheckoutButton: typeof AfterpayCheckoutButton;
4761
+ ZipmoneyCheckoutButton: typeof ZipmoneyCheckoutButton;
4762
+ PaymentSourceWidget: typeof PaymentSourceWidget;
4763
+ VaultDisplayWidget: typeof VaultDisplayWidget;
4764
+ ClickToPay: typeof ClickToPay;
4765
+ ExternalCheckoutBuilder: typeof Builder$1;
4766
+ ExternalCheckoutChecker: typeof Checker;
4767
+ PaymentSourceBuilder: typeof Builder;
4768
+ Canvas3DS: typeof Canvas3ds;
4769
+ MultiWidget: typeof MultiWidget;
4770
+ HtmlMultiWidget: typeof HtmlMultiWidget;
4771
+ HtmlWidget: typeof HtmlWidget;
4772
+ PayPalDataCollector: typeof PayPalDataCollector;
4773
+ PayPalSavePaymentSource: typeof PayPalSavePaymentSourceWidget;
4774
+ };
4775
+ }
4776
+ }
4777
+
4755
4778
  export { AfterpayCheckoutButton, Api, ApplePayWalletButtonExpress, CHECKOUT_BUTTON_EVENT, Canvas3ds, Checkout, ClickToPay, Configuration, ELEMENT, EVENT$1 as EVENT, Builder$1 as ExternalCheckoutBuilder, Checker as ExternalCheckoutChecker, FORM_FIELD, FRAUD_PREVENTION_EVENTS, type FraudPreventionEvent, type FraudPreventionEventType, type FraudPreventionProvider, FraudPreventionService, HtmlMultiWidget, HtmlPaymentSourceWidget, HtmlWidget, type ICheckout, type IClickToPayMeta, type IDetails, type IElementStyleInput, type IEventCheckoutFinishData, type IEventData, type IPayPalMeta, type IStyles$1 as IStyles, type ITexts, type IWalletMeta, type IWalletOnClickEvent, type IWalletPaymentSuccessfulEvent, type IWalletUnavailableEvent, type IWalletUpdateData, type IWalletUpdateEvent, InstructionDebugger, MultiWidget, PAYMENT_TYPE, PURPOSE, PayPalDataCollector, PayPalSavePaymentSourceWidget, Builder as PaymentSourceBuilder, PaymentSourceWidget, PaypalCheckoutButton, PaypalWalletButtonExpress, STYLABLE_ELEMENT, STYLABLE_ELEMENT_STATE, STYLE, SUPPORTED_CARD_TYPES, TEXT, TRIGGER, TYPE, VAULT_DISPLAY_STYLE, type VaultDisplayStyle, VaultDisplayWidget, WalletButtons, ZipmoneyCheckoutButton };
@@ -153,7 +153,7 @@ declare class ApiBase {
153
153
  reportEvent: ReportEventFn;
154
154
  reportError: ReportErrorFn;
155
155
  protected newApiRequest(method: Extract<HttpRequestMethod, 'GET' | 'POST'>, link: string): XMLHttpRequest;
156
- protected get ctx(): {
156
+ get ctx(): {
157
157
  sdkVersion: string;
158
158
  className: string;
159
159
  environment: string;
@@ -4752,4 +4752,27 @@ declare class PayPalSavePaymentSourceWidget {
4752
4752
  onCancel(callback?: (data?: IOnCancelEventData) => void): () => void;
4753
4753
  }
4754
4754
 
4755
+ declare global {
4756
+ interface Window {
4757
+ paydock: {
4758
+ WalletButtons: typeof WalletButtons;
4759
+ PaypalCheckoutButton: typeof PaypalCheckoutButton;
4760
+ AfterpayCheckoutButton: typeof AfterpayCheckoutButton;
4761
+ ZipmoneyCheckoutButton: typeof ZipmoneyCheckoutButton;
4762
+ PaymentSourceWidget: typeof PaymentSourceWidget;
4763
+ VaultDisplayWidget: typeof VaultDisplayWidget;
4764
+ ClickToPay: typeof ClickToPay;
4765
+ ExternalCheckoutBuilder: typeof Builder$1;
4766
+ ExternalCheckoutChecker: typeof Checker;
4767
+ PaymentSourceBuilder: typeof Builder;
4768
+ Canvas3DS: typeof Canvas3ds;
4769
+ MultiWidget: typeof MultiWidget;
4770
+ HtmlMultiWidget: typeof HtmlMultiWidget;
4771
+ HtmlWidget: typeof HtmlWidget;
4772
+ PayPalDataCollector: typeof PayPalDataCollector;
4773
+ PayPalSavePaymentSource: typeof PayPalSavePaymentSourceWidget;
4774
+ };
4775
+ }
4776
+ }
4777
+
4755
4778
  export { AfterpayCheckoutButton, Api, ApplePayWalletButtonExpress, CHECKOUT_BUTTON_EVENT, Canvas3ds, Checkout, ClickToPay, Configuration, ELEMENT, EVENT$1 as EVENT, Builder$1 as ExternalCheckoutBuilder, Checker as ExternalCheckoutChecker, FORM_FIELD, FRAUD_PREVENTION_EVENTS, type FraudPreventionEvent, type FraudPreventionEventType, type FraudPreventionProvider, FraudPreventionService, HtmlMultiWidget, HtmlPaymentSourceWidget, HtmlWidget, type ICheckout, type IClickToPayMeta, type IDetails, type IElementStyleInput, type IEventCheckoutFinishData, type IEventData, type IPayPalMeta, type IStyles$1 as IStyles, type ITexts, type IWalletMeta, type IWalletOnClickEvent, type IWalletPaymentSuccessfulEvent, type IWalletUnavailableEvent, type IWalletUpdateData, type IWalletUpdateEvent, InstructionDebugger, MultiWidget, PAYMENT_TYPE, PURPOSE, PayPalDataCollector, PayPalSavePaymentSourceWidget, Builder as PaymentSourceBuilder, PaymentSourceWidget, PaypalCheckoutButton, PaypalWalletButtonExpress, STYLABLE_ELEMENT, STYLABLE_ELEMENT_STATE, STYLE, SUPPORTED_CARD_TYPES, TEXT, TRIGGER, TYPE, VAULT_DISPLAY_STYLE, type VaultDisplayStyle, VaultDisplayWidget, WalletButtons, ZipmoneyCheckoutButton };