@bigcommerce/checkout-sdk 1.275.1 → 1.276.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 +21 -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 +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/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/DisplaySettings.md +15 -0
- package/docs/interfaces/MolliePaymentInitializeOptions.md +21 -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.
|
|
@@ -4583,6 +4584,10 @@ declare interface Discount {
|
|
|
4583
4584
|
discountedAmount: number;
|
|
4584
4585
|
}
|
|
4585
4586
|
|
|
4587
|
+
declare interface DisplaySettings {
|
|
4588
|
+
hidePriceFromGuests: boolean;
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4586
4591
|
declare class EmbeddedCheckout {
|
|
4587
4592
|
private _iframeCreator;
|
|
4588
4593
|
private _messageListener;
|
|
@@ -5553,6 +5558,8 @@ declare interface MolliePaymentInitializeOptions {
|
|
|
5553
5558
|
* Hosted Form Validation Options
|
|
5554
5559
|
*/
|
|
5555
5560
|
form?: HostedFormOptions;
|
|
5561
|
+
unsupportedMethodMessage?: string;
|
|
5562
|
+
disableButton(): void;
|
|
5556
5563
|
}
|
|
5557
5564
|
|
|
5558
5565
|
/**
|
|
@@ -5733,7 +5740,7 @@ declare interface Order {
|
|
|
5733
5740
|
billingAddress: BillingAddress;
|
|
5734
5741
|
cartId: string;
|
|
5735
5742
|
coupons: Coupon[];
|
|
5736
|
-
consignments: OrderConsignment
|
|
5743
|
+
consignments: OrderConsignment;
|
|
5737
5744
|
currency: Currency;
|
|
5738
5745
|
customerCanBeCreated: boolean;
|
|
5739
5746
|
customerId: number;
|
|
@@ -6705,6 +6712,7 @@ declare interface StoreConfig {
|
|
|
6705
6712
|
checkoutSettings: CheckoutSettings;
|
|
6706
6713
|
currency: StoreCurrency;
|
|
6707
6714
|
displayDateFormat: string;
|
|
6715
|
+
displaySettings: DisplaySettings;
|
|
6708
6716
|
inputDateFormat: string;
|
|
6709
6717
|
/**
|
|
6710
6718
|
* @deprecated Please use instead the data selectors
|