@bigcommerce/checkout-sdk 1.486.0 → 1.487.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 +8 -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/GooglePayCustomerInitializeOptions.md +16 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions_2.md +13 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -5299,6 +5299,10 @@ declare interface GooglePayCustomerInitializeOptions {
|
|
|
5299
5299
|
* short: Google Pay payment button without the "Buy with" text.
|
|
5300
5300
|
*/
|
|
5301
5301
|
buttonType?: ButtonType;
|
|
5302
|
+
/**
|
|
5303
|
+
* Callback that gets called on google pay button click
|
|
5304
|
+
*/
|
|
5305
|
+
onClick?(): void;
|
|
5302
5306
|
}
|
|
5303
5307
|
|
|
5304
5308
|
declare interface GooglePayCustomerInitializeOptions_2 {
|
|
@@ -5334,6 +5338,10 @@ declare interface GooglePayCustomerInitializeOptions_2 {
|
|
|
5334
5338
|
* @param error - The error object describing the failure.
|
|
5335
5339
|
*/
|
|
5336
5340
|
onError?(error: Error): void;
|
|
5341
|
+
/**
|
|
5342
|
+
* Callback that get called on wallet button click
|
|
5343
|
+
*/
|
|
5344
|
+
onClick?(): void;
|
|
5337
5345
|
}
|
|
5338
5346
|
|
|
5339
5347
|
/**
|