@bigcommerce/checkout-sdk 1.713.0 → 1.713.1

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.
@@ -22,6 +22,7 @@ iframe has a list of shipping addresses for the customer to choose from.
22
22
  - [getStripeState](StripeUPEShippingInitializeOptions.md#getstripestate)
23
23
  - [getStyles](StripeUPEShippingInitializeOptions.md#getstyles)
24
24
  - [onChangeShipping](StripeUPEShippingInitializeOptions.md#onchangeshipping)
25
+ - [setStripeExperiments](StripeUPEShippingInitializeOptions.md#setstripeexperiments)
25
26
 
26
27
  ## Properties
27
28
 
@@ -61,7 +62,7 @@ The identifier of the payment method.
61
62
 
62
63
  ### getStripeState
63
64
 
64
- ▸ **getStripeState**(`country`, `state`): `string`
65
+ ▸ **getStripeState**(`country`, `state`, `isStripeStateMappingDisabledForES?`): `string`
65
66
 
66
67
  get the state code needed for shipping stripe element
67
68
 
@@ -71,6 +72,7 @@ get the state code needed for shipping stripe element
71
72
  | :------ | :------ |
72
73
  | `country` | `string` |
73
74
  | `state` | `string` |
75
+ | `isStripeStateMappingDisabledForES?` | `boolean` |
74
76
 
75
77
  #### Returns
76
78
 
@@ -105,3 +107,24 @@ A callback that gets called whenever the Stripe Link Shipping Element's object i
105
107
  #### Returns
106
108
 
107
109
  `void`
110
+
111
+ ___
112
+
113
+ ### setStripeExperiments
114
+
115
+ ▸ `Optional` **setStripeExperiments**(`experiments`): `void`
116
+
117
+ Set the Stripe experiments to be used in checkout-js components;
118
+ Stripe specific experiments broadcasts to SDK from payment provider configs request.
119
+
120
+ #### Parameters
121
+
122
+ | Name | Type |
123
+ | :------ | :------ |
124
+ | `experiments` | `Record`<`string`, `boolean`\> |
125
+
126
+ #### Returns
127
+
128
+ `void`
129
+
130
+ void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.713.0",
3
+ "version": "1.713.1",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",