@bigcommerce/checkout-sdk 1.322.0 → 1.323.1

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.
@@ -1176,11 +1176,6 @@ declare interface BaseCustomerInitializeOptions extends CustomerRequestOptions {
1176
1176
  * They can be omitted unless you need to support GooglePay.
1177
1177
  */
1178
1178
  googlepaystripeupe?: GooglePayCustomerInitializeOptions;
1179
- /**
1180
- * The options that are required to initialize the PayPalCommerce payment method.
1181
- * They can be omitted unless you need to support PayPalCommerce.
1182
- */
1183
- paypalcommerce?: PaypalCommerceCustomerInitializeOptions;
1184
1179
  /**
1185
1180
  * The options that are required to initialize the Customer Stripe Upe payment method.
1186
1181
  * They can be omitted unless you need to support Customer Stripe Upe.
@@ -4964,6 +4959,12 @@ declare interface GooglePayButtonInitializeOptions {
4964
4959
  * short: Google Pay payment button without the "Buy with" text.
4965
4960
  */
4966
4961
  buttonType?: ButtonType;
4962
+ /**
4963
+ * The options that are required to initialize Buy Now functionality.
4964
+ */
4965
+ buyNowInitializeOptions?: {
4966
+ getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
4967
+ };
4967
4968
  }
4968
4969
 
4969
4970
  declare interface GooglePayCustomerInitializeOptions {
@@ -6345,28 +6346,6 @@ declare interface PaypalCommerceCreditCardPaymentInitializeOptions {
6345
6346
  form: PaypalCommerceFormOptions;
6346
6347
  }
6347
6348
 
6348
- /**
6349
- * A set of options that are required to initialize the customer step of
6350
- * checkout to support PayPalCommerce.
6351
- */
6352
- declare interface PaypalCommerceCustomerInitializeOptions {
6353
- /**
6354
- * The ID of a container which the checkout button should be inserted into.
6355
- */
6356
- container: string;
6357
- /**
6358
- * A callback that gets called if unable to initialize the widget or select
6359
- * one of the address options provided by the widget.
6360
- *
6361
- * @param error - The error object describing the failure.
6362
- */
6363
- onError?(error?: Error): void;
6364
- /**
6365
- * A callback that gets called when payment complete on paypal side.
6366
- */
6367
- onComplete?(): void;
6368
- }
6369
-
6370
6349
  declare type PaypalCommerceFormFieldBlurEventData = PaypalCommerceFormFieldKeyboardEventData;
6371
6350
 
6372
6351
  declare interface PaypalCommerceFormFieldCardTypeChangeEventData {