@bigcommerce/checkout-sdk 1.357.1 → 1.358.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 +19 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +12 -1
- 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/interfaces/BraintreePaypalCreditCustomerInitializeOptions.md +7 -0
- package/docs/interfaces/BraintreePaypalCustomerInitializeOptions.md +7 -0
- package/docs/interfaces/StripeShippingEvent.md +37 -2
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -1706,6 +1706,7 @@ declare interface BraintreePaypalCreditCustomerInitializeOptions {
|
|
|
1706
1706
|
* The ID of a container which the checkout button should be inserted into.
|
|
1707
1707
|
*/
|
|
1708
1708
|
container: string;
|
|
1709
|
+
buttonHeight?: number;
|
|
1709
1710
|
/**
|
|
1710
1711
|
* A callback that gets called on any error instead of submit payment or authorization errors.
|
|
1711
1712
|
*
|
|
@@ -1719,6 +1720,7 @@ declare interface BraintreePaypalCustomerInitializeOptions {
|
|
|
1719
1720
|
* The ID of a container which the checkout button should be inserted into.
|
|
1720
1721
|
*/
|
|
1721
1722
|
container: string;
|
|
1723
|
+
buttonHeight?: number;
|
|
1722
1724
|
/**
|
|
1723
1725
|
* A callback that gets called on any error instead of submit payment or authorization errors.
|
|
1724
1726
|
*
|
|
@@ -7181,6 +7183,7 @@ declare interface StripeEvent {
|
|
|
7181
7183
|
declare type StripeEventType = StripeShippingEvent | StripeCustomerEvent;
|
|
7182
7184
|
|
|
7183
7185
|
declare interface StripeShippingEvent extends StripeEvent {
|
|
7186
|
+
mode?: string;
|
|
7184
7187
|
isNewAddress?: boolean;
|
|
7185
7188
|
phoneFieldRequired: boolean;
|
|
7186
7189
|
value: {
|
|
@@ -7192,9 +7195,17 @@ declare interface StripeShippingEvent extends StripeEvent {
|
|
|
7192
7195
|
postal_code: string;
|
|
7193
7196
|
state: string;
|
|
7194
7197
|
};
|
|
7195
|
-
name
|
|
7198
|
+
name?: string;
|
|
7199
|
+
firstName?: string;
|
|
7200
|
+
lastName?: string;
|
|
7201
|
+
phone?: string;
|
|
7202
|
+
};
|
|
7203
|
+
fields?: {
|
|
7196
7204
|
phone: string;
|
|
7197
7205
|
};
|
|
7206
|
+
display?: {
|
|
7207
|
+
name: string;
|
|
7208
|
+
};
|
|
7198
7209
|
}
|
|
7199
7210
|
|
|
7200
7211
|
declare interface StripeUPECustomerInitializeOptions {
|