@bigcommerce/checkout-sdk 1.361.1 → 1.363.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/CHANGELOG.md +14 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +10 -10
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +3 -3
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/docs/interfaces/OrderPaymentRequestBody.md +1 -1
- package/docs/interfaces/WithBoltPaymentInitializeOptions.md +18 -0
- package/package.json +1 -1
- package/docs/interfaces/WithAccountCreation.md +0 -15
package/docs/README.md
CHANGED
|
@@ -366,12 +366,12 @@
|
|
|
366
366
|
- [WechatDataPaymentMethodState_2](interfaces/WechatDataPaymentMethodState_2.md)
|
|
367
367
|
- [WechatState](interfaces/WechatState.md)
|
|
368
368
|
- [WechatState_2](interfaces/WechatState_2.md)
|
|
369
|
-
- [WithAccountCreation](interfaces/WithAccountCreation.md)
|
|
370
369
|
- [WithAdyenV2PaymentInitializeOptions](interfaces/WithAdyenV2PaymentInitializeOptions.md)
|
|
371
370
|
- [WithAdyenV3PaymentInitializeOptions](interfaces/WithAdyenV3PaymentInitializeOptions.md)
|
|
372
371
|
- [WithApplePayButtonInitializeOptions](interfaces/WithApplePayButtonInitializeOptions.md)
|
|
373
372
|
- [WithApplePayCustomerInitializeOptions](interfaces/WithApplePayCustomerInitializeOptions.md)
|
|
374
373
|
- [WithApplePayPaymentInitializeOptions](interfaces/WithApplePayPaymentInitializeOptions.md)
|
|
374
|
+
- [WithBoltPaymentInitializeOptions](interfaces/WithBoltPaymentInitializeOptions.md)
|
|
375
375
|
- [WithBuyNowFeature](interfaces/WithBuyNowFeature.md)
|
|
376
376
|
- [WithCheckoutcomFawryInstrument](interfaces/WithCheckoutcomFawryInstrument.md)
|
|
377
377
|
- [WithCheckoutcomSEPAInstrument](interfaces/WithCheckoutcomSEPAInstrument.md)
|
|
@@ -689,7 +689,7 @@ ___
|
|
|
689
689
|
|
|
690
690
|
### OrderPaymentInstrument
|
|
691
691
|
|
|
692
|
-
Ƭ **OrderPaymentInstrument**: [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) \| [`HostedInstrument`](interfaces/HostedInstrument.md) \| [`HostedCreditCardInstrument`](README.md#hostedcreditcardinstrument) \| [`HostedVaultedInstrument`](README.md#hostedvaultedinstrument) \| [`NonceInstrument`](interfaces/NonceInstrument.md) \| [`VaultedInstrument`](interfaces/VaultedInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithDocumentInstrument`](interfaces/WithDocumentInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomFawryInstrument`](interfaces/WithCheckoutcomFawryInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomSEPAInstrument`](interfaces/WithCheckoutcomSEPAInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomiDealInstrument`](interfaces/WithCheckoutcomiDealInstrument.md) \| [`HostedInstrument`](interfaces/HostedInstrument.md) & [`WithMollieIssuerInstrument`](interfaces/WithMollieIssuerInstrument.md) \|
|
|
692
|
+
Ƭ **OrderPaymentInstrument**: [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) \| [`HostedInstrument`](interfaces/HostedInstrument.md) \| [`HostedCreditCardInstrument`](README.md#hostedcreditcardinstrument) \| [`HostedVaultedInstrument`](README.md#hostedvaultedinstrument) \| [`NonceInstrument`](interfaces/NonceInstrument.md) \| [`VaultedInstrument`](interfaces/VaultedInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithDocumentInstrument`](interfaces/WithDocumentInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomFawryInstrument`](interfaces/WithCheckoutcomFawryInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomSEPAInstrument`](interfaces/WithCheckoutcomSEPAInstrument.md) \| [`CreditCardInstrument`](interfaces/CreditCardInstrument.md) & [`WithCheckoutcomiDealInstrument`](interfaces/WithCheckoutcomiDealInstrument.md) \| [`HostedInstrument`](interfaces/HostedInstrument.md) & [`WithMollieIssuerInstrument`](interfaces/WithMollieIssuerInstrument.md) \| `WithAccountCreation`
|
|
693
693
|
|
|
694
694
|
___
|
|
695
695
|
|
|
@@ -701,7 +701,7 @@ ___
|
|
|
701
701
|
|
|
702
702
|
### PaymentInitializeOptions
|
|
703
703
|
|
|
704
|
-
Ƭ **PaymentInitializeOptions**: [`BasePaymentInitializeOptions`](interfaces/BasePaymentInitializeOptions.md) & [`WithAdyenV2PaymentInitializeOptions`](interfaces/WithAdyenV2PaymentInitializeOptions.md) & [`WithAdyenV3PaymentInitializeOptions`](interfaces/WithAdyenV3PaymentInitializeOptions.md) & [`WithApplePayPaymentInitializeOptions`](interfaces/WithApplePayPaymentInitializeOptions.md) & [`WithCreditCardPaymentInitializeOptions`](interfaces/WithCreditCardPaymentInitializeOptions.md) & [`WithSquareV2PaymentInitializeOptions`](interfaces/WithSquareV2PaymentInitializeOptions.md)
|
|
704
|
+
Ƭ **PaymentInitializeOptions**: [`BasePaymentInitializeOptions`](interfaces/BasePaymentInitializeOptions.md) & [`WithAdyenV2PaymentInitializeOptions`](interfaces/WithAdyenV2PaymentInitializeOptions.md) & [`WithAdyenV3PaymentInitializeOptions`](interfaces/WithAdyenV3PaymentInitializeOptions.md) & [`WithApplePayPaymentInitializeOptions`](interfaces/WithApplePayPaymentInitializeOptions.md) & [`WithBoltPaymentInitializeOptions`](interfaces/WithBoltPaymentInitializeOptions.md) & [`WithCreditCardPaymentInitializeOptions`](interfaces/WithCreditCardPaymentInitializeOptions.md) & [`WithSquareV2PaymentInitializeOptions`](interfaces/WithSquareV2PaymentInitializeOptions.md)
|
|
705
705
|
|
|
706
706
|
___
|
|
707
707
|
|
|
@@ -17,7 +17,6 @@ current checkout flow.
|
|
|
17
17
|
|
|
18
18
|
- [amazonpay](BasePaymentInitializeOptions.md#amazonpay)
|
|
19
19
|
- [bluesnapv2](BasePaymentInitializeOptions.md#bluesnapv2)
|
|
20
|
-
- [bolt](BasePaymentInitializeOptions.md#bolt)
|
|
21
20
|
- [braintree](BasePaymentInitializeOptions.md#braintree)
|
|
22
21
|
- [braintreevisacheckout](BasePaymentInitializeOptions.md#braintreevisacheckout)
|
|
23
22
|
- [chasepay](BasePaymentInitializeOptions.md#chasepay)
|
|
@@ -70,15 +69,6 @@ They can be omitted unless you need to support BlueSnapV2.
|
|
|
70
69
|
|
|
71
70
|
___
|
|
72
71
|
|
|
73
|
-
### bolt
|
|
74
|
-
|
|
75
|
-
• `Optional` **bolt**: [`BoltPaymentInitializeOptions`](BoltPaymentInitializeOptions.md)
|
|
76
|
-
|
|
77
|
-
The options that allow Bolt to load the client script and handle the checkout.
|
|
78
|
-
They can be omitted if Bolt's full checkout take over is intended.
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
72
|
### braintree
|
|
83
73
|
|
|
84
74
|
• `Optional` **braintree**: [`BraintreePaymentInitializeOptions`](BraintreePaymentInitializeOptions.md)
|
|
@@ -33,7 +33,7 @@ ___
|
|
|
33
33
|
|
|
34
34
|
### paymentData
|
|
35
35
|
|
|
36
|
-
• `Optional` **paymentData**: [`CreditCardInstrument`](CreditCardInstrument.md) \| [`HostedInstrument`](HostedInstrument.md) \| [`VaultedInstrument`](VaultedInstrument.md) \| [`NonceInstrument`](NonceInstrument.md) \| `Pick`<[`CreditCardInstrument`](CreditCardInstrument.md), ``"ccCustomerCode"`` \| ``"shouldSaveInstrument"`` \| ``"shouldSetAsDefaultInstrument"`` \| ``"extraData"`` \| ``"threeDSecure"`` \| ``"browser_info"``\> \| `Pick`<[`VaultedInstrument`](VaultedInstrument.md), ``"instrumentId"``\> \|
|
|
36
|
+
• `Optional` **paymentData**: [`CreditCardInstrument`](CreditCardInstrument.md) \| [`HostedInstrument`](HostedInstrument.md) \| [`VaultedInstrument`](VaultedInstrument.md) \| [`NonceInstrument`](NonceInstrument.md) \| `Pick`<[`CreditCardInstrument`](CreditCardInstrument.md), ``"ccCustomerCode"`` \| ``"shouldSaveInstrument"`` \| ``"shouldSetAsDefaultInstrument"`` \| ``"extraData"`` \| ``"threeDSecure"`` \| ``"browser_info"``\> \| `Pick`<[`VaultedInstrument`](VaultedInstrument.md), ``"instrumentId"``\> \| `WithAccountCreation` \| [`CreditCardInstrument`](CreditCardInstrument.md) & [`WithDocumentInstrument`](WithDocumentInstrument.md) \| [`CreditCardInstrument`](CreditCardInstrument.md) & [`WithCheckoutcomFawryInstrument`](WithCheckoutcomFawryInstrument.md) \| [`CreditCardInstrument`](CreditCardInstrument.md) & [`WithCheckoutcomSEPAInstrument`](WithCheckoutcomSEPAInstrument.md) \| [`CreditCardInstrument`](CreditCardInstrument.md) & [`WithCheckoutcomiDealInstrument`](WithCheckoutcomiDealInstrument.md) \| [`HostedInstrument`](HostedInstrument.md) & [`WithMollieIssuerInstrument`](WithMollieIssuerInstrument.md)
|
|
37
37
|
|
|
38
38
|
An object that contains the details of a credit card, vaulted payment
|
|
39
39
|
instrument or nonce instrument.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / WithBoltPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: WithBoltPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [bolt](WithBoltPaymentInitializeOptions.md#bolt)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### bolt
|
|
14
|
+
|
|
15
|
+
• `Optional` **bolt**: [`BoltPaymentInitializeOptions`](BoltPaymentInitializeOptions.md)
|
|
16
|
+
|
|
17
|
+
The options that are required to initialize the Bolt payment
|
|
18
|
+
method. They can be omitted unless you need to support Bolt.
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / WithAccountCreation
|
|
2
|
-
|
|
3
|
-
# Interface: WithAccountCreation
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [shouldCreateAccount](WithAccountCreation.md#shouldcreateaccount)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### shouldCreateAccount
|
|
14
|
-
|
|
15
|
-
• `Optional` **shouldCreateAccount**: `boolean`
|