@bigcommerce/checkout-sdk 1.264.2 → 1.266.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 +21 -0
- 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 +2 -2
- 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/CheckoutStoreSelector.md +7 -7
- package/docs/interfaces/PaymentMethod.md +8 -2
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -5770,7 +5770,7 @@ declare interface PaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
5770
5770
|
|
|
5771
5771
|
declare type PaymentInstrument = CardInstrument | AccountInstrument;
|
|
5772
5772
|
|
|
5773
|
-
declare interface PaymentMethod {
|
|
5773
|
+
declare interface PaymentMethod<T = any> {
|
|
5774
5774
|
id: string;
|
|
5775
5775
|
config: PaymentMethodConfig;
|
|
5776
5776
|
method: string;
|
|
@@ -5780,7 +5780,7 @@ declare interface PaymentMethod {
|
|
|
5780
5780
|
gateway?: string;
|
|
5781
5781
|
logoUrl?: string;
|
|
5782
5782
|
nonce?: string;
|
|
5783
|
-
initializationData?:
|
|
5783
|
+
initializationData?: T;
|
|
5784
5784
|
returnUrl?: string;
|
|
5785
5785
|
initializationStrategy?: InitializationStrategy;
|
|
5786
5786
|
}
|