@bigcommerce/checkout-sdk 1.293.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 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.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
+
13
+ ## [1.294.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.293.0...v1.294.0) (2022-10-04)
14
+
15
+
16
+ ### Features
17
+
18
+ * **payment:** PAYPAL-1626 made PayPalCommerceCredit competible with Buy Now ([#1620](https://github.com/bigcommerce/checkout-sdk-js/issues/1620)) ([1b523f4](https://github.com/bigcommerce/checkout-sdk-js/commit/1b523f429e589f5de49126053d24e3bc351cf2c3))
19
+
5
20
  ## [1.293.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.292.1...v1.293.0) (2022-10-03)
6
21
 
7
22
 
@@ -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 {
@@ -730,6 +740,16 @@ declare interface PaypalCommerceCreditButtonInitializeOptions {
730
740
  * A set of styling options for the checkout button.
731
741
  */
732
742
  style?: PaypalButtonStyleOptions_2;
743
+ /**
744
+ * The option that used to initialize a PayPal script with provided currency code.
745
+ */
746
+ currencyCode?: string;
747
+ /**
748
+ * The options that are required to initialize Buy Now functionality.
749
+ */
750
+ buyNowInitializeOptions?: {
751
+ getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
752
+ };
733
753
  }
734
754
 
735
755
  declare interface PaypalCommerceInlineCheckoutButtonInitializeOptions {
@@ -776,6 +796,16 @@ declare interface PaypalCommerceVenmoButtonInitializeOptions {
776
796
  * Flag which helps to detect that the strategy initializes on Checkout page
777
797
  */
778
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
+ };
779
809
  }
780
810
 
781
811
  /**