@bigcommerce/checkout-sdk 1.371.0 → 1.371.1
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/CHANGELOG.md +7 -0
- package/dist/checkout-button.d.ts +1 -39
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +1 -39
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +1 -3
- package/docs/interfaces/PayPalButtonStyleOptions.md +0 -17
- package/package.json +1 -1
- package/docs/interfaces/PayPalCommerceInlineButtonInitializeOptions.md +0 -61
- package/docs/interfaces/WithPayPalCommerceInlineButtonInitializeOptions.md +0 -15
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -2169,7 +2169,7 @@ declare class CheckoutButtonErrorSelector {
|
|
|
2169
2169
|
getDeinitializeButtonError(methodId?: CheckoutButtonMethodType): Error | undefined;
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
2172
|
-
declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithBoltButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions &
|
|
2172
|
+
declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithBoltButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions & WithPayPalCommerceVenmoButtonInitializeOptions;
|
|
2173
2173
|
|
|
2174
2174
|
declare class CheckoutButtonInitializer {
|
|
2175
2175
|
private _store;
|
|
@@ -5995,14 +5995,6 @@ declare interface PayPalButtonStyleOptions {
|
|
|
5995
5995
|
shape?: StyleButtonShape;
|
|
5996
5996
|
height?: number;
|
|
5997
5997
|
label?: StyleButtonLabel;
|
|
5998
|
-
custom?: {
|
|
5999
|
-
label?: string;
|
|
6000
|
-
css?: {
|
|
6001
|
-
background?: string;
|
|
6002
|
-
color?: string;
|
|
6003
|
-
width?: string;
|
|
6004
|
-
};
|
|
6005
|
-
};
|
|
6006
5998
|
}
|
|
6007
5999
|
|
|
6008
6000
|
/**
|
|
@@ -6183,32 +6175,6 @@ declare interface PayPalCommerceCustomerInitializeOptions {
|
|
|
6183
6175
|
onComplete?(): void;
|
|
6184
6176
|
}
|
|
6185
6177
|
|
|
6186
|
-
/**
|
|
6187
|
-
* A set of options that are required to initialize ApplePay in cart.
|
|
6188
|
-
*
|
|
6189
|
-
* When ApplePay is initialized, an ApplePay button will be inserted into the
|
|
6190
|
-
* DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
6191
|
-
*/
|
|
6192
|
-
declare interface PayPalCommerceInlineButtonInitializeOptions {
|
|
6193
|
-
/**
|
|
6194
|
-
* A class name used to add special class for container where the button will be generated in
|
|
6195
|
-
* Default: 'PaypalCommerceInlineButton'
|
|
6196
|
-
*/
|
|
6197
|
-
buttonContainerClassName?: string;
|
|
6198
|
-
/**
|
|
6199
|
-
* A set of styling options for the checkout button.
|
|
6200
|
-
*/
|
|
6201
|
-
style?: Pick<PayPalButtonStyleOptions, 'custom'>;
|
|
6202
|
-
/**
|
|
6203
|
-
* A callback that gets called when payment complete on paypal side.
|
|
6204
|
-
*/
|
|
6205
|
-
onComplete(): void;
|
|
6206
|
-
/**
|
|
6207
|
-
* A callback that gets called on any error
|
|
6208
|
-
*/
|
|
6209
|
-
onError?(): void;
|
|
6210
|
-
}
|
|
6211
|
-
|
|
6212
6178
|
declare interface PayPalCommerceVenmoButtonInitializeOptions {
|
|
6213
6179
|
/**
|
|
6214
6180
|
* A set of styling options for the checkout button.
|
|
@@ -7604,10 +7570,6 @@ declare interface WithPayPalCommerceCustomerInitializeOptions {
|
|
|
7604
7570
|
paypalcommerce?: PayPalCommerceCustomerInitializeOptions;
|
|
7605
7571
|
}
|
|
7606
7572
|
|
|
7607
|
-
declare interface WithPayPalCommerceInlineButtonInitializeOptions {
|
|
7608
|
-
paypalcommerceinline?: PayPalCommerceInlineButtonInitializeOptions;
|
|
7609
|
-
}
|
|
7610
|
-
|
|
7611
7573
|
declare interface WithPayPalCommerceVenmoButtonInitializeOptions {
|
|
7612
7574
|
paypalcommercevenmo?: PayPalCommerceVenmoButtonInitializeOptions;
|
|
7613
7575
|
}
|