@bigcommerce/checkout-sdk 1.486.0 → 1.488.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.
@@ -853,6 +853,10 @@ declare interface ApplePayCustomerInitializeOptions {
853
853
  * @param error - The error object describing the failure.
854
854
  */
855
855
  onError?(error?: Error): void;
856
+ /**
857
+ * A callback that gets called when wallet button clicked
858
+ */
859
+ onClick?(): void;
856
860
  }
857
861
 
858
862
  /**
@@ -5299,6 +5303,10 @@ declare interface GooglePayCustomerInitializeOptions {
5299
5303
  * short: Google Pay payment button without the "Buy with" text.
5300
5304
  */
5301
5305
  buttonType?: ButtonType;
5306
+ /**
5307
+ * Callback that gets called on google pay button click
5308
+ */
5309
+ onClick?(): void;
5302
5310
  }
5303
5311
 
5304
5312
  declare interface GooglePayCustomerInitializeOptions_2 {
@@ -5334,6 +5342,10 @@ declare interface GooglePayCustomerInitializeOptions_2 {
5334
5342
  * @param error - The error object describing the failure.
5335
5343
  */
5336
5344
  onError?(error: Error): void;
5345
+ /**
5346
+ * Callback that get called on wallet button click
5347
+ */
5348
+ onClick?(): void;
5337
5349
  }
5338
5350
 
5339
5351
  /**