@bigcommerce/checkout-sdk 1.296.2 → 1.298.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 +24 -0
- package/dist/checkout-button.d.ts +8 -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 +8 -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/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +16 -0
- package/docs/interfaces/PaypalCommerceCreditButtonInitializeOptions.md +16 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.298.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.297.0...v1.298.0) (2022-10-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **payment:** STRIPE-99 Add flag to validate unmount ([ad8c627](https://github.com/bigcommerce/checkout-sdk-js/commit/ad8c6274f26260936f52389b484bd0c88745966c))
|
|
11
|
+
* **payment:** STRIPE-99 Add flag to validate unmount ([8981bea](https://github.com/bigcommerce/checkout-sdk-js/commit/8981bea6091b200961787a99cc156a3343538489))
|
|
12
|
+
* **payment:** STRIPE-99 Add Stripe UPE fix ([4b4ed77](https://github.com/bigcommerce/checkout-sdk-js/commit/4b4ed77f747ebe5d081f5fd5cffaae0c1b93f8a2))
|
|
13
|
+
* **payment:** STRIPE-99 Fix flag for validation ([419c37c](https://github.com/bigcommerce/checkout-sdk-js/commit/419c37c268b1501697071dec9b8aaa345932ba1a))
|
|
14
|
+
* **payment:** STRIPE-99 Fix name of variables ([127412d](https://github.com/bigcommerce/checkout-sdk-js/commit/127412dffaf2e2b1b4a4c84acdf5a43e25ab5be5))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **payment:** INT-6478 SquareV2 - Fail Gracefully when payment provider unavailable ([bc136cc](https://github.com/bigcommerce/checkout-sdk-js/commit/bc136ccfcbcdbc2ce361055e7991d0c66d7697e3))
|
|
20
|
+
|
|
21
|
+
## [1.297.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.2...v1.297.0) (2022-10-17)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **payment:** PAYPAL-1606 Added Shipping options for paypal and updated paypal callbacks ([#1607](https://github.com/bigcommerce/checkout-sdk-js/issues/1607)) ([4520f94](https://github.com/bigcommerce/checkout-sdk-js/commit/4520f94b282cc2c4a1d0066e485a8ca3955621e9))
|
|
27
|
+
* **payment:** PAYPAL-1607 added shipping Options for paypal credit and updated paypal callbacks ([#1610](https://github.com/bigcommerce/checkout-sdk-js/issues/1610)) ([6a03314](https://github.com/bigcommerce/checkout-sdk-js/commit/6a03314c48b00a9a7c89b10834112d6ceb6cb0de))
|
|
28
|
+
|
|
5
29
|
### [1.296.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.1...v1.296.2) (2022-10-13)
|
|
6
30
|
|
|
7
31
|
### [1.296.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.0...v1.296.1) (2022-10-13)
|
|
@@ -725,6 +725,10 @@ declare interface PaypalCommerceButtonInitializeOptions {
|
|
|
725
725
|
buyNowInitializeOptions?: {
|
|
726
726
|
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
727
727
|
};
|
|
728
|
+
/**
|
|
729
|
+
* A callback that gets called when payment complete on paypal side.
|
|
730
|
+
*/
|
|
731
|
+
onComplete?(): void;
|
|
728
732
|
}
|
|
729
733
|
|
|
730
734
|
declare interface PaypalCommerceCreditButtonInitializeOptions {
|
|
@@ -750,6 +754,10 @@ declare interface PaypalCommerceCreditButtonInitializeOptions {
|
|
|
750
754
|
buyNowInitializeOptions?: {
|
|
751
755
|
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
752
756
|
};
|
|
757
|
+
/**
|
|
758
|
+
* A callback that gets called when payment complete on paypal side.
|
|
759
|
+
*/
|
|
760
|
+
onComplete?(): void;
|
|
753
761
|
}
|
|
754
762
|
|
|
755
763
|
declare interface PaypalCommerceInlineCheckoutButtonInitializeOptions {
|