@bigcommerce/checkout-sdk 1.696.2 → 1.697.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/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +8 -0
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/classes/CheckoutService.md +22 -0
- package/package.json +1 -1
|
@@ -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)\>
|