@bigcommerce/checkout-sdk 1.294.0 → 1.296.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.296.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.295.0...v1.296.0) (2022-10-05)
6
+
7
+
8
+ ### Features
9
+
10
+ * **payment:** INT-6092 AmazonPayV2: Add an additional payment button… ([#1605](https://github.com/bigcommerce/checkout-sdk-js/issues/1605)) ([a4c24cd](https://github.com/bigcommerce/checkout-sdk-js/commit/a4c24cd2542604dbee615fbbd8cfa9a1bd0505e3))
11
+
12
+ ## [1.295.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.294.0...v1.295.0) (2022-10-05)
13
+
14
+
15
+ ### Features
16
+
17
+ * **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))
18
+ * **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))
19
+
5
20
  ## [1.294.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.293.0...v1.294.0) (2022-10-04)
6
21
 
7
22
 
@@ -140,7 +140,7 @@ declare interface AmazonPayV2NewButtonParams extends AmazonPayV2ButtonConfig {
140
140
  /**
141
141
  * Create Checkout Session configuration.
142
142
  */
143
- createCheckoutSessionConfig: AmazonPayV2CheckoutSessionConfig;
143
+ createCheckoutSessionConfig?: AmazonPayV2CheckoutSessionConfig;
144
144
  }
145
145
 
146
146
  declare enum AmazonPayV2PayOptions {
@@ -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
  /**