@bigcommerce/checkout-sdk 1.701.2 → 1.702.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 +9 -3
- 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/extension.js +1 -1
- package/dist/extension.js.map +1 -1
- package/dist/extension.umd.js +1 -1
- package/dist/extension.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/README.md +1 -0
- package/docs/classes/CheckoutService.md +2 -2
- package/docs/enums/ExtensionCommandType.md +7 -0
- package/docs/interfaces/ExtensionCommandMap.md +7 -0
- package/docs/interfaces/ReRenderShippingForm.md +15 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -379,6 +379,7 @@
|
|
|
379
379
|
- [PickupOptionSelector](interfaces/PickupOptionSelector.md)
|
|
380
380
|
- [Promotion](interfaces/Promotion.md)
|
|
381
381
|
- [Radius](interfaces/Radius.md)
|
|
382
|
+
- [ReRenderShippingForm](interfaces/ReRenderShippingForm.md)
|
|
382
383
|
- [RecaptchaResult](interfaces/RecaptchaResult.md)
|
|
383
384
|
- [Region](interfaces/Region.md)
|
|
384
385
|
- [ReloadCheckoutCommand](interfaces/ReloadCheckoutCommand.md)
|
|
@@ -687,7 +687,7 @@ Manages the command handler for an extension.
|
|
|
687
687
|
| :------ | :------ | :------ |
|
|
688
688
|
| `extensionId` | `string` | The ID of the extension sending the command. |
|
|
689
689
|
| `command` | `T` | The command to be handled. |
|
|
690
|
-
| `handler` | (`command`: [`ExtensionCommandMap`](../interfaces/ExtensionCommandMap.md)[`T`]) => `void` | The handler function for the extension command. |
|
|
690
|
+
| `handler` | (`command`: [`ExtensionCommandMap`](../interfaces/ExtensionCommandMap.md)[`T`]) => `void` \| `Promise`<`void`\> | The handler function for the extension command. |
|
|
691
691
|
|
|
692
692
|
#### Returns
|
|
693
693
|
|
|
@@ -729,7 +729,7 @@ Manages the query handler for an extension.
|
|
|
729
729
|
| :------ | :------ | :------ |
|
|
730
730
|
| `extensionId` | `string` | The ID of the extension sending the query. |
|
|
731
731
|
| `query` | `T` | The query to be handled. |
|
|
732
|
-
| `handler` | (`command`: [`ExtensionQueryMap`](../interfaces/ExtensionQueryMap.md)[`T`]) => `void` | The handler function for the extension query. |
|
|
732
|
+
| `handler` | (`command`: [`ExtensionQueryMap`](../interfaces/ExtensionQueryMap.md)[`T`]) => `void` \| `Promise`<`void`\> | The handler function for the extension query. |
|
|
733
733
|
|
|
734
734
|
#### Returns
|
|
735
735
|
|
|
@@ -6,12 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
### Enumeration Members
|
|
8
8
|
|
|
9
|
+
- [ReRenderShippingForm](ExtensionCommandType.md#rerendershippingform)
|
|
9
10
|
- [ReloadCheckout](ExtensionCommandType.md#reloadcheckout)
|
|
10
11
|
- [SetIframeStyle](ExtensionCommandType.md#setiframestyle)
|
|
11
12
|
- [ShowLoadingIndicator](ExtensionCommandType.md#showloadingindicator)
|
|
12
13
|
|
|
13
14
|
## Enumeration Members
|
|
14
15
|
|
|
16
|
+
### ReRenderShippingForm
|
|
17
|
+
|
|
18
|
+
• **ReRenderShippingForm**
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
15
22
|
### ReloadCheckout
|
|
16
23
|
|
|
17
24
|
• **ReloadCheckout**
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
### Properties
|
|
8
8
|
|
|
9
9
|
- [EXTENSION%3ARELOAD_CHECKOUT](ExtensionCommandMap.md#extension:reload_checkout)
|
|
10
|
+
- [EXTENSION%3ARE_RENDER_SHIPPING_FORM](ExtensionCommandMap.md#extension:re_render_shipping_form)
|
|
10
11
|
- [EXTENSION%3ASET_IFRAME_STYLE](ExtensionCommandMap.md#extension:set_iframe_style)
|
|
11
12
|
- [EXTENSION%3ASHOW_LOADING_INDICATOR](ExtensionCommandMap.md#extension:show_loading_indicator)
|
|
12
13
|
|
|
@@ -18,6 +19,12 @@
|
|
|
18
19
|
|
|
19
20
|
___
|
|
20
21
|
|
|
22
|
+
### EXTENSION:RE\_RENDER\_SHIPPING\_FORM
|
|
23
|
+
|
|
24
|
+
• **EXTENSION:RE\_RENDER\_SHIPPING\_FORM**: [`ReRenderShippingForm`](ReRenderShippingForm.md)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
21
28
|
### EXTENSION:SET\_IFRAME\_STYLE
|
|
22
29
|
|
|
23
30
|
• **EXTENSION:SET\_IFRAME\_STYLE**: [`SetIframeStyleCommand`](SetIframeStyleCommand.md)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / ReRenderShippingForm
|
|
2
|
+
|
|
3
|
+
# Interface: ReRenderShippingForm
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [type](ReRenderShippingForm.md#type)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### type
|
|
14
|
+
|
|
15
|
+
• **type**: [`ReRenderShippingForm`](../enums/ExtensionCommandType.md#rerendershippingform)
|