@bigcommerce/checkout-sdk 1.284.0 → 1.284.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 +7 -0
- package/dist/checkout-button.d.ts +3 -14
- 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 +3 -14
- 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 +0 -1
- package/docs/interfaces/BaseCheckoutButtonInitializeOptions.md +1 -1
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +4 -4
- package/package.json +1 -1
- package/docs/interfaces/PaypalCommerceV2ButtonInitializeOptions.md +0 -26
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.284.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.284.0...v1.284.1) (2022-09-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Code Refactoring
|
|
9
|
+
|
|
10
|
+
* **payment:** PAYPAL-1538 switched PayPalCommerce common button strategy with V2 and removed old implementation ([#1570](https://github.com/bigcommerce/checkout-sdk-js/issues/1570)) ([2b033fd](https://github.com/bigcommerce/checkout-sdk-js/commit/2b033fdd4b95c913824e9d4a2df682814fb2a759))
|
|
11
|
+
|
|
5
12
|
## [1.284.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.283.1...v1.284.0) (2022-09-09)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -298,7 +298,7 @@ declare interface BaseCheckoutButtonInitializeOptions extends CheckoutButtonOpti
|
|
|
298
298
|
* The options that are required to facilitate PayPal Commerce V2. They can be omitted
|
|
299
299
|
* unless you need to support Paypal Commerce.
|
|
300
300
|
*/
|
|
301
|
-
paypalcommerce?:
|
|
301
|
+
paypalcommerce?: PaypalCommerceButtonInitializeOptions;
|
|
302
302
|
/**
|
|
303
303
|
* The options that are required to facilitate PayPal Commerce. They can be omitted
|
|
304
304
|
* unless you need to support PayPal Commerce Credit / PayLater.
|
|
@@ -685,9 +685,9 @@ declare interface PaypalCommerceButtonInitializeOptions {
|
|
|
685
685
|
*/
|
|
686
686
|
style?: PaypalButtonStyleOptions_2;
|
|
687
687
|
/**
|
|
688
|
-
*
|
|
688
|
+
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
689
689
|
*/
|
|
690
|
-
|
|
690
|
+
initializesOnCheckoutPage?: boolean;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
declare interface PaypalCommerceCreditButtonInitializeOptions {
|
|
@@ -740,17 +740,6 @@ declare interface PaypalCommerceInlineCheckoutButtonInitializeOptions {
|
|
|
740
740
|
onComplete(): void;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
|
-
declare interface PaypalCommerceV2ButtonInitializeOptions {
|
|
744
|
-
/**
|
|
745
|
-
* A set of styling options for the checkout button.
|
|
746
|
-
*/
|
|
747
|
-
style?: PaypalButtonStyleOptions_2;
|
|
748
|
-
/**
|
|
749
|
-
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
750
|
-
*/
|
|
751
|
-
initializesOnCheckoutPage?: boolean;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
743
|
declare interface PaypalCommerceVenmoButtonInitializeOptions {
|
|
755
744
|
/**
|
|
756
745
|
* A set of styling options for the checkout button.
|