@bigcommerce/checkout-sdk 1.362.0 → 1.364.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 +16 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +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/dist/checkout-sdk.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { Omit as Omit_2 } from '@bigcommerce/checkout-sdk/payment-integration-ap
|
|
|
9
9
|
import { RequestOptions as RequestOptions_2 } from '@bigcommerce/request-sender';
|
|
10
10
|
import { Response } from '@bigcommerce/request-sender';
|
|
11
11
|
import { Timeout } from '@bigcommerce/request-sender';
|
|
12
|
+
import { WithAccountCreation } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
12
13
|
import { createTimeout } from '@bigcommerce/request-sender';
|
|
13
14
|
|
|
14
15
|
declare type AccountInstrument = PayPalInstrument | BankInstrument;
|
|
@@ -1144,11 +1145,6 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
1144
1145
|
* They can be omitted unless you need to support BlueSnapV2.
|
|
1145
1146
|
*/
|
|
1146
1147
|
bluesnapv2?: BlueSnapV2PaymentInitializeOptions;
|
|
1147
|
-
/**
|
|
1148
|
-
* The options that allow Bolt to load the client script and handle the checkout.
|
|
1149
|
-
* They can be omitted if Bolt's full checkout take over is intended.
|
|
1150
|
-
*/
|
|
1151
|
-
bolt?: BoltPaymentInitializeOptions;
|
|
1152
1148
|
/**
|
|
1153
1149
|
* The options that are required to initialize the Braintree payment method.
|
|
1154
1150
|
* They can be omitted unless you need to support Braintree.
|
|
@@ -6132,7 +6128,7 @@ declare interface PayPalInstrument extends BaseAccountInstrument {
|
|
|
6132
6128
|
method: 'paypal';
|
|
6133
6129
|
}
|
|
6134
6130
|
|
|
6135
|
-
declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithCreditCardPaymentInitializeOptions & WithSquareV2PaymentInitializeOptions;
|
|
6131
|
+
declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithBoltPaymentInitializeOptions & WithCreditCardPaymentInitializeOptions & WithSquareV2PaymentInitializeOptions;
|
|
6136
6132
|
|
|
6137
6133
|
declare type PaymentInstrument = CardInstrument | AccountInstrument;
|
|
6138
6134
|
|
|
@@ -7586,10 +7582,6 @@ declare interface WechatState_2 {
|
|
|
7586
7582
|
data: WechatDataPaymentMethodState_2;
|
|
7587
7583
|
}
|
|
7588
7584
|
|
|
7589
|
-
declare interface WithAccountCreation {
|
|
7590
|
-
shouldCreateAccount?: boolean;
|
|
7591
|
-
}
|
|
7592
|
-
|
|
7593
7585
|
declare interface WithAdyenV2PaymentInitializeOptions {
|
|
7594
7586
|
/**
|
|
7595
7587
|
* The options that are required to initialize the Apple Pay payment
|
|
@@ -7626,6 +7618,14 @@ declare interface WithApplePayPaymentInitializeOptions {
|
|
|
7626
7618
|
applepay?: ApplePayPaymentInitializeOptions;
|
|
7627
7619
|
}
|
|
7628
7620
|
|
|
7621
|
+
declare interface WithBoltPaymentInitializeOptions {
|
|
7622
|
+
/**
|
|
7623
|
+
* The options that are required to initialize the Bolt payment
|
|
7624
|
+
* method. They can be omitted unless you need to support Bolt.
|
|
7625
|
+
*/
|
|
7626
|
+
bolt?: BoltPaymentInitializeOptions;
|
|
7627
|
+
}
|
|
7628
|
+
|
|
7629
7629
|
declare interface WithBuyNowFeature {
|
|
7630
7630
|
/**
|
|
7631
7631
|
* The options that are required to initialize Buy Now functionality.
|