@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.
- 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
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -3166,6 +3166,14 @@ declare class CheckoutService {
|
|
|
3166
3166
|
* @returns A promise that resolves to the current state.
|
|
3167
3167
|
*/
|
|
3168
3168
|
renderExtension(container: string, region: ExtensionRegion): Promise<CheckoutSelectors>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Clear cache for a checkout extension when removing it from UI.
|
|
3171
|
+
* This function should be used whenver an extension is removed from the UI.
|
|
3172
|
+
*
|
|
3173
|
+
* @alpha
|
|
3174
|
+
* @param region - The name of an area where the extension should be presented.
|
|
3175
|
+
*/
|
|
3176
|
+
clearExtensionCache(region: ExtensionRegion): void;
|
|
3169
3177
|
/**
|
|
3170
3178
|
* Manages the command handler for an extension.
|
|
3171
3179
|
*
|