@bigcommerce/checkout-sdk 1.283.1 → 1.284.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.
package/docs/README.md CHANGED
@@ -106,6 +106,7 @@
106
106
  - [BlockElementStyles](interfaces/BlockElementStyles.md)
107
107
  - [BlueSnapV2PaymentInitializeOptions](interfaces/BlueSnapV2PaymentInitializeOptions.md)
108
108
  - [BlueSnapV2StyleProps](interfaces/BlueSnapV2StyleProps.md)
109
+ - [BodlService](interfaces/BodlService.md)
109
110
  - [BodyStyles](interfaces/BodyStyles.md)
110
111
  - [BoltCustomerInitializeOptions](interfaces/BoltCustomerInitializeOptions.md)
111
112
  - [BoltPaymentInitializeOptions](interfaces/BoltPaymentInitializeOptions.md)
@@ -421,6 +422,7 @@
421
422
 
422
423
  ### Functions
423
424
 
425
+ - [createBodlService](README.md#createbodlservice)
424
426
  - [createCheckoutButtonInitializer](README.md#createcheckoutbuttoninitializer)
425
427
  - [createCheckoutService](README.md#createcheckoutservice)
426
428
  - [createCurrencyService](README.md#createcurrencyservice)
@@ -713,6 +715,34 @@ ___
713
715
 
714
716
  ## Functions
715
717
 
718
+ ### createBodlService
719
+
720
+ ▸ **createBodlService**(`subscribe`): [`BodlService`](interfaces/BodlService.md)
721
+
722
+ Creates an instance of `BodlService`.
723
+
724
+ **`remarks`**
725
+
726
+ ```js
727
+ const bodlService = BodlService();
728
+ bodlService.checkoutBegin();
729
+
730
+ ```
731
+
732
+ #### Parameters
733
+
734
+ | Name | Type |
735
+ | :------ | :------ |
736
+ | `subscribe` | (`subscriber`: (`state`: [`CheckoutSelectors`](interfaces/CheckoutSelectors.md)) => `void`) => `void` |
737
+
738
+ #### Returns
739
+
740
+ [`BodlService`](interfaces/BodlService.md)
741
+
742
+ an instance of `BodlService`.
743
+
744
+ ___
745
+
716
746
  ### createCheckoutButtonInitializer
717
747
 
718
748
  ▸ **createCheckoutButtonInitializer**(`options?`): [`CheckoutButtonInitializer`](classes/CheckoutButtonInitializer.md)
@@ -0,0 +1,30 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BodlService
2
+
3
+ # Interface: BodlService
4
+
5
+ ## Table of contents
6
+
7
+ ### Methods
8
+
9
+ - [checkoutBegin](BodlService.md#checkoutbegin)
10
+ - [orderPurchased](BodlService.md#orderpurchased)
11
+
12
+ ## Methods
13
+
14
+ ### checkoutBegin
15
+
16
+ ▸ **checkoutBegin**(): `void`
17
+
18
+ #### Returns
19
+
20
+ `void`
21
+
22
+ ___
23
+
24
+ ### orderPurchased
25
+
26
+ ▸ **orderPurchased**(): `void`
27
+
28
+ #### Returns
29
+
30
+ `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.283.1",
3
+ "version": "1.284.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",