@bigcommerce/checkout-sdk 1.301.1 → 1.302.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.
@@ -19,6 +19,7 @@ iframe has a list of shipping addresses for the customer to choose from.
19
19
 
20
20
  ### Methods
21
21
 
22
+ - [getStripeState](StripeUPEShippingInitializeOptions.md#getstripestate)
22
23
  - [getStyles](StripeUPEShippingInitializeOptions.md#getstyles)
23
24
  - [onChangeShipping](StripeUPEShippingInitializeOptions.md#onchangeshipping)
24
25
 
@@ -58,6 +59,25 @@ The identifier of the payment method.
58
59
 
59
60
  ## Methods
60
61
 
62
+ ### getStripeState
63
+
64
+ ▸ **getStripeState**(`country`, `state`): `string`
65
+
66
+ get the state code needed for shipping stripe element
67
+
68
+ #### Parameters
69
+
70
+ | Name | Type |
71
+ | :------ | :------ |
72
+ | `country` | `string` |
73
+ | `state` | `string` |
74
+
75
+ #### Returns
76
+
77
+ `string`
78
+
79
+ ___
80
+
61
81
  ### getStyles
62
82
 
63
83
  ▸ `Optional` **getStyles**(): `Object`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.301.1",
3
+ "version": "1.302.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",