@bigcommerce/checkout-sdk 1.365.1 → 1.367.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
@@ -108,6 +108,7 @@
108
108
  - [BoltCustomerInitializeOptions](interfaces/BoltCustomerInitializeOptions.md)
109
109
  - [BoltPaymentInitializeOptions](interfaces/BoltPaymentInitializeOptions.md)
110
110
  - [BraintreeError](interfaces/BraintreeError.md)
111
+ - [BraintreeError_2](interfaces/BraintreeError_2.md)
111
112
  - [BraintreeFormFieldCardTypeChangeEventData](interfaces/BraintreeFormFieldCardTypeChangeEventData.md)
112
113
  - [BraintreeFormFieldKeyboardEventData](interfaces/BraintreeFormFieldKeyboardEventData.md)
113
114
  - [BraintreeFormFieldOptions](interfaces/BraintreeFormFieldOptions.md)
@@ -373,6 +374,7 @@
373
374
  - [WithApplePayCustomerInitializeOptions](interfaces/WithApplePayCustomerInitializeOptions.md)
374
375
  - [WithApplePayPaymentInitializeOptions](interfaces/WithApplePayPaymentInitializeOptions.md)
375
376
  - [WithBoltPaymentInitializeOptions](interfaces/WithBoltPaymentInitializeOptions.md)
377
+ - [WithBraintreePaypalCustomerInitializeOptions](interfaces/WithBraintreePaypalCustomerInitializeOptions.md)
376
378
  - [WithBuyNowFeature](interfaces/WithBuyNowFeature.md)
377
379
  - [WithCheckoutcomFawryInstrument](interfaces/WithCheckoutcomFawryInstrument.md)
378
380
  - [WithCheckoutcomSEPAInstrument](interfaces/WithCheckoutcomSEPAInstrument.md)
@@ -583,7 +585,7 @@ ___
583
585
 
584
586
  ### CustomerInitializeOptions
585
587
 
586
- Ƭ **CustomerInitializeOptions**: [`BaseCustomerInitializeOptions`](interfaces/BaseCustomerInitializeOptions.md) & [`WithApplePayCustomerInitializeOptions`](interfaces/WithApplePayCustomerInitializeOptions.md) & [`WithPayPalCommerceCustomerInitializeOptions`](interfaces/WithPayPalCommerceCustomerInitializeOptions.md) & [`WithPayPalCommerceCreditCustomerInitializeOptions`](interfaces/WithPayPalCommerceCreditCustomerInitializeOptions.md) & [`WithPayPalCommerceVenmoCustomerInitializeOptions`](interfaces/WithPayPalCommerceVenmoCustomerInitializeOptions.md)
588
+ Ƭ **CustomerInitializeOptions**: [`BaseCustomerInitializeOptions`](interfaces/BaseCustomerInitializeOptions.md) & [`WithApplePayCustomerInitializeOptions`](interfaces/WithApplePayCustomerInitializeOptions.md) & [`WithBraintreePaypalCustomerInitializeOptions`](interfaces/WithBraintreePaypalCustomerInitializeOptions.md) & [`WithPayPalCommerceCustomerInitializeOptions`](interfaces/WithPayPalCommerceCustomerInitializeOptions.md) & [`WithPayPalCommerceCreditCustomerInitializeOptions`](interfaces/WithPayPalCommerceCreditCustomerInitializeOptions.md) & [`WithPayPalCommerceVenmoCustomerInitializeOptions`](interfaces/WithPayPalCommerceVenmoCustomerInitializeOptions.md)
587
589
 
588
590
  ___
589
591
 
@@ -26,7 +26,6 @@ information in order to initialize the customer step of checkout.
26
26
 
27
27
  - [amazonpay](BaseCustomerInitializeOptions.md#amazonpay)
28
28
  - [bolt](BaseCustomerInitializeOptions.md#bolt)
29
- - [braintreepaypal](BaseCustomerInitializeOptions.md#braintreepaypal)
30
29
  - [braintreepaypalcredit](BaseCustomerInitializeOptions.md#braintreepaypalcredit)
31
30
  - [braintreevisacheckout](BaseCustomerInitializeOptions.md#braintreevisacheckout)
32
31
  - [chasepay](BaseCustomerInitializeOptions.md#chasepay)
@@ -66,15 +65,6 @@ when using Bolt.
66
65
 
67
66
  ___
68
67
 
69
- ### braintreepaypal
70
-
71
- • `Optional` **braintreepaypal**: [`BraintreePaypalCustomerInitializeOptions`](BraintreePaypalCustomerInitializeOptions.md)
72
-
73
- The options that are required to initialize the customer step of checkout
74
- when using Braintree PayPal provided.
75
-
76
- ___
77
-
78
68
  ### braintreepaypalcredit
79
69
 
80
70
  • `Optional` **braintreepaypalcredit**: [`BraintreePaypalCreditCustomerInitializeOptions`](BraintreePaypalCreditCustomerInitializeOptions.md)
@@ -0,0 +1,35 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeError_2
2
+
3
+ # Interface: BraintreeError\_2
4
+
5
+ ## Hierarchy
6
+
7
+ - `Error`
8
+
9
+ ↳ **`BraintreeError_2`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Properties
14
+
15
+ - [code](BraintreeError_2.md#code)
16
+ - [details](BraintreeError_2.md#details)
17
+ - [type](BraintreeError_2.md#type)
18
+
19
+ ## Properties
20
+
21
+ ### code
22
+
23
+ • **code**: `string`
24
+
25
+ ___
26
+
27
+ ### details
28
+
29
+ • `Optional` **details**: `unknown`
30
+
31
+ ___
32
+
33
+ ### type
34
+
35
+ • **type**: ``"CUSTOMER"`` \| ``"MERCHANT"`` \| ``"NETWORK"`` \| ``"INTERNAL"`` \| ``"UNKNOWN"``
@@ -39,7 +39,7 @@ A callback that gets called on any error instead of submit payment or authorizat
39
39
 
40
40
  | Name | Type | Description |
41
41
  | :------ | :------ | :------ |
42
- | `error` | [`BraintreeError`](BraintreeError.md) \| [`StandardError`](../classes/StandardError.md) | The error object describing the failure. |
42
+ | `error` | [`BraintreeError_2`](BraintreeError_2.md) \| `default` | The error object describing the failure. |
43
43
 
44
44
  #### Returns
45
45
 
@@ -0,0 +1,18 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / WithBraintreePaypalCustomerInitializeOptions
2
+
3
+ # Interface: WithBraintreePaypalCustomerInitializeOptions
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [braintreepaypal](WithBraintreePaypalCustomerInitializeOptions.md#braintreepaypal)
10
+
11
+ ## Properties
12
+
13
+ ### braintreepaypal
14
+
15
+ • `Optional` **braintreepaypal**: [`BraintreePaypalCustomerInitializeOptions`](BraintreePaypalCustomerInitializeOptions.md)
16
+
17
+ The options that are required to initialize the customer step of checkout
18
+ when using Braintree PayPal.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.365.1",
3
+ "version": "1.367.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",