@bigcommerce/checkout-sdk 1.384.1 → 1.386.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/interfaces/AdyenComponentEvents_2.md +20 -0
- package/docs/interfaces/AdyenComponent_2.md +11 -0
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +24 -0
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +1 -1
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -176,6 +176,10 @@ declare interface AdyenComponentEvents_2 {
|
|
|
176
176
|
* Here you have the option to override your main Adyen Checkout configuration.
|
|
177
177
|
*/
|
|
178
178
|
onChange?(state: AdyenV3ComponentState, component: AdyenComponent_2): void;
|
|
179
|
+
/**
|
|
180
|
+
* Called when the shopper selects the Pay button and payment details are valid.
|
|
181
|
+
*/
|
|
182
|
+
onSubmit?(state: AdyenV3ComponentState, component: AdyenComponent_2): void;
|
|
179
183
|
/**
|
|
180
184
|
* Called in case of an invalid card number, invalid expiry date, or
|
|
181
185
|
* incomplete field. Called again when errors are cleared.
|
|
@@ -196,6 +200,7 @@ declare interface AdyenComponent_2 {
|
|
|
196
200
|
state?: CardState_2;
|
|
197
201
|
mount(containerId: string): HTMLElement;
|
|
198
202
|
unmount(): void;
|
|
203
|
+
submit(): void;
|
|
199
204
|
}
|
|
200
205
|
|
|
201
206
|
declare interface AdyenCreditCardComponentOptions extends AdyenBaseCardComponentOptions, AdyenComponentEvents {
|