@bigcommerce/checkout-sdk 1.369.2 → 1.371.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.
@@ -1370,6 +1370,18 @@ declare interface BodyStyles {
1370
1370
  backgroundColor?: string;
1371
1371
  }
1372
1372
 
1373
+ declare interface BoltButtonInitializeOptions {
1374
+ /**
1375
+ * The options that are required to initialize Buy Now functionality.
1376
+ */
1377
+ buyNowInitializeOptions?: BoltBuyNowInitializeOptions;
1378
+ }
1379
+
1380
+ declare interface BoltBuyNowInitializeOptions {
1381
+ storefrontApiToken?: string;
1382
+ getBuyNowCartRequestBody(): BuyNowCartRequestBody_2;
1383
+ }
1384
+
1373
1385
  /**
1374
1386
  * A set of options that are required to initialize the customer step of
1375
1387
  * checkout to support Bolt.
@@ -2157,7 +2169,7 @@ declare class CheckoutButtonErrorSelector {
2157
2169
  getDeinitializeButtonError(methodId?: CheckoutButtonMethodType): Error | undefined;
2158
2170
  }
2159
2171
 
2160
- declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions & WithPayPalCommerceInlineButtonInitializeOptions & WithPayPalCommerceVenmoButtonInitializeOptions;
2172
+ declare type CheckoutButtonInitializeOptions = BaseCheckoutButtonInitializeOptions & WithApplePayButtonInitializeOptions & WithBoltButtonInitializeOptions & WithPayPalCommerceButtonInitializeOptions & WithPayPalCommerceCreditButtonInitializeOptions & WithPayPalCommerceInlineButtonInitializeOptions & WithPayPalCommerceVenmoButtonInitializeOptions;
2161
2173
 
2162
2174
  declare class CheckoutButtonInitializer {
2163
2175
  private _store;
@@ -7507,6 +7519,14 @@ declare interface WithApplePayPaymentInitializeOptions {
7507
7519
  applepay?: ApplePayPaymentInitializeOptions;
7508
7520
  }
7509
7521
 
7522
+ declare interface WithBoltButtonInitializeOptions {
7523
+ /**
7524
+ * The options that are required to initialize the Bolt payment
7525
+ * method. They can be omitted unless you need to support Bolt.
7526
+ */
7527
+ bolt?: BoltButtonInitializeOptions;
7528
+ }
7529
+
7510
7530
  declare interface WithBoltPaymentInitializeOptions {
7511
7531
  /**
7512
7532
  * The options that are required to initialize the Bolt payment
@@ -7523,7 +7543,7 @@ declare interface WithBraintreePaypalCustomerInitializeOptions {
7523
7543
  braintreepaypal?: BraintreePaypalCustomerInitializeOptions;
7524
7544
  }
7525
7545
 
7526
- declare interface WithBuyNowFeature {
7546
+ declare interface WithBuyNowFeature extends AmazonPayV2ButtonConfig {
7527
7547
  /**
7528
7548
  * The options that are required to initialize Buy Now functionality.
7529
7549
  */