@bigcommerce/checkout-sdk 1.945.0 → 1.946.0
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/dist/cjs/checkout-button.js +1 -1
- package/dist/cjs/checkout-sdk-essential.js +1 -1
- package/dist/cjs/checkout-sdk.js +1 -1
- package/dist/cjs/hosted-form-v2-iframe-host.js +1 -1
- package/dist/cjs/integrations/amazon-pay.js +1 -1
- package/dist/cjs/integrations/bigcommerce-payments.js +1 -1
- package/dist/cjs/integrations/braintree.js +1 -1
- package/dist/cjs/integrations/google-pay.js +1 -1
- package/dist/cjs/integrations/klarna.js +1 -1
- package/dist/cjs/integrations/paypal-commerce.js +1 -1
- package/dist/cjs/integrations/paypal-commerce.js.map +1 -1
- package/dist/cjs/integrations/paypal-express.js +1 -1
- package/dist/cjs/integrations/zip.js +1 -1
- package/dist/cjs/wallet-button.js +1 -1
- package/dist/cjs/wallet-button.js.map +1 -1
- package/dist/esm/checkout-button.js +1 -1
- package/dist/esm/checkout-sdk-essential.js +1 -1
- package/dist/esm/checkout-sdk.js +1 -1
- package/dist/esm/hosted-form-v2-iframe-host.js +1 -1
- package/dist/esm/integrations/amazon-pay.js +1 -1
- package/dist/esm/integrations/bigcommerce-payments.js +1 -1
- package/dist/esm/integrations/braintree.js +1 -1
- package/dist/esm/integrations/google-pay.js +1 -1
- package/dist/esm/integrations/klarna.js +1 -1
- package/dist/esm/integrations/paypal-commerce.js +1 -1
- package/dist/esm/integrations/paypal-commerce.js.map +1 -1
- package/dist/esm/integrations/paypal-express.js +1 -1
- package/dist/esm/integrations/zip.js +1 -1
- package/dist/esm/wallet-button.js +1 -1
- package/dist/esm/wallet-button.js.map +1 -1
- package/dist/types/integrations/paypal-commerce.d.ts +27 -1
- package/package.json +1 -1
|
@@ -1693,6 +1693,24 @@ declare class PayPalCommerceVenmoPaymentStrategy implements PaymentStrategy {
|
|
|
1693
1693
|
private toggleLoadingIndicator;
|
|
1694
1694
|
}
|
|
1695
1695
|
|
|
1696
|
+
declare interface PayPalCommerceVenmoWalletInitializeOptions {
|
|
1697
|
+
cartId: string;
|
|
1698
|
+
currency: {
|
|
1699
|
+
code: string;
|
|
1700
|
+
};
|
|
1701
|
+
initializationData: string;
|
|
1702
|
+
clientToken: string;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
declare class PayPalCommerceVenmoWalletStrategy implements CheckoutButtonStrategy {
|
|
1706
|
+
private paypalCommerceHeadlessWalletButtonService;
|
|
1707
|
+
constructor(paypalCommerceHeadlessWalletButtonService: PaypalCommerceWalletService);
|
|
1708
|
+
initialize(options: CheckoutButtonInitializeOptions & WithPayPalCommerceVenmoWalletInitializeOptions): Promise<void>;
|
|
1709
|
+
deinitialize(): Promise<void>;
|
|
1710
|
+
private renderButton;
|
|
1711
|
+
private getValidVenmoButtonStyles;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1696
1714
|
declare interface PayPalCommerceWalletInitializeOptions {
|
|
1697
1715
|
cartId: string;
|
|
1698
1716
|
currency: {
|
|
@@ -1965,7 +1983,7 @@ declare class PaypalCommerceWalletService {
|
|
|
1965
1983
|
* Payment submitting and tokenizing methods
|
|
1966
1984
|
*
|
|
1967
1985
|
*/
|
|
1968
|
-
proxyTokenizationPayment(cartId: string, orderId?: string): Promise<void>;
|
|
1986
|
+
proxyTokenizationPayment(cartId: string, providerId: string, methodId: string, orderId?: string): Promise<void>;
|
|
1969
1987
|
createPaymentOrderIntent(providerId: string, cartId: string, options?: GraphQLRequestOptions): Promise<string>;
|
|
1970
1988
|
addBillingAddress(cartId: string, address: AddressRequestBody, options?: GraphQLRequestOptions): Promise<Response<BillingAddressResponse>>;
|
|
1971
1989
|
/**
|
|
@@ -2091,6 +2109,10 @@ declare interface WithPayPalCommerceVenmoPaymentInitializeOptions {
|
|
|
2091
2109
|
paypalcommercevenmo?: PayPalCommerceVenmoPaymentInitializeOptions;
|
|
2092
2110
|
}
|
|
2093
2111
|
|
|
2112
|
+
declare interface WithPayPalCommerceVenmoWalletInitializeOptions {
|
|
2113
|
+
paypalcommercevenmo?: PayPalCommerceVenmoWalletInitializeOptions;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2094
2116
|
declare interface WithPayPalCommerceWalletInitializeOptions {
|
|
2095
2117
|
paypalcommercepaypal?: PayPalCommerceWalletInitializeOptions;
|
|
2096
2118
|
}
|
|
@@ -2156,6 +2178,10 @@ export declare const createPayPalCommerceVenmoPaymentStrategy: import("@bigcomme
|
|
|
2156
2178
|
id: string;
|
|
2157
2179
|
}>;
|
|
2158
2180
|
|
|
2181
|
+
export declare const createPayPalCommerceVenmoWalletStrategy: import("@bigcommerce/checkout-sdk/payment-integration-api").ResolvableModule<WalletPaymentButtonStrategyFactory<PayPalCommerceVenmoWalletStrategy>, {
|
|
2182
|
+
id: string;
|
|
2183
|
+
}>;
|
|
2184
|
+
|
|
2159
2185
|
export declare const createPayPalCommerceWalletStrategy: import("@bigcommerce/checkout-sdk/payment-integration-api").ResolvableModule<WalletPaymentButtonStrategyFactory<PaypalCommerceWalletStrategy>, {
|
|
2160
2186
|
id: string;
|
|
2161
2187
|
}>;
|