@bigcommerce/checkout-sdk 1.252.0 → 1.253.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.
@@ -1305,6 +1305,15 @@ declare interface BraintreeThreeDSecureOptions {
1305
1305
  removeFrame(): void;
1306
1306
  }
1307
1307
 
1308
+ declare interface BraintreeVenmoButtonInitializeOptions {
1309
+ /**
1310
+ * A callback that gets called on any error.
1311
+ *
1312
+ * @param error - The error object describing the failure.
1313
+ */
1314
+ onError?(error: BraintreeError | StandardError): void;
1315
+ }
1316
+
1308
1317
  declare interface BraintreeVerifyPayload {
1309
1318
  nonce: string;
1310
1319
  details: {
@@ -1671,6 +1680,11 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
1671
1680
  * omitted unless you need to support Braintree Credit.
1672
1681
  */
1673
1682
  braintreepaypalcreditv2?: BraintreePaypalCreditButtonInitializeOptions;
1683
+ /**
1684
+ * The options that are required to facilitate Braintree Venmo. They can be
1685
+ * omitted unless you need to support Braintree Venmo.
1686
+ */
1687
+ braintreevenmo?: BraintreeVenmoButtonInitializeOptions;
1674
1688
  /**
1675
1689
  * The options that are required to facilitate PayPal. They can be omitted
1676
1690
  * unless you need to support Paypal.