@bigcommerce/checkout-sdk 1.696.2 → 1.696.3

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.
@@ -21,6 +21,7 @@ retrieve the current checkout state and subscribe to its changes.
21
21
  - [applyStoreCredit](CheckoutService.md#applystorecredit)
22
22
  - [assignItemsToAddress](CheckoutService.md#assignitemstoaddress)
23
23
  - [clearError](CheckoutService.md#clearerror)
24
+ - [clearExtensionCache](CheckoutService.md#clearextensioncache)
24
25
  - [continueAsGuest](CheckoutService.md#continueasguest)
25
26
  - [createConsignments](CheckoutService.md#createconsignments)
26
27
  - [createCustomerAccount](CheckoutService.md#createcustomeraccount)
@@ -214,6 +215,27 @@ A promise that resolves to the current state.
214
215
 
215
216
  ___
216
217
 
218
+ ### clearExtensionCache
219
+
220
+ ▸ **clearExtensionCache**(`region`): `void`
221
+
222
+ Clear cache for a checkout extension when removing it from UI.
223
+ This function should be used whenver an extension is removed from the UI.
224
+
225
+ **`alpha`**
226
+
227
+ #### Parameters
228
+
229
+ | Name | Type | Description |
230
+ | :------ | :------ | :------ |
231
+ | `region` | [`ExtensionRegion`](../enums/ExtensionRegion.md) | The name of an area where the extension should be presented. |
232
+
233
+ #### Returns
234
+
235
+ `void`
236
+
237
+ ___
238
+
217
239
  ### continueAsGuest
218
240
 
219
241
  ▸ **continueAsGuest**(`credentials`, `options?`): `Promise`<[`CheckoutSelectors`](../interfaces/CheckoutSelectors.md)\>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.696.2",
3
+ "version": "1.696.3",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",