@bigcommerce/checkout-sdk 1.345.1 → 1.347.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/docs/README.md CHANGED
@@ -279,6 +279,7 @@
279
279
  - [OrderShippingConsignment](interfaces/OrderShippingConsignment.md)
280
280
  - [PasswordRequirements](interfaces/PasswordRequirements.md)
281
281
  - [PayPalButtonStyleOptions](interfaces/PayPalButtonStyleOptions.md)
282
+ - [PayPalBuyNowInitializeOptions](interfaces/PayPalBuyNowInitializeOptions.md)
282
283
  - [PayPalCommerceButtonInitializeOptions](interfaces/PayPalCommerceButtonInitializeOptions.md)
283
284
  - [PayPalCommerceCreditButtonInitializeOptions](interfaces/PayPalCommerceCreditButtonInitializeOptions.md)
284
285
  - [PayPalCommerceCreditCustomerInitializeOptions](interfaces/PayPalCommerceCreditCustomerInitializeOptions.md)
@@ -0,0 +1,21 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / PayPalBuyNowInitializeOptions
2
+
3
+ # Interface: PayPalBuyNowInitializeOptions
4
+
5
+ PayPal Commerce BuyNow
6
+
7
+ ## Table of contents
8
+
9
+ ### Methods
10
+
11
+ - [getBuyNowCartRequestBody](PayPalBuyNowInitializeOptions.md#getbuynowcartrequestbody)
12
+
13
+ ## Methods
14
+
15
+ ### getBuyNowCartRequestBody
16
+
17
+ ▸ **getBuyNowCartRequestBody**(): `default`
18
+
19
+ #### Returns
20
+
21
+ `default`
@@ -24,16 +24,10 @@ DOM. When a customer clicks on it, it will trigger Apple sheet.
24
24
 
25
25
  ### buyNowInitializeOptions
26
26
 
27
- • `Optional` **buyNowInitializeOptions**: `Object`
27
+ • `Optional` **buyNowInitializeOptions**: [`PayPalBuyNowInitializeOptions`](PayPalBuyNowInitializeOptions.md)
28
28
 
29
29
  The options that are required to initialize Buy Now functionality.
30
30
 
31
- #### Type declaration
32
-
33
- | Name | Type |
34
- | :------ | :------ |
35
- | `getBuyNowCartRequestBody?` | () => `void` \| `default` |
36
-
37
31
  ___
38
32
 
39
33
  ### currencyCode
@@ -48,6 +42,8 @@ ___
48
42
 
49
43
  • `Optional` **initializesOnCheckoutPage**: `boolean`
50
44
 
45
+ // TODO: this flag should be removed, because the strategy does not used on checkout page
46
+ // and it always equals to 'false'
51
47
  Flag which helps to detect that the strategy initializes on Checkout page.
52
48
 
53
49
  ___
@@ -16,6 +16,7 @@
16
16
  - [elementType](StripeShippingEvent.md#elementtype)
17
17
  - [empty](StripeShippingEvent.md#empty)
18
18
  - [isNewAddress](StripeShippingEvent.md#isnewaddress)
19
+ - [phoneFieldRequired](StripeShippingEvent.md#phonefieldrequired)
19
20
  - [value](StripeShippingEvent.md#value)
20
21
 
21
22
  ## Properties
@@ -56,6 +57,12 @@ ___
56
57
 
57
58
  ___
58
59
 
60
+ ### phoneFieldRequired
61
+
62
+ • **phoneFieldRequired**: `boolean`
63
+
64
+ ___
65
+
59
66
  ### value
60
67
 
61
68
  • **value**: `Object`
@@ -72,3 +79,4 @@ ___
72
79
  | `address.postal_code` | `string` |
73
80
  | `address.state` | `string` |
74
81
  | `name` | `string` |
82
+ | `phone` | `string` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.345.1",
3
+ "version": "1.347.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",