@bigcommerce/checkout-sdk 1.294.0 → 1.295.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 +8 -0
- package/dist/checkout-button.d.ts +20 -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 +20 -0
- 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/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +24 -0
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +24 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.295.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.294.0...v1.295.0) (2022-10-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **payment:** PAYPAL-1627 added Buy Now implementation for PayPalCommerceVenmo button streategy ([#1622](https://github.com/bigcommerce/checkout-sdk-js/issues/1622)) ([876a240](https://github.com/bigcommerce/checkout-sdk-js/commit/876a2406464e1de28dd61b837a51a5928f217a97))
|
|
11
|
+
* **payment:** PAYPAL-1628 added Buy Now implementation for PayPalCommerce alternative methods button strategy ([#1624](https://github.com/bigcommerce/checkout-sdk-js/issues/1624)) ([bb6b242](https://github.com/bigcommerce/checkout-sdk-js/commit/bb6b2429287b1f1fc5c9ad02893a6c6a307aedfc))
|
|
12
|
+
|
|
5
13
|
## [1.294.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.293.0...v1.294.0) (2022-10-04)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -694,6 +694,16 @@ declare interface PaypalCommerceAlternativeMethodsButtonOptions {
|
|
|
694
694
|
* A set of styling options for the checkout button.
|
|
695
695
|
*/
|
|
696
696
|
style?: PaypalButtonStyleOptions_2;
|
|
697
|
+
/**
|
|
698
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
699
|
+
*/
|
|
700
|
+
currencyCode?: string;
|
|
701
|
+
/**
|
|
702
|
+
* The options that are required to initialize Buy Now functionality.
|
|
703
|
+
*/
|
|
704
|
+
buyNowInitializeOptions?: {
|
|
705
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
706
|
+
};
|
|
697
707
|
}
|
|
698
708
|
|
|
699
709
|
declare interface PaypalCommerceButtonInitializeOptions {
|
|
@@ -786,6 +796,16 @@ declare interface PaypalCommerceVenmoButtonInitializeOptions {
|
|
|
786
796
|
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
787
797
|
*/
|
|
788
798
|
initializesOnCheckoutPage?: boolean;
|
|
799
|
+
/**
|
|
800
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
801
|
+
*/
|
|
802
|
+
currencyCode?: string;
|
|
803
|
+
/**
|
|
804
|
+
* The options that are required to initialize Buy Now functionality.
|
|
805
|
+
*/
|
|
806
|
+
buyNowInitializeOptions?: {
|
|
807
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
808
|
+
};
|
|
789
809
|
}
|
|
790
810
|
|
|
791
811
|
/**
|