@bigcommerce/checkout-sdk 1.668.0 → 1.668.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/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +9 -1
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +1 -1
- package/package.json +2 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { Timeout } from '@bigcommerce/request-sender';
|
|
|
32
32
|
import { WithAccountCreation } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
33
33
|
import { WithBankAccountInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
34
34
|
import { WithEcpInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
35
|
+
import { WithPayByBankInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
35
36
|
import { WithSepaInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
36
37
|
import { createTimeout } from '@bigcommerce/request-sender';
|
|
37
38
|
|
|
@@ -5703,6 +5704,10 @@ declare interface LanguageConfig {
|
|
|
5703
5704
|
locale: string;
|
|
5704
5705
|
locales: Locales;
|
|
5705
5706
|
translations: Translations;
|
|
5707
|
+
/**
|
|
5708
|
+
* @hidden This property is intended for toggling an experimental change only.
|
|
5709
|
+
*/
|
|
5710
|
+
isCspNonceExperimentEnabled?: boolean;
|
|
5706
5711
|
}
|
|
5707
5712
|
|
|
5708
5713
|
/**
|
|
@@ -5720,6 +5725,7 @@ declare class LanguageService {
|
|
|
5720
5725
|
private _locales;
|
|
5721
5726
|
private _translations;
|
|
5722
5727
|
private _formatters;
|
|
5728
|
+
private _isCspNonceExperimentEnabled;
|
|
5723
5729
|
/**
|
|
5724
5730
|
* Remaps a set of language strings with a different set of keys.
|
|
5725
5731
|
*
|
|
@@ -5765,6 +5771,8 @@ declare class LanguageService {
|
|
|
5765
5771
|
private _flattenObject;
|
|
5766
5772
|
private _transformData;
|
|
5767
5773
|
private _hasTranslations;
|
|
5774
|
+
private _isFormatError;
|
|
5775
|
+
private _escapeSpecialCharacters;
|
|
5768
5776
|
}
|
|
5769
5777
|
|
|
5770
5778
|
declare interface LineItem {
|
|
@@ -6195,7 +6203,7 @@ declare interface OrderPayment {
|
|
|
6195
6203
|
amount: number;
|
|
6196
6204
|
}
|
|
6197
6205
|
|
|
6198
|
-
declare type OrderPaymentInstrument = WithBankAccountInstrument | WithEcpInstrument | WithSepaInstrument | WithIdealInstrument | CreditCardInstrument | HostedInstrument | HostedCreditCardInstrument | HostedVaultedInstrument | NonceInstrument | VaultedInstrument | (CreditCardInstrument & WithDocumentInstrument) | (CreditCardInstrument & WithCheckoutcomFawryInstrument) | (CreditCardInstrument & WithCheckoutcomSEPAInstrument) | (CreditCardInstrument & WithIdealInstrument) | (HostedInstrument & WithMollieIssuerInstrument) | WithAccountCreation;
|
|
6206
|
+
declare type OrderPaymentInstrument = WithBankAccountInstrument | WithEcpInstrument | WithSepaInstrument | WithPayByBankInstrument | WithIdealInstrument | CreditCardInstrument | HostedInstrument | HostedCreditCardInstrument | HostedVaultedInstrument | NonceInstrument | VaultedInstrument | (CreditCardInstrument & WithDocumentInstrument) | (CreditCardInstrument & WithCheckoutcomFawryInstrument) | (CreditCardInstrument & WithCheckoutcomSEPAInstrument) | (CreditCardInstrument & WithIdealInstrument) | (HostedInstrument & WithMollieIssuerInstrument) | WithAccountCreation;
|
|
6199
6207
|
|
|
6200
6208
|
/**
|
|
6201
6209
|
* An object that contains the payment information required for submitting an
|