@bigcommerce/checkout-sdk 1.731.1 → 1.732.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/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +3 -3
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +7 -0
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +1 -5
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -7943,6 +7943,8 @@ declare interface StripeShippingEvent extends StripeEvent {
|
|
|
7943
7943
|
};
|
|
7944
7944
|
}
|
|
7945
7945
|
|
|
7946
|
+
declare type StripeUPEAppearanceValues = string | string[] | number | undefined;
|
|
7947
|
+
|
|
7946
7948
|
declare interface StripeUPECustomerInitializeOptions {
|
|
7947
7949
|
/**
|
|
7948
7950
|
* The ID of a container which the stripe iframe should be inserted.
|
|
@@ -8006,9 +8008,7 @@ declare interface StripeUPEPaymentInitializeOptions {
|
|
|
8006
8008
|
/**
|
|
8007
8009
|
* Checkout styles from store theme
|
|
8008
8010
|
*/
|
|
8009
|
-
style?:
|
|
8010
|
-
[key: string]: string;
|
|
8011
|
-
};
|
|
8011
|
+
style?: Record<string, StripeUPEAppearanceValues>;
|
|
8012
8012
|
onError?(error?: Error): void;
|
|
8013
8013
|
render(): void;
|
|
8014
8014
|
initStripeElementUpdateTrigger?(updateTriggerFn: (payload: StripeElementUpdateOptions) => void): void;
|