@bigcommerce/checkout-sdk 1.382.0 → 1.382.1
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/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +8 -8
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/docs/README.md +2 -2
- package/docs/interfaces/{BraintreeAchInstrument.md → AchInstrument.md} +11 -11
- package/docs/interfaces/BaseAccountInstrument.md +2 -2
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -15,7 +15,14 @@ import { WithAccountCreation } from '@bigcommerce/checkout-sdk/payment-integrati
|
|
|
15
15
|
import { WithBankAccountInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
16
16
|
import { createTimeout } from '@bigcommerce/request-sender';
|
|
17
17
|
|
|
18
|
-
declare type AccountInstrument = PayPalInstrument | BankInstrument |
|
|
18
|
+
declare type AccountInstrument = PayPalInstrument | BankInstrument | AchInstrument;
|
|
19
|
+
|
|
20
|
+
declare interface AchInstrument extends BaseAccountInstrument {
|
|
21
|
+
issuer: string;
|
|
22
|
+
accountNumber: string;
|
|
23
|
+
type: 'bank';
|
|
24
|
+
method: 'ach';
|
|
25
|
+
}
|
|
19
26
|
|
|
20
27
|
declare interface Address extends AddressRequestBody {
|
|
21
28
|
country: string;
|
|
@@ -1469,13 +1476,6 @@ declare interface BoltPaymentInitializeOptions {
|
|
|
1469
1476
|
onPaymentSelect?(hasBoltAccount: boolean): void;
|
|
1470
1477
|
}
|
|
1471
1478
|
|
|
1472
|
-
declare interface BraintreeAchInstrument extends BaseAccountInstrument {
|
|
1473
|
-
issuer: string;
|
|
1474
|
-
accountNumber: string;
|
|
1475
|
-
type: 'bank';
|
|
1476
|
-
method: 'ach';
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
1479
|
declare interface BraintreeError extends Error {
|
|
1480
1480
|
type: 'CUSTOMER' | 'MERCHANT' | 'NETWORK' | 'INTERNAL' | 'UNKNOWN';
|
|
1481
1481
|
code: string;
|