@bigcommerce/checkout-sdk 1.296.2 → 1.297.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,14 @@
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.297.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.2...v1.297.0) (2022-10-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * **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))
11
+ * **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))
12
+
5
13
  ### [1.296.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.1...v1.296.2) (2022-10-13)
6
14
 
7
15
  ### [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 {