@bigcommerce/checkout-sdk 1.275.1 → 1.276.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 +12 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +6 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/internal-mappers.d.ts +1 -1
- package/docs/README.md +1 -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
|
@@ -4583,6 +4583,10 @@ declare interface Discount {
|
|
|
4583
4583
|
discountedAmount: number;
|
|
4584
4584
|
}
|
|
4585
4585
|
|
|
4586
|
+
declare interface DisplaySettings {
|
|
4587
|
+
hidePriceFromGuests: boolean;
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4586
4590
|
declare class EmbeddedCheckout {
|
|
4587
4591
|
private _iframeCreator;
|
|
4588
4592
|
private _messageListener;
|
|
@@ -5733,7 +5737,7 @@ declare interface Order {
|
|
|
5733
5737
|
billingAddress: BillingAddress;
|
|
5734
5738
|
cartId: string;
|
|
5735
5739
|
coupons: Coupon[];
|
|
5736
|
-
consignments: OrderConsignment
|
|
5740
|
+
consignments: OrderConsignment;
|
|
5737
5741
|
currency: Currency;
|
|
5738
5742
|
customerCanBeCreated: boolean;
|
|
5739
5743
|
customerId: number;
|
|
@@ -6705,6 +6709,7 @@ declare interface StoreConfig {
|
|
|
6705
6709
|
checkoutSettings: CheckoutSettings;
|
|
6706
6710
|
currency: StoreCurrency;
|
|
6707
6711
|
displayDateFormat: string;
|
|
6712
|
+
displaySettings: DisplaySettings;
|
|
6708
6713
|
inputDateFormat: string;
|
|
6709
6714
|
/**
|
|
6710
6715
|
* @deprecated Please use instead the data selectors
|