@bigcommerce/checkout-sdk 1.349.0 → 1.350.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 +15 -0
- package/dist/checkout-button.d.ts +0 -21
- 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 +0 -21
- 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/PayPalButtonStyleOptions.md +0 -14
- package/docs/interfaces/PayPalCommerceButtonInitializeOptions.md +0 -11
- package/docs/interfaces/PayPalCommerceCreditButtonInitializeOptions.md +0 -9
- package/docs/interfaces/PayPalCommerceVenmoButtonInitializeOptions.md +0 -9
- package/package.json +1 -1
- package/docs/enums/StyleButtonLayout.md +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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.350.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.350.0...v1.350.1) (2023-02-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Code Refactoring
|
|
9
|
+
|
|
10
|
+
* **payment:** PAYPAL-1971 removed initializesOnCheckout page property from PayPalCommerce initialize button options ([#1859](https://github.com/bigcommerce/checkout-sdk-js/issues/1859)) ([bdcf195](https://github.com/bigcommerce/checkout-sdk-js/commit/bdcf1952d194b261447e46cfbcf09b1b824c615f))
|
|
11
|
+
* **payment:** PAYPAL-1983 removed layout and tagline styles property from PayPalCommerceButtons config ([#1858](https://github.com/bigcommerce/checkout-sdk-js/issues/1858)) ([5a1a2fd](https://github.com/bigcommerce/checkout-sdk-js/commit/5a1a2fdb5515e5a8dc1c34015b04e5c36dc72d48))
|
|
12
|
+
|
|
13
|
+
## [1.350.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.349.0...v1.350.0) (2023-02-20)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **payment:** BOLT-463 add applyStoreCredit to PaymentIntegrationService ([52ece0e](https://github.com/bigcommerce/checkout-sdk-js/commit/52ece0e42ad669af2667cd467d59bb77e1e79962))
|
|
19
|
+
|
|
5
20
|
## [1.349.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.6...v1.349.0) (2023-02-20)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -618,12 +618,10 @@ declare interface LineItem {
|
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
declare interface PayPalButtonStyleOptions {
|
|
621
|
-
layout?: StyleButtonLayout;
|
|
622
621
|
color?: StyleButtonColor;
|
|
623
622
|
shape?: StyleButtonShape;
|
|
624
623
|
height?: number;
|
|
625
624
|
label?: StyleButtonLabel;
|
|
626
|
-
tagline?: boolean;
|
|
627
625
|
custom?: {
|
|
628
626
|
label?: string;
|
|
629
627
|
css?: {
|
|
@@ -658,12 +656,6 @@ declare interface PayPalCommerceButtonInitializeOptions {
|
|
|
658
656
|
* The option that used to initialize a PayPal script with provided currency code.
|
|
659
657
|
*/
|
|
660
658
|
currencyCode?: string;
|
|
661
|
-
/**
|
|
662
|
-
* // TODO: this flag should be removed, because the strategy does not used on checkout page
|
|
663
|
-
* // and it always equals to 'false'
|
|
664
|
-
* Flag which helps to detect that the strategy initializes on Checkout page.
|
|
665
|
-
*/
|
|
666
|
-
initializesOnCheckoutPage?: boolean;
|
|
667
659
|
/**
|
|
668
660
|
* A set of styling options for the checkout button.
|
|
669
661
|
*/
|
|
@@ -675,10 +667,6 @@ declare interface PayPalCommerceButtonInitializeOptions {
|
|
|
675
667
|
}
|
|
676
668
|
|
|
677
669
|
declare interface PayPalCommerceCreditButtonInitializeOptions {
|
|
678
|
-
/**
|
|
679
|
-
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
680
|
-
*/
|
|
681
|
-
initializesOnCheckoutPage?: boolean;
|
|
682
670
|
/**
|
|
683
671
|
* The ID of a container which the messaging should be inserted.
|
|
684
672
|
*/
|
|
@@ -732,10 +720,6 @@ declare interface PayPalCommerceVenmoButtonInitializeOptions {
|
|
|
732
720
|
* A set of styling options for the checkout button.
|
|
733
721
|
*/
|
|
734
722
|
style?: PayPalButtonStyleOptions;
|
|
735
|
-
/**
|
|
736
|
-
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
737
|
-
*/
|
|
738
|
-
initializesOnCheckoutPage?: boolean;
|
|
739
723
|
/**
|
|
740
724
|
* The option that used to initialize a PayPal script with provided currency code.
|
|
741
725
|
*/
|
|
@@ -858,11 +842,6 @@ declare enum StyleButtonLabel {
|
|
|
858
842
|
installment = "installment"
|
|
859
843
|
}
|
|
860
844
|
|
|
861
|
-
declare enum StyleButtonLayout {
|
|
862
|
-
vertical = "vertical",
|
|
863
|
-
horizontal = "horizontal"
|
|
864
|
-
}
|
|
865
|
-
|
|
866
845
|
declare enum StyleButtonShape {
|
|
867
846
|
pill = "pill",
|
|
868
847
|
rect = "rect"
|