@paydock/client-sdk 1.121.0 → 1.122.2-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 (74) hide show
  1. package/README.md +283 -1
  2. package/bundles/index.cjs +2067 -93
  3. package/bundles/index.cjs.d.ts +349 -6
  4. package/bundles/index.mjs +2067 -93
  5. package/bundles/index.mjs.d.ts +349 -6
  6. package/bundles/types/checkout/checkout.d.ts +2 -0
  7. package/bundles/types/checkout/checkout.d.ts.map +1 -1
  8. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -1
  9. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -1
  10. package/bundles/types/checkout/layout-widgets/payment-template.d.ts +1 -1
  11. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -1
  12. package/bundles/types/components/link.d.ts +1 -1
  13. package/bundles/types/components/link.d.ts.map +1 -1
  14. package/bundles/types/components/wallet-background.d.ts.map +1 -1
  15. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -1
  16. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -1
  17. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -1
  18. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -1
  19. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +70 -13
  20. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -1
  21. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +3 -1
  22. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -1
  23. package/bundles/types/wallet-buttons-express/index.d.ts +109 -1
  24. package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -1
  25. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +30 -0
  26. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -1
  27. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +2 -2
  28. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -1
  29. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +2 -2
  30. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -1
  31. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +2 -2
  32. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -1
  33. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +2 -2
  34. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -1
  35. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +2 -2
  36. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -1
  37. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +2 -2
  38. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -1
  39. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts +21 -0
  40. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -0
  41. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts +9 -0
  42. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -0
  43. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts +13 -0
  44. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -0
  45. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts +9 -0
  46. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts.map +1 -0
  47. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +2 -2
  48. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -1
  49. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +7 -0
  50. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -1
  51. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts +5 -0
  52. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts.map +1 -0
  53. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +7 -3
  54. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -1
  55. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts +5 -0
  56. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts.map +1 -0
  57. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +21 -0
  58. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -0
  59. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts +21 -0
  60. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -0
  61. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts +164 -0
  62. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts.map +1 -0
  63. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +1 -1
  64. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -1
  65. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +9 -3
  66. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -1
  67. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +6 -0
  68. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -0
  69. package/bundles/widget.umd.js +2069 -93
  70. package/bundles/widget.umd.js.d.ts +349 -6
  71. package/bundles/widget.umd.js.min.d.ts +349 -6
  72. package/bundles/widget.umd.min.js +1 -1
  73. package/docs/wallet-buttons-express.md +283 -1
  74. package/package.json +1 -1
@@ -3422,6 +3422,7 @@ interface IntentTokenPayload {
3422
3422
  intent_id: string;
3423
3423
  version: number;
3424
3424
  env_alias: string;
3425
+ whitelist_domains: string[];
3425
3426
  }
3426
3427
  /**
3427
3428
  * Class CheckoutButton transform usual button into checkout
@@ -3454,6 +3455,7 @@ declare class Checkout {
3454
3455
  finaliseCheckout(): void;
3455
3456
  private setupTimeoutTimer;
3456
3457
  private extractIntentTokenPayload;
3458
+ validateJWTWhitelistedDomains(whitelist_domains: string[]): boolean;
3457
3459
  private ready;
3458
3460
  private initContractVersion;
3459
3461
  private isTimeoutInstruction;
@@ -3506,7 +3508,9 @@ declare enum EVENT {
3506
3508
  PAYMENT_ERROR = "paymentError",
3507
3509
  PAYMENT_IN_REVIEW = "paymentInReview",
3508
3510
  ON_CLICK = "onClick",
3509
- ON_CHECKOUT_CLOSE = "onCheckoutClose"
3511
+ ON_CHECKOUT_CLOSE = "onCheckoutClose",
3512
+ ON_SHIPPING_ADDRESS_CHANGE = "onShippingAddressChange",
3513
+ ON_SHIPPING_OPTIONS_CHANGE = "onShippingOptionsChange"
3510
3514
  }
3511
3515
 
3512
3516
  interface BaseEventData<T> {
@@ -3575,6 +3579,50 @@ interface BaseGatewayConfig<T> {
3575
3579
  credentials?: T;
3576
3580
  }
3577
3581
 
3582
+ interface ChargeWalletTokenMeta {
3583
+ charge: {
3584
+ id: string;
3585
+ amount: number;
3586
+ currency: string;
3587
+ capture?: boolean;
3588
+ reference?: string;
3589
+ shipping?: {
3590
+ amount?: number;
3591
+ currency?: string;
3592
+ address_line1?: string;
3593
+ address_line2?: string;
3594
+ address_line3?: string;
3595
+ address_city?: string;
3596
+ address_postcode?: string;
3597
+ address_state?: string;
3598
+ address_country?: string;
3599
+ address_company?: string;
3600
+ address_origin_postcode?: string;
3601
+ method?: string;
3602
+ type?: string;
3603
+ options?: Array<{
3604
+ id?: string;
3605
+ label?: string;
3606
+ detail?: string;
3607
+ amount?: string;
3608
+ currency?: string;
3609
+ type?: string;
3610
+ }>;
3611
+ contact?: {
3612
+ first_name?: string;
3613
+ last_name?: string;
3614
+ email?: string;
3615
+ phone?: string;
3616
+ phone2?: string;
3617
+ };
3618
+ };
3619
+ };
3620
+ gateway: {
3621
+ mode: string;
3622
+ type: string;
3623
+ };
3624
+ }
3625
+
3578
3626
  interface BaseWalletMeta {
3579
3627
  amount: number;
3580
3628
  currency: string;
@@ -3584,14 +3632,63 @@ interface OnErrorEventData extends BaseEventData<Error> {
3584
3632
  event: EVENT.ERROR;
3585
3633
  }
3586
3634
 
3635
+ interface OnShippingAddressChangeEventData extends BaseEventData<AddressChangeEventData> {
3636
+ event: EVENT.ON_SHIPPING_ADDRESS_CHANGE;
3637
+ }
3638
+ interface AddressChangeEventData {
3639
+ address_postcode?: string;
3640
+ address_city?: string;
3641
+ address_state?: string;
3642
+ address_country?: string;
3643
+ address_line1?: string;
3644
+ address_line2?: string;
3645
+ contact?: {
3646
+ phone?: string;
3647
+ email?: string;
3648
+ first_name?: string;
3649
+ last_name?: string;
3650
+ };
3651
+ }
3652
+
3653
+ interface OnShippingOptionChangeEventData extends BaseEventData<ShippingOptionChangeEventData> {
3654
+ event: EVENT.ON_SHIPPING_OPTIONS_CHANGE;
3655
+ }
3656
+ interface ShippingOptionChangeEventData {
3657
+ shipping_option_id?: string;
3658
+ amount?: string;
3659
+ label?: string;
3660
+ detail?: string;
3661
+ }
3662
+
3663
+ interface OnShippingAddressChangeEventResponse {
3664
+ token?: string;
3665
+ error?: {
3666
+ code: 'address_error' | 'country_error' | 'state_error' | 'zip_error' | 'shipping_contact_invalid' | 'billing_contact_invalid' | string;
3667
+ field?: 'phone' | 'email' | 'name' | 'phonetic_name' | 'address_lines' | 'locality' | 'postal_code' | 'administrative_area' | 'country' | 'country_code';
3668
+ message?: string;
3669
+ };
3670
+ }
3671
+
3672
+ interface OnShippingOptionChangeEventResponse {
3673
+ token?: string;
3674
+ label?: string;
3675
+ amount?: string;
3676
+ error?: {
3677
+ code: 'method_unavailable' | 'store_unavailable' | string;
3678
+ };
3679
+ }
3680
+
3681
+ type ShippingEventToResponse<T> = T extends OnShippingAddressChangeEventData ? OnShippingAddressChangeEventResponse : T extends OnShippingOptionChangeEventData ? OnShippingOptionChangeEventResponse : never;
3682
+
3587
3683
  declare abstract class BaseWalletButton<T extends BaseWalletMeta> {
3588
3684
  protected container: Container;
3589
3685
  protected api: ApiInternal;
3590
3686
  protected env: string;
3591
3687
  protected gatewayId: string;
3592
3688
  protected meta: T;
3593
- private eventEmitter;
3594
- private chargeWalletTokenMeta?;
3689
+ protected eventEmitter: EventEmitter;
3690
+ protected chargeWalletTokenMeta?: ChargeWalletTokenMeta;
3691
+ private onShippingOptionsChangeHandlerRegistered;
3595
3692
  constructor(selector: string, publicKeyOrAccessToken: string, gatewayId: string, meta: T, requiredMetaFields: string[]);
3596
3693
  private getApiAuthType;
3597
3694
  /**
@@ -3709,6 +3806,52 @@ declare abstract class BaseWalletButton<T extends BaseWalletMeta> {
3709
3806
  * @param {OnCheckoutCloseCallback} handler - Function to be called when the wallet checkout closes.
3710
3807
  */
3711
3808
  onCheckoutClose(handler?: (err: OnCloseEventData) => void): Promise<unknown> | (() => void);
3809
+ /**
3810
+ * Callback for onShippingAddressChange method.
3811
+ *
3812
+ * @callback OnShippingAddressChangeCallback
3813
+ * @param {OnShippingAddressChangeEventData} data
3814
+ * @return {Promise<OnShippingAddressChangeEventResponse>} Address update result
3815
+ */
3816
+ /**
3817
+ * If shipping address data is updated, the function passed as parameter will be called.
3818
+ * Use this method to listen for shipping address selection or input from customer when shipping is enabled.
3819
+ * The event handler needs to return a new token in case a backend to backend wallet update call was executed.
3820
+ * In addition, if any error occured, an error string must be supplied.
3821
+ * By default, the event handler will be processed successfuly if neither token nor error is returned.
3822
+ *
3823
+ * @example
3824
+ * button.onShippingAddressChange((data) => {
3825
+ * const responseData = await fetch('https://your-server.com/update-shipping-info');
3826
+ * return { error: null, token: responseData.walletToken };
3827
+ * });
3828
+ *
3829
+ * @param {OnShippingAddressChangeCallback} [handler] - Function to be called when the shipping address data is updated.
3830
+ */
3831
+ onShippingAddressChange(handler?: (data: OnShippingAddressChangeEventData) => Promise<OnShippingAddressChangeEventResponse>): () => void;
3832
+ /**
3833
+ * Callback for onShippingOptionsChange method.
3834
+ *
3835
+ * @callback OnShippingOptionsChangeCallback
3836
+ * @param {OnShippingOptionChangeEventData} data
3837
+ * @return {Promise<OnShippingOptionChangeEventResponse>} Address update result
3838
+ */
3839
+ /**
3840
+ * If shipping options data is updated, the function passed as parameter will be called.
3841
+ * Use this method to listen for shipping option selection from customer when shipping is enabled.
3842
+ * The event handler needs to return a new token in case a backend to backend wallet update call was executed.
3843
+ * In addition, if any error occured, an error string must be supplied.
3844
+ * By default, the event handler will be processed successfuly if neither token nor error is returned.
3845
+ *
3846
+ * @example
3847
+ * button.onShippingOptionsChange((data) => {
3848
+ * const responseData = await fetch('https://your-server.com/update-shipping-info');
3849
+ * return { error: null, token: responseData.walletToken };
3850
+ * });
3851
+ *
3852
+ * @param {OnShippingOptionsChangeCallback} [handler] - Function to be called when the shipping options data is updated.
3853
+ */
3854
+ onShippingOptionsChange(handler?: (data: OnShippingOptionChangeEventData) => Promise<OnShippingOptionChangeEventResponse>): () => void;
3712
3855
  /**
3713
3856
  * Callback for onUnavailable method.
3714
3857
  *
@@ -3758,7 +3901,10 @@ declare abstract class BaseWalletButton<T extends BaseWalletMeta> {
3758
3901
  }>(data: U): Promise<T>;
3759
3902
  protected executeWalletCapture<T>(data: WalletCaptureRequest): Promise<T>;
3760
3903
  protected handleMerchantOnExpressButtonClickEvent(): Promise<void>;
3761
- private setWalletToken;
3904
+ protected handleMerchantOnShippingChangedEvent<T extends OnShippingAddressChangeEventData | OnShippingOptionChangeEventData>(eventData: T): Promise<ShippingEventToResponse<T>>;
3905
+ protected setWalletToken(token: string, opts?: {
3906
+ skipApiAuth: boolean;
3907
+ }): void;
3762
3908
  protected handleCheckoutClose(): void;
3763
3909
  protected handleOnUnavailable(): void;
3764
3910
  protected handleOnError(error?: Error): void;
@@ -3770,6 +3916,26 @@ type ApplePayButtonStyle = 'black' | 'white' | 'white-outline';
3770
3916
 
3771
3917
  type ApplePayButtonType = 'add-money' | 'book' | 'buy' | 'check-out' | 'continue' | 'contribute' | 'donate' | 'order' | 'pay' | 'plain' | 'reload' | 'rent' | 'set-up' | 'subscribe' | 'support' | 'tip' | 'top-up';
3772
3918
 
3919
+ declare enum ContactShippingEditingMode {
3920
+ AVAILABLE = "available",
3921
+ STORE_PICKUP = "store_pickup"
3922
+ }
3923
+
3924
+ interface AppleShippingType {
3925
+ contact: {
3926
+ email: string;
3927
+ phone: string;
3928
+ first_name: string;
3929
+ last_name: string;
3930
+ };
3931
+ address_line1: string;
3932
+ address_line2: string;
3933
+ address_city: string;
3934
+ address_postcode: string;
3935
+ address_state: string;
3936
+ address_country: string;
3937
+ }
3938
+
3773
3939
  interface ApplePayWalletMeta extends BaseWalletMeta {
3774
3940
  amount_label: string;
3775
3941
  country: string;
@@ -3783,6 +3949,8 @@ interface ApplePayWalletMeta extends BaseWalletMeta {
3783
3949
  button_type?: ApplePayButtonType;
3784
3950
  button_style?: ApplePayButtonStyle;
3785
3951
  };
3952
+ shipping?: AppleShippingType;
3953
+ shipping_editing_mode?: ContactShippingEditingMode;
3786
3954
  }
3787
3955
 
3788
3956
  /**
@@ -3831,6 +3999,13 @@ declare class ApplePayWalletButtonExpress extends BaseWalletButton<ApplePayWalle
3831
3999
  private onPaymentAuthorized;
3832
4000
  private formatCapabilities;
3833
4001
  private onCancelPayment;
4002
+ private parseShippingContact;
4003
+ private parseShippingMethod;
4004
+ private onApplePayShippingContactUpdate;
4005
+ private onApplePayShippingMethodUpdate;
4006
+ private parseShippingMethodUpdateEvent;
4007
+ private parseShippingContactUpdateEvent;
4008
+ private formatErrorFields;
3834
4009
  }
3835
4010
 
3836
4011
  interface PaypalWalletMeta extends BaseWalletMeta {
@@ -3864,6 +4039,169 @@ interface PaypalWalletMeta extends BaseWalletMeta {
3864
4039
  };
3865
4040
  }
3866
4041
 
4042
+ interface PayPalSDK {
4043
+ Buttons?: (options?: PayPalButtonsComponentOptions) => PayPalButtonsComponent;
4044
+ Messages?: (options?: PayPalMessagesComponentOptions) => PayPalMessagesComponent;
4045
+ FUNDING?: Record<string, FUNDING_SOURCE>;
4046
+ }
4047
+ interface PayPalButtonsComponentOptions {
4048
+ /**
4049
+ * Called on button click to set up a one-time payment. [createOrder docs](https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-reference/#createorder).
4050
+ */
4051
+ createOrder?: PayPalButtonCreateOrder;
4052
+ /**
4053
+ * Used for defining a standalone button.
4054
+ * Learn more about [configuring the funding source for standalone buttons](https://developer.paypal.com/docs/business/checkout/configure-payments/standalone-buttons/#4-funding-sources).
4055
+ */
4056
+ fundingSource?: PayPalButtonFundingSource;
4057
+ /**
4058
+ * Called when finalizing the transaction. Often used to inform the buyer that the transaction is complete. [onApprove docs](https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-reference/#onapprove).
4059
+ */
4060
+ onApprove?: PayPalButtonOnApprove;
4061
+ /**
4062
+ * Called when the buyer cancels the transaction.
4063
+ * Often used to show the buyer a [cancellation page](https://developer.paypal.com/docs/business/checkout/add-capabilities/buyer-experience/#3-show-cancellation-page).
4064
+ */
4065
+ onCancel?: PayPalButtonOnCancel;
4066
+ /**
4067
+ * Called when the button is clicked. Often used for [validation](https://developer.paypal.com/docs/checkout/integration-features/validation/).
4068
+ */
4069
+ onClick?: PayPalButtonOnClick;
4070
+ /**
4071
+ * Catch all for errors preventing buyer checkout.
4072
+ * Often used to show the buyer an [error page](https://developer.paypal.com/docs/checkout/integration-features/handle-errors/).
4073
+ */
4074
+ onError?: PayPalButtonOnError;
4075
+ /**
4076
+ * Called when the buyer selects a new shipping option on PayPal.
4077
+ */
4078
+ onShippingOptionsChange?: PayPalButtonOnShippingOptionsChange;
4079
+ /**
4080
+ * Called when the buyer updates their shipping address on PayPal.
4081
+ */
4082
+ onShippingAddressChange?: PayPalButtonOnShippingAddressChange;
4083
+ /**
4084
+ * [Styling options](https://developer.paypal.com/docs/business/checkout/reference/style-guide/#customize-the-payment-buttons) for customizing the button appearance.
4085
+ */
4086
+ style?: PayPalButtonStyle;
4087
+ }
4088
+ interface PayPalButtonsComponent {
4089
+ close: () => Promise<void>;
4090
+ isEligible: () => boolean;
4091
+ render: (container: HTMLElement | string) => Promise<void>;
4092
+ updateProps: (props: PayPalButtonsComponentOptions) => Promise<void>;
4093
+ }
4094
+ type PayPalButtonCreateOrder = (data: CreateOrderData) => Promise<string>;
4095
+ interface CreateOrderData {
4096
+ paymentSource: FUNDING_SOURCE;
4097
+ }
4098
+ type PayPalButtonFundingSource = FUNDING_SOURCE;
4099
+ type FUNDING_SOURCE = 'paypal' | 'venmo' | 'applepay' | 'itau' | 'credit' | 'paylater' | 'card' | 'ideal' | 'sepa' | 'bancontact' | 'giropay' | 'sofort' | 'eps' | 'mybank' | 'p24' | 'verkkopankki' | 'payu' | 'blik' | 'trustly' | 'zimpler' | 'maxima' | 'oxxo' | 'boletobancario' | 'wechatpay' | 'mercadopago' | 'multibanco';
4100
+ type PayPalButtonOnApprove = (data: OnApproveData) => Promise<void>;
4101
+ interface OnApproveData {
4102
+ billingToken?: string | null;
4103
+ facilitatorAccessToken?: string;
4104
+ orderID: string;
4105
+ payerID?: string | null;
4106
+ paymentID?: string | null;
4107
+ subscriptionID?: string | null;
4108
+ authCode?: string | null;
4109
+ }
4110
+ type PayPalButtonOnCancel = (data: Record<string, unknown>) => void;
4111
+ type PayPalButtonOnClick = (data: Record<string, unknown>, actions: OnClickActions) => Promise<void> | void;
4112
+ interface OnClickActions {
4113
+ reject: () => Promise<void>;
4114
+ resolve: () => Promise<void>;
4115
+ }
4116
+ type PayPalButtonOnError = (err: Record<string, unknown>) => void;
4117
+ type PayPalButtonOnShippingOptionsChange = (data: OnShippingOptionsChangeData, actions: OnShippingOptionsChangeActions) => Promise<void>;
4118
+ interface OnShippingOptionsChangeData {
4119
+ orderID?: string;
4120
+ paymentID?: string;
4121
+ paymentToken?: string;
4122
+ errors: {
4123
+ METHOD_UNAVAILABLE: string;
4124
+ STORE_UNAVAILABLE: string;
4125
+ };
4126
+ selectedShippingOption?: CheckoutShippingOption;
4127
+ }
4128
+ interface CheckoutShippingOption {
4129
+ amount: CurrencyCodeAndValue;
4130
+ id?: string;
4131
+ label: string;
4132
+ selected: boolean;
4133
+ type: 'SHIPPING' | 'PICKUP';
4134
+ }
4135
+ interface CurrencyCodeAndValue {
4136
+ currencyCode: string;
4137
+ value: string;
4138
+ }
4139
+ interface OnShippingOptionsChangeActions {
4140
+ reject: (reason?: string) => Promise<void>;
4141
+ }
4142
+ type PayPalButtonOnShippingAddressChange = (data: OnShippingAddressChangeData, actions: OnShippingAddressChangeActions) => Promise<void>;
4143
+ interface OnShippingAddressChangeData {
4144
+ amount: CurrencyCodeAndValue;
4145
+ orderID?: string;
4146
+ paymentID?: string;
4147
+ paymentToken?: string;
4148
+ errors: {
4149
+ ADDRESS_ERROR: string;
4150
+ COUNTRY_ERROR: string;
4151
+ STATE_ERROR: string;
4152
+ ZIP_ERROR: string;
4153
+ };
4154
+ shippingAddress: {
4155
+ city: string;
4156
+ state: string;
4157
+ /** The [two-character ISO 3166-1 code](/docs/integration/direct/rest/country-codes/) that identifies the country or region. */
4158
+ countryCode: string;
4159
+ /**
4160
+ * The postal code, which is the zip code or equivalent.
4161
+ * Typically required for countries with a postal code or an equivalent.
4162
+ */
4163
+ postalCode: string;
4164
+ };
4165
+ }
4166
+ interface OnShippingAddressChangeActions {
4167
+ reject: (reason?: string) => Promise<void>;
4168
+ }
4169
+ interface PayPalButtonStyle {
4170
+ borderRadius?: number;
4171
+ color?: 'gold' | 'blue' | 'silver' | 'white' | 'black';
4172
+ disableMaxWidth?: boolean;
4173
+ height?: number;
4174
+ label?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment' | 'subscribe' | 'donate';
4175
+ layout?: 'vertical' | 'horizontal';
4176
+ shape?: 'rect' | 'pill' | 'sharp';
4177
+ tagline?: boolean;
4178
+ }
4179
+ interface PayPalMessagesComponentOptions {
4180
+ amount?: number | string;
4181
+ currency?: 'USD' | 'GBP' | 'EUR';
4182
+ style?: {
4183
+ layout?: 'text' | 'flex' | 'custom';
4184
+ color?: string;
4185
+ logo?: {
4186
+ type?: 'primary' | 'alternative' | 'inline' | 'none';
4187
+ position?: 'left' | 'right' | 'top';
4188
+ };
4189
+ text?: {
4190
+ color?: 'black' | 'white' | 'monochrome' | 'grayscale';
4191
+ size?: 10 | 11 | 12 | 13 | 14 | 15 | 16;
4192
+ align?: 'left' | 'center' | 'right';
4193
+ };
4194
+ ratio?: '1x1' | '1x4' | '8x1' | '20x1';
4195
+ };
4196
+ placement?: 'home' | 'category' | 'product' | 'cart' | 'payment';
4197
+ onApply?: (data: Record<string, unknown>) => void;
4198
+ onClick?: (data: Record<string, unknown>) => void;
4199
+ onRender?: (data: Record<string, unknown>) => void;
4200
+ }
4201
+ interface PayPalMessagesComponent {
4202
+ render: (container: HTMLElement | string) => Promise<void>;
4203
+ }
4204
+
3867
4205
  /**
3868
4206
  * Class PaypalWalletButtonExpress to work with Paypal Wallet.
3869
4207
  *
@@ -3881,8 +4219,11 @@ interface PaypalWalletMeta extends BaseWalletMeta {
3881
4219
  */
3882
4220
  declare class PaypalWalletButtonExpress extends BaseWalletButton<PaypalWalletMeta> {
3883
4221
  private config;
3884
- protected paypal: any;
3885
- protected pendingApprovalPromise?: Promise<any>;
4222
+ protected paypal: PayPalSDK;
4223
+ protected pendingApprovalPromise?: Promise<{
4224
+ status: string;
4225
+ }>;
4226
+ private shippingRequested;
3886
4227
  /** @constructs */ constructor(selector: string, publicKeyOrAccessToken: string, gatewayId: string, meta: PaypalWalletMeta);
3887
4228
  /**
3888
4229
  * Initializes the availability checks and inserts the button if possible.
@@ -3906,6 +4247,8 @@ declare class PaypalWalletButtonExpress extends BaseWalletButton<PaypalWalletMet
3906
4247
  private renderPaypalCommonComponent;
3907
4248
  private renderPaypalStandaloneComponent;
3908
4249
  private paypalSharedProps;
4250
+ private handleShippingAddressUpdate;
4251
+ private handleShippingOptionsUpdate;
3909
4252
  }
3910
4253
 
3911
4254
  declare enum ErrorCodes$1 {
@@ -15,6 +15,7 @@ interface IntentTokenPayload {
15
15
  intent_id: string;
16
16
  version: number;
17
17
  env_alias: string;
18
+ whitelist_domains: string[];
18
19
  }
19
20
  export declare const SELECTORS: {
20
21
  LIST: string;
@@ -57,6 +58,7 @@ export declare class Checkout {
57
58
  finaliseCheckout(): void;
58
59
  private setupTimeoutTimer;
59
60
  private extractIntentTokenPayload;
61
+ validateJWTWhitelistedDomains(whitelist_domains: string[]): boolean;
60
62
  private ready;
61
63
  private initContractVersion;
62
64
  private isTimeoutInstruction;
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/checkout/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAiB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGjE,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACxB,MAAM,+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e;IA0B7B,gBAAgB;IA4BhB,gBAAgB;IAOvB,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,yBAAyB;IAqB1B,6BAA6B,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,OAAO;IAM1E,OAAO,CAAC,KAAK;IAqBb,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,0BAA0B;IAgBlC,OAAO,CAAC,qCAAqC;IAQ7C,OAAO,CAAC,MAAM;IAId;;;;;;;;OAQG;IACI,mBAAmB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI;IAI9D;;;;;;;;OAQG;IACI,gBAAgB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI;IAI3D;;;;;;;;OAQG;IACI,gBAAgB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI;IAIpD,qBAAqB;IAuB5B,OAAO,CAAC,SAAS;CAOpB;AAED,qBAAa,mBAAmB;gBAExB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,MAAe;CAc7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"payment-methods-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-methods-template.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,wBA8HE"}
1
+ {"version":3,"file":"payment-methods-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-methods-template.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,wBA+IE"}
@@ -1 +1 @@
1
- {"version":3,"file":"payment-methods.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-methods.ts"],"names":[],"mappings":";AAAA,OA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are const _default: "\n<style>\n @import url('https://fonts.cdnfonts.com/css/segoe-ui-4');\n @import url('https://fonts.cdnfonts.com/css/droid-sans-2');\n @import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');\n @import url('https://fonts.googleapis.com/css2?family=Cantarell&family=Fira+Sans&family=Oxygen&family=Roboto&family=Ubuntu&display=swap');\n \n /* RESET DEFAULT STYLES */\n *,\n *:before,\n *:after {\n box-sizing: border-box;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video,\n input {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n\n body {\n line-height: 1;\n }\n\n ol,\n ul {\n list-style: none;\n }\n\n ul {\n padding: 0;\n margin: 0;\n }\n\n /* MAIN STYLES */\n .wrap {\n padding: 10px;\n background-color: {{background_color}};\n }\n\n .widget-body {\n background-color: #fff;\n border: 1px solid {{border_color}};\n }\n\n .payment-source {\n padding: 1em 0.8em;\n display: flex;\n align-items: center;\n height: 70px;\n }\n\n .payment-source:not(:last-child) {\n border-bottom: 1px solid {{border_color}};\n }\n\n .payment-source__wrap {\n display: flex;\n align-items: center;\n font-family: {{font_family}};\n font-size: {{font_size}};\n color: {{text_color}}\n }\n\n .payment-source__radio {\n margin-right: 2em;\n width: 18px;\n min-width: 18px;\n height: 18px;\n border: 1px solid {{button_color}};\n border-radius: 50%;\n appearance: none;\n cursor: pointer;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source__radio::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 100%;\n background-color: #fff;\n border-radius: 50%;\n }\n\n .payment-source__radio:checked::before {\n border: 4px solid {{button_color}};\n outline: 1px solid {{button_color}};\n }\n\n .payment-source__title {\n margin-right: 2em;\n font-weight: 400;\n line-height: 1.2;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n font-size: 14px;\n }\n }\n\n .payment-source__icon {\n margin-right: 2em;\n max-height: 35px;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source .card__scheme {\n margin-left: auto;\n display: flex;\n align-items: center;\n }\n\n .payment-source .card__scheme__item:not(:last-child) {\n margin-right: 10px;\n }\n\n .payment-source .card__scheme__img {\n max-width: 50px;\n\n @media screen and (max-width: 460px) {\n max-width: 40px;\n }\n\n @media screen and (max-width: 410px) {\n max-width: 30px;\n }\n }\n\n .payment-source__form {\n margin-top: 1em;\n margin-bottom: 1em;\n margin-left: calc(2em + 18px);\n\n @media screen and (max-width: 380px) {\n margin-left: calc(1em + 18px);\n }\n }\n\n .payment-source__form .form-group:not(:last-child) {\n margin-bottom: 1.5em;\n }\n\n .payment-source__form .form-control {\n padding: 10px 2px 10px 10px;\n height: 40px;\n background: #F9F9F9;\n border: 1px solid {{border_color}};\n }\n\n .payment-source__form .form-control:not(:last-child) {\n margin-right: 1.5em;\n }\n\n .payment-source__form .form-control.col-12 {\n width: calc(100% - 1.5em);\n }\n\n .payment-source__form .form-control.col-3 {\n width: calc(33.33% - 1.5em);\n }\n\n .footer__pay-btn {\n margin-left: auto;\n padding: 10px 2em;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #F6F0EB;\n font-size: 16px;\n background-color: {{button_color}};\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 0 0 0.5px rgba(0, 0, 0, 0.10);\n border: none;\n border-radius: 6px;\n cursor: pointer;\n }\n\n .footer__pay-btn--paypal {\n padding: 5px 2em;\n background-color: #FFC43A;\n }\n\n .footer__pay-btn--gpay {\n font-size: 22px;\n }\n\n .footer__pay-btn--gpay img {\n margin-left: 5px;\n }\n\n .footer__pay-btn img {\n max-height: 100%;\n }\n</style>\n<main class=\"wrap\">\n <div class=\"widget-body\">\n <ul class=\"payment-sources__list\">\n {{paymentMethods}}\n </ul>\n </div>\n</main>\n</div>\n";
1
+ declare const _default: "\n<style>\n @import url('https://fonts.cdnfonts.com/css/segoe-ui-4');\n @import url('https://fonts.cdnfonts.com/css/droid-sans-2');\n @import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');\n @import url('https://fonts.googleapis.com/css2?family=Cantarell&family=Fira+Sans&family=Oxygen&family=Roboto&family=Ubuntu&display=swap');\n \n /* RESET DEFAULT STYLES */\n *,\n *:before,\n *:after {\n box-sizing: border-box;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video,\n input {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n\n body {\n line-height: 1;\n }\n\n ol,\n ul {\n list-style: none;\n }\n\n ul {\n padding: 0;\n margin: 0;\n }\n\n /* MAIN STYLES */\n .wrap {\n padding: 10px;\n background-color: {{background_color}};\n }\n\n .widget-body {\n background-color: #fff;\n border: 1px solid {{border_color}};\n }\n\n .payment-source {\n cursor: pointer;\n padding: 1em 0.8em;\n display: flex;\n align-items: center;\n height: 70px;\n }\n\n .payment-source:not(:last-child) {\n border-bottom: 1px solid {{border_color}};\n }\n\n .payment-source__wrap {\n display: flex;\n align-items: center;\n font-family: {{font_family}};\n font-size: {{font_size}};\n color: {{text_color}}\n }\n\n .payment-source__radio {\n margin-right: 2em;\n width: 18px;\n min-width: 18px;\n height: 18px;\n border: 1px solid {{button_color}};\n border-radius: 50%;\n appearance: none;\n cursor: pointer;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source__radio::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 100%;\n background-color: #fff;\n border-radius: 50%;\n }\n\n .payment-source__radio:checked::before {\n border: 4px solid {{button_color}};\n outline: 1px solid {{button_color}};\n }\n\n .payment-source__title {\n margin-right: 2em;\n font-weight: 400;\n line-height: 1.2;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n font-size: 14px;\n }\n }\n\n .payment-source__icon {\n margin-right: 2em;\n max-height: 35px;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source .card__scheme {\n margin-left: auto;\n display: flex;\n align-items: center;\n }\n\n .payment-source .card__scheme__item:not(:last-child) {\n margin-right: 10px;\n }\n\n .payment-source .card__scheme__img {\n max-width: 50px;\n\n @media screen and (max-width: 460px) {\n max-width: 40px;\n }\n\n @media screen and (max-width: 410px) {\n max-width: 30px;\n }\n }\n\n .payment-source__form {\n margin-top: 1em;\n margin-bottom: 1em;\n margin-left: calc(2em + 18px);\n\n @media screen and (max-width: 380px) {\n margin-left: calc(1em + 18px);\n }\n }\n\n .payment-source__form .form-group:not(:last-child) {\n margin-bottom: 1.5em;\n }\n\n .payment-source__form .form-control {\n padding: 10px 2px 10px 10px;\n height: 40px;\n background: #F9F9F9;\n border: 1px solid {{border_color}};\n }\n\n .payment-source__form .form-control:not(:last-child) {\n margin-right: 1.5em;\n }\n\n .payment-source__form .form-control.col-12 {\n width: calc(100% - 1.5em);\n }\n\n .payment-source__form .form-control.col-3 {\n width: calc(33.33% - 1.5em);\n }\n\n .footer__pay-btn {\n margin-left: auto;\n padding: 10px 2em;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #F6F0EB;\n font-size: 16px;\n background-color: {{button_color}};\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 0 0 0.5px rgba(0, 0, 0, 0.10);\n border: none;\n border-radius: 6px;\n cursor: pointer;\n }\n\n .footer__pay-btn--paypal {\n padding: 5px 2em;\n background-color: #FFC43A;\n }\n\n .footer__pay-btn--gpay {\n font-size: 22px;\n }\n\n .footer__pay-btn--gpay img {\n margin-left: 5px;\n }\n\n .footer__pay-btn img {\n max-height: 100%;\n }\n</style>\n<main class=\"wrap\">\n <div class=\"widget-body\">\n <ul class=\"payment-sources__list\">\n {{paymentMethods}}\n </ul>\n </div>\n</main>\n</div>\n";
2
2
  export default _default;
3
3
  //# sourceMappingURL=payment-template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-template.ts"],"names":[],"mappings":";AAAA,wBAmTC"}
1
+ {"version":3,"file":"payment-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-template.ts"],"names":[],"mappings":";AAAA,wBAoTC"}
@@ -5,7 +5,7 @@ export declare const VAULT_DISPLAY_WIDGET_LINK = "/vault-display";
5
5
  export declare const PAYMENT_SOURCE_LINK = "/payment-sources";
6
6
  export declare const SECURE_3D = "/3ds/webhook";
7
7
  export declare const FLYPAY_LINK = "/wallet/flypay";
8
- export declare const FLYPAY_LOGO_LINK = "/images/logo.png";
8
+ export declare const FLYPAY_LOGO_LINK = "/images/coles-pay-logo.png";
9
9
  export declare const VISA_SRC = "/secure-remote-commerce/visa";
10
10
  export declare const MESSAGE_WIDGET_LINK = "/message-widget";
11
11
  export declare const MASTERCARD_SRC = "/secure-remote-commerce/mastercard";
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/components/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AAKjD,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,SAAS,iBAAiB,CAAC;AACxC,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AACvD,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,eAAO,MAAM,cAAc,uCAAuC,CAAC;AAEnE,qBAAa,IAAI;IAEb,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;IACnB,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,OAAO,CAAM;IAC/B,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAmB;gBAGjC,YAAY,EAAE,MAAM;IAMzB,SAAS;IAIT,MAAM,IAAI,MAAM;IAWhB,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU;IAItD,YAAY,CAAC,MAAM,EAAE,OAAO;IAe5B,S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,"file":"wallet-background.d.ts","sourceRoot":"","sources":["../../src/components/wallet-background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAuD1C,qBAAa,gBAAiB,SAAQ,UAAU;IAGhC,SAAS,CAAC,UAAU,EAAE,MAAM;IAAE,SAAS,CAAC,eAAe,EAAE,OAAO;IAAU,SAAS,CAAC,kBAAkB,EAAE,OAAO;IAF3H,SAAS,CAAC,UAAU,EAAE,gBAAgB,CAAQ;gBAExB,UAAU,EAAE,MAAM,EAAY,eAAe,GAAE,OAAe,EAAY,kBAAkB,GAAE,OAAc;IAI3H,WAAW;IAOX,KAAK;IAOZ,SAAS,CAAC,cAAc,IAAI,IAAI;IAoBhC,OAAO,CAAC,iBAAiB;CAe5B"}
1
+ {"version":3,"file":"wallet-background.d.ts","sourceRoot":"","sources":["../../src/components/wallet-background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAwD1C,qBAAa,gBAAiB,SAAQ,UAAU;IAGhC,SAAS,CAAC,UAAU,EAAE,MAAM;IAAE,SAAS,CAAC,eAAe,EAAE,OAAO;IAAU,SAAS,CAAC,kBAAkB,EAAE,OAAO;IAF3H,SAAS,CAAC,UAAU,EAAE,gBAAgB,CAAQ;gBAExB,UAAU,EAAE,MAAM,EAAY,eAAe,GAAE,OAAe,EAAY,kBAAkB,GAAE,OAAc;IAI3H,WAAW;IAOX,KAAK;IAOZ,SAAS,CAAC,cAAc,IAAI,IAAI;IAoBhC,OAAO,CAAC,iBAAiB;CAe5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"afterpay.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/afterpay.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CA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;IAM/B,MAAM,CAAC,GAAG,EAAE,MAAM;IAOzB,OAAO,CAAC,KAAK;IAcb,OAAO,CAAC,uBAAuB;IAyE/B,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,SAAS;IA4BjB,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,SAAS;CAOpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"apple.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/apple.wallet-service.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAI/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAEH,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,aAAa,EAEhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,eAAe,EAAE,eAAe,CAAC;KACpC;CACJ;AAED,UAAU,kBAAkB;IACxB,eAAe,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC;IACpD,cAAc,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC;CACtD;AAID,qBAAa,kBAAmB,SAAQ,aAAc,YAAW,cAAc;IAOlB,SAAS,CAAC,WAAW,EAAE,MAAM;IAAE,SAAS,CAAC,YAAY,EAAE,YAAY;IAN5H,OAAO,CAAC,cAAc,CAAkB;IACxC,SAAS,CAAC,kCAAkC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvE,SAAS,CAAC,iCAAiC,EAAE,MAAM,IAAI,CAAC;IACxD,SAAS,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;IAC1D,SAAS,CAAC,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