@bigcommerce/checkout-sdk 1.346.0 → 1.347.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.d.ts +12 -3
- 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 +12 -3
- 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/docs/README.md +1 -0
- package/docs/interfaces/PayPalBuyNowInitializeOptions.md +21 -0
- package/docs/interfaces/PayPalCommerceButtonInitializeOptions.md +3 -7
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -5954,6 +5954,15 @@ declare interface PayPalButtonStyleOptions {
|
|
|
5954
5954
|
};
|
|
5955
5955
|
}
|
|
5956
5956
|
|
|
5957
|
+
/**
|
|
5958
|
+
*
|
|
5959
|
+
* PayPal Commerce BuyNow
|
|
5960
|
+
*
|
|
5961
|
+
*/
|
|
5962
|
+
declare interface PayPalBuyNowInitializeOptions {
|
|
5963
|
+
getBuyNowCartRequestBody(): BuyNowCartRequestBody_2;
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5957
5966
|
/**
|
|
5958
5967
|
* A set of options that are required to initialize PayPalCommerce in cart or product details page.
|
|
5959
5968
|
*
|
|
@@ -5964,14 +5973,14 @@ declare interface PayPalCommerceButtonInitializeOptions {
|
|
|
5964
5973
|
/**
|
|
5965
5974
|
* The options that are required to initialize Buy Now functionality.
|
|
5966
5975
|
*/
|
|
5967
|
-
buyNowInitializeOptions?:
|
|
5968
|
-
getBuyNowCartRequestBody?(): BuyNowCartRequestBody_2 | void;
|
|
5969
|
-
};
|
|
5976
|
+
buyNowInitializeOptions?: PayPalBuyNowInitializeOptions;
|
|
5970
5977
|
/**
|
|
5971
5978
|
* The option that used to initialize a PayPal script with provided currency code.
|
|
5972
5979
|
*/
|
|
5973
5980
|
currencyCode?: string;
|
|
5974
5981
|
/**
|
|
5982
|
+
* // TODO: this flag should be removed, because the strategy does not used on checkout page
|
|
5983
|
+
* // and it always equals to 'false'
|
|
5975
5984
|
* Flag which helps to detect that the strategy initializes on Checkout page.
|
|
5976
5985
|
*/
|
|
5977
5986
|
initializesOnCheckoutPage?: boolean;
|