@bigcommerce/checkout-sdk 1.283.0 → 1.284.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.
@@ -1053,7 +1053,7 @@ declare interface BaseCheckoutButtonInitializeOptions extends CheckoutButtonOpti
1053
1053
  * The options that are required to facilitate PayPal Commerce V2. They can be omitted
1054
1054
  * unless you need to support Paypal Commerce.
1055
1055
  */
1056
- paypalcommerce?: PaypalCommerceV2ButtonInitializeOptions;
1056
+ paypalcommerce?: PaypalCommerceButtonInitializeOptions;
1057
1057
  /**
1058
1058
  * The options that are required to facilitate PayPal Commerce. They can be omitted
1059
1059
  * unless you need to support PayPal Commerce Credit / PayLater.
@@ -1447,6 +1447,11 @@ declare interface BlueSnapV2StyleProps {
1447
1447
  width?: string;
1448
1448
  }
1449
1449
 
1450
+ declare interface BodlService {
1451
+ checkoutBegin(): void;
1452
+ orderPurchased(): void;
1453
+ }
1454
+
1450
1455
  declare interface BodyStyles {
1451
1456
  backgroundColor?: string;
1452
1457
  }
@@ -6081,9 +6086,9 @@ declare interface PaypalCommerceButtonInitializeOptions {
6081
6086
  */
6082
6087
  style?: PaypalButtonStyleOptions_2;
6083
6088
  /**
6084
- * Container id for messaging banner container
6089
+ * Flag which helps to detect that the strategy initializes on Checkout page
6085
6090
  */
6086
- messagingContainer?: string;
6091
+ initializesOnCheckoutPage?: boolean;
6087
6092
  }
6088
6093
 
6089
6094
  declare interface PaypalCommerceCreditButtonInitializeOptions {
@@ -6461,17 +6466,6 @@ declare interface PaypalCommerceStoredCardFieldsMap {
6461
6466
  [PaypalCommerceFormFieldType.CardNumberVerification]?: PaypalCommerceStoredCardFieldOptions;
6462
6467
  }
6463
6468
 
6464
- declare interface PaypalCommerceV2ButtonInitializeOptions {
6465
- /**
6466
- * A set of styling options for the checkout button.
6467
- */
6468
- style?: PaypalButtonStyleOptions_2;
6469
- /**
6470
- * Flag which helps to detect that the strategy initializes on Checkout page
6471
- */
6472
- initializesOnCheckoutPage?: boolean;
6473
- }
6474
-
6475
6469
  declare interface PaypalCommerceVenmoButtonInitializeOptions {
6476
6470
  /**
6477
6471
  * A set of styling options for the checkout button.
@@ -7468,6 +7462,22 @@ declare interface ZipCodeElementOptions {
7468
7462
  containerId: string;
7469
7463
  }
7470
7464
 
7465
+ /**
7466
+ * Creates an instance of `BodlService`.
7467
+ *
7468
+ * @remarks
7469
+ *
7470
+ * ```js
7471
+ * const bodlService = BodlService();
7472
+ * bodlService.checkoutBegin();
7473
+ *
7474
+ * ```
7475
+ *
7476
+ * @param {CheckoutService} checkoutService - An instance of CheckoutService
7477
+ * @returns an instance of `BodlService`.
7478
+ */
7479
+ export declare function createBodlService(subscribe: (subscriber: (state: CheckoutSelectors) => void) => void): BodlService;
7480
+
7471
7481
  /**
7472
7482
  * Creates an instance of `CheckoutButtonInitializer`.
7473
7483
  *