@bigcommerce/checkout-sdk 1.590.0 → 1.592.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.
@@ -15,7 +15,7 @@ checkout in order to support Braintree Fastlane.
15
15
 
16
16
  ### styles
17
17
 
18
- • `Optional` **styles**: `BraintreeConnectStylesOption`
18
+ • `Optional` **styles**: `BraintreeFastlaneStylesOption`
19
19
 
20
20
  Is a stylisation options for customizing PayPal Fastlane components
21
21
 
@@ -11,6 +11,10 @@ checkout in order to support PayPal Commerce Fastlane.
11
11
 
12
12
  - [styles](PayPalCommerceFastlaneShippingInitializeOptions.md#styles)
13
13
 
14
+ ### Methods
15
+
16
+ - [onPayPalFastlaneAddressChange](PayPalCommerceFastlaneShippingInitializeOptions.md#onpaypalfastlaneaddresschange)
17
+
14
18
  ## Properties
15
19
 
16
20
  ### styles
@@ -22,3 +26,22 @@ Is a stylisation options for customizing PayPal Fastlane components
22
26
  Note: the styles for all PayPal Commerce Fastlane strategies should be the same,
23
27
  because they will be provided to PayPal library only for the first strategy initialization
24
28
  no matter what strategy was initialised first
29
+
30
+ ## Methods
31
+
32
+ ### onPayPalFastlaneAddressChange
33
+
34
+ ▸ `Optional` **onPayPalFastlaneAddressChange**(`showPayPalFastlaneAddressSelector`): `void`
35
+
36
+ Is a callback that shows PayPal Fastlane popup with customer addresses
37
+ when get triggered
38
+
39
+ #### Parameters
40
+
41
+ | Name | Type |
42
+ | :------ | :------ |
43
+ | `showPayPalFastlaneAddressSelector` | () => `Promise`<`undefined` \| `CustomerAddress`\> |
44
+
45
+ #### Returns
46
+
47
+ `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.590.0",
3
+ "version": "1.592.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",