@bigcommerce/checkout-sdk 1.275.0 → 1.276.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/CHANGELOG.md +16 -0
- package/dist/checkout-button.d.ts +1 -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 +8 -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/embedded-checkout.js +1 -1
- package/dist/internal-mappers.d.ts +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/BaseCheckoutButtonInitializeOptions.md +4 -0
- package/docs/interfaces/BaseCustomerInitializeOptions.md +4 -0
- package/docs/interfaces/DisplaySettings.md +15 -0
- package/docs/interfaces/Order.md +1 -1
- package/docs/interfaces/StoreConfig.md +7 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -945,6 +945,7 @@ declare interface BaseAccountInstrument extends BaseInstrument {
|
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
declare interface BaseCheckoutButtonInitializeOptions extends CheckoutButtonOptions {
|
|
948
|
+
[key: string]: unknown;
|
|
948
949
|
/**
|
|
949
950
|
* The options that are required to initialize the ApplePay payment method.
|
|
950
951
|
* They can be omitted unless you need to support ApplePay in cart.
|
|
@@ -1051,6 +1052,7 @@ declare interface BaseCheckoutButtonInitializeOptions extends CheckoutButtonOpti
|
|
|
1051
1052
|
* information in order to initialize the customer step of checkout.
|
|
1052
1053
|
*/
|
|
1053
1054
|
declare interface BaseCustomerInitializeOptions extends CustomerRequestOptions {
|
|
1055
|
+
[key: string]: unknown;
|
|
1054
1056
|
/**
|
|
1055
1057
|
* The options that are required to initialize the customer step of checkout
|
|
1056
1058
|
* when using Amazon Pay.
|
|
@@ -4582,6 +4584,10 @@ declare interface Discount {
|
|
|
4582
4584
|
discountedAmount: number;
|
|
4583
4585
|
}
|
|
4584
4586
|
|
|
4587
|
+
declare interface DisplaySettings {
|
|
4588
|
+
hidePriceFromGuests: boolean;
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4585
4591
|
declare class EmbeddedCheckout {
|
|
4586
4592
|
private _iframeCreator;
|
|
4587
4593
|
private _messageListener;
|
|
@@ -5732,7 +5738,7 @@ declare interface Order {
|
|
|
5732
5738
|
billingAddress: BillingAddress;
|
|
5733
5739
|
cartId: string;
|
|
5734
5740
|
coupons: Coupon[];
|
|
5735
|
-
consignments: OrderConsignment
|
|
5741
|
+
consignments: OrderConsignment;
|
|
5736
5742
|
currency: Currency;
|
|
5737
5743
|
customerCanBeCreated: boolean;
|
|
5738
5744
|
customerId: number;
|
|
@@ -6704,6 +6710,7 @@ declare interface StoreConfig {
|
|
|
6704
6710
|
checkoutSettings: CheckoutSettings;
|
|
6705
6711
|
currency: StoreCurrency;
|
|
6706
6712
|
displayDateFormat: string;
|
|
6713
|
+
displaySettings: DisplaySettings;
|
|
6707
6714
|
inputDateFormat: string;
|
|
6708
6715
|
/**
|
|
6709
6716
|
* @deprecated Please use instead the data selectors
|