@bigcommerce/checkout-sdk 1.266.1 → 1.268.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 +21 -0
- package/dist/checkout-button.d.ts +21 -0
- 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 +21 -0
- 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/dist/hosted-form.js +1 -1
- package/dist/hosted-form.js.map +1 -1
- package/dist/hosted-form.umd.js +1 -1
- package/dist/hosted-form.umd.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/classes/CheckoutButtonErrorSelector.md +2 -2
- package/docs/classes/CheckoutButtonStatusSelector.md +2 -2
- package/docs/enums/CheckoutButtonMethodType.md +7 -0
- package/docs/interfaces/CheckoutButtonInitializeOptions.md +10 -0
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +35 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.268.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.267.0...v1.268.0) (2022-07-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **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))
|
|
11
|
+
|
|
12
|
+
## [1.267.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.2...v1.267.0) (2022-07-18)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **payment:** BOLT-255 remove experiment for last four digits type ([a8da3d7](https://github.com/bigcommerce/checkout-sdk-js/commit/a8da3d78855032498ac5892801dfb2e1aee3f50a))
|
|
18
|
+
|
|
19
|
+
### [1.266.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.1...v1.266.2) (2022-07-15)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **payment:** PAYPAL-0000 removed paypal commerce apms visibility on cart ([#1504](https://github.com/bigcommerce/checkout-sdk-js/issues/1504)) ([3cd204e](https://github.com/bigcommerce/checkout-sdk-js/commit/3cd204e1879d917f352c331d7b7e5649aa545ce6))
|
|
25
|
+
|
|
5
26
|
### [1.266.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.0...v1.266.1) (2022-07-13)
|
|
6
27
|
|
|
7
28
|
|
|
@@ -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.
|