@bigcommerce/checkout-sdk 1.266.2 → 1.269.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,32 @@
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.269.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.268.0...v1.269.0) (2022-07-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * **checkout:** CHECKOUT-6277 add eslint config to nx ([40d317d](https://github.com/bigcommerce/checkout-sdk-js/commit/40d317dbceb6829d29c44e01a7e0c2dbb73453cc))
11
+
12
+
13
+ ### Code Refactoring
14
+
15
+ * **payment:** PAYPAL-1567 removed unnecessary method and class variable in PayPalCommerceVenmoButtonStrategy ([#1509](https://github.com/bigcommerce/checkout-sdk-js/issues/1509)) ([e50dee7](https://github.com/bigcommerce/checkout-sdk-js/commit/e50dee76eb1b1fc4b779f72f3f342e77271fa5a7))
16
+
17
+ ## [1.268.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.267.0...v1.268.0) (2022-07-19)
18
+
19
+
20
+ ### Features
21
+
22
+ * **payment:** PAYPAL-1532 added PayPalCommerceAlternativeMethods checkout button strategy ([#1505](https://github.com/bigcommerce/checkout-sdk-js/issues/1505)) ([edf237f](https://github.com/bigcommerce/checkout-sdk-js/commit/edf237f23533b7ff8cb192e5860a987f63bc92b9))
23
+
24
+ ## [1.267.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.2...v1.267.0) (2022-07-18)
25
+
26
+
27
+ ### Features
28
+
29
+ * **payment:** BOLT-255 remove experiment for last four digits type ([a8da3d7](https://github.com/bigcommerce/checkout-sdk-js/commit/a8da3d78855032498ac5892801dfb2e1aee3f50a))
30
+
5
31
  ### [1.266.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.1...v1.266.2) (2022-07-15)
6
32
 
7
33
 
@@ -310,6 +310,11 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
310
310
  * unless you need to support Paypal.
311
311
  */
312
312
  paypalCommerce?: PaypalCommerceButtonInitializeOptions;
313
+ /**
314
+ * The options that are required to facilitate PayPal Commerce. They can be omitted
315
+ * unless you need to support PayPal Commerce Alternative Payment Methods.
316
+ */
317
+ paypalcommercealternativemethods?: PaypalCommerceAlternativeMethodsButtonOptions;
313
318
  /**
314
319
  * The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
315
320
  * unless you need to support PayPal Commerce Venmo.
@@ -425,6 +430,7 @@ declare enum CheckoutButtonMethodType {
425
430
  MASTERPASS = "masterpass",
426
431
  PAYPALEXPRESS = "paypalexpress",
427
432
  PAYPALCOMMERCE = "paypalcommerce",
433
+ PAYPALCOMMERCE_APMS = "paypalcommercealternativemethods",
428
434
  PAYPALCOMMERCE_VENMO = "paypalcommercevenmo"
429
435
  }
430
436
 
@@ -550,6 +556,21 @@ declare enum PaypalButtonStyleSizeOption {
550
556
  RESPONSIVE = "responsive"
551
557
  }
552
558
 
559
+ declare interface PaypalCommerceAlternativeMethodsButtonOptions {
560
+ /**
561
+ * Alternative payment method id what used for initialization PayPal button as funding source.
562
+ */
563
+ apm: string;
564
+ /**
565
+ * Flag which helps to detect that the strategy initializes on Checkout page.
566
+ */
567
+ initializesOnCheckoutPage?: boolean;
568
+ /**
569
+ * A set of styling options for the checkout button.
570
+ */
571
+ style?: PaypalButtonStyleOptions_2;
572
+ }
573
+
553
574
  declare interface PaypalCommerceButtonInitializeOptions {
554
575
  /**
555
576
  * A set of styling options for the checkout button.