@bigcommerce/checkout-sdk 1.553.1 → 1.555.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 +5 -0
- 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 -0
- package/docs/interfaces/StripeElementUpdateOptions.md +15 -0
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +17 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -8768,6 +8768,10 @@ declare interface StripeElementStyleVariant extends StripeElementCSSProperties {
|
|
|
8768
8768
|
};
|
|
8769
8769
|
}
|
|
8770
8770
|
|
|
8771
|
+
declare interface StripeElementUpdateOptions {
|
|
8772
|
+
shouldShowTerms?: boolean;
|
|
8773
|
+
}
|
|
8774
|
+
|
|
8771
8775
|
declare interface StripeEvent {
|
|
8772
8776
|
complete: boolean;
|
|
8773
8777
|
elementType: string;
|
|
@@ -8870,6 +8874,7 @@ declare interface StripeUPEPaymentInitializeOptions {
|
|
|
8870
8874
|
};
|
|
8871
8875
|
onError?(error?: Error): void;
|
|
8872
8876
|
render(): void;
|
|
8877
|
+
initStripeElementUpdateTrigger?(updateTriggerFn: (payload: StripeElementUpdateOptions) => void): void;
|
|
8873
8878
|
}
|
|
8874
8879
|
|
|
8875
8880
|
/**
|