@bigcommerce/checkout-sdk 1.310.1 → 1.310.2
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 +7 -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 +9 -3
- 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 -2
- package/docs/interfaces/BasePaymentInitializeOptions.md +1 -1
- package/docs/interfaces/{CreditCardPaymentInitializeOptions.md → CreditCardPaymentInitializeOptions_2.md} +4 -4
- package/docs/interfaces/WithCreditCardPaymentInitializeOptions.md +15 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="applepayjs" />
|
|
2
2
|
import { CardClassSelectors } from '@square/web-payments-sdk-types';
|
|
3
|
+
import { CreditCardPaymentInitializeOptions } from '@bigcommerce/checkout-sdk/credit-card-integration';
|
|
4
|
+
import { HostedFormOptions as HostedFormOptions_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
3
5
|
import { Omit as Omit_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
4
6
|
import { RequestOptions as RequestOptions_2 } from '@bigcommerce/request-sender';
|
|
5
7
|
import { Response } from '@bigcommerce/request-sender';
|
|
@@ -4377,8 +4379,8 @@ declare interface CreditCardInstrument {
|
|
|
4377
4379
|
* });
|
|
4378
4380
|
* ```
|
|
4379
4381
|
*/
|
|
4380
|
-
declare interface
|
|
4381
|
-
form:
|
|
4382
|
+
declare interface CreditCardPaymentInitializeOptions_2 {
|
|
4383
|
+
form: HostedFormOptions_2;
|
|
4382
4384
|
}
|
|
4383
4385
|
|
|
4384
4386
|
declare interface CreditCardPlaceHolder {
|
|
@@ -5999,7 +6001,7 @@ declare interface PayPalInstrument extends BaseAccountInstrument {
|
|
|
5999
6001
|
method: 'paypal';
|
|
6000
6002
|
}
|
|
6001
6003
|
|
|
6002
|
-
declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithSquareV2PaymentInitializeOptions;
|
|
6004
|
+
declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithCreditCardPaymentInitializeOptions & WithSquareV2PaymentInitializeOptions;
|
|
6003
6005
|
|
|
6004
6006
|
declare type PaymentInstrument = CardInstrument | AccountInstrument;
|
|
6005
6007
|
|
|
@@ -7631,6 +7633,10 @@ declare interface WithCheckoutcomiDealInstrument {
|
|
|
7631
7633
|
bic: string;
|
|
7632
7634
|
}
|
|
7633
7635
|
|
|
7636
|
+
declare interface WithCreditCardPaymentInitializeOptions {
|
|
7637
|
+
creditCard?: CreditCardPaymentInitializeOptions_2;
|
|
7638
|
+
}
|
|
7639
|
+
|
|
7634
7640
|
declare interface WithDocumentInstrument {
|
|
7635
7641
|
ccDocument: string;
|
|
7636
7642
|
}
|