@bigcommerce/checkout-sdk 1.298.2 → 1.299.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,22 @@
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.299.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.3...v1.299.0) (2022-10-25)
6
+
7
+
8
+ ### Features
9
+
10
+ * **payment:** PAYPAL-1629 BraintreeVenmo on PDP ([085e98a](https://github.com/bigcommerce/checkout-sdk-js/commit/085e98a51f59fef6443b0a810b90e1eb913a9b99))
11
+ * **payment:** PAYPAL-1629 BraintreeVenmo on PDP ([94f14dd](https://github.com/bigcommerce/checkout-sdk-js/commit/94f14ddf843e87ed1027c1e566ee8f9c733db529))
12
+ * **payment:** PAYPAL-1630 BraintreePayPal on PDP ([b9f024d](https://github.com/bigcommerce/checkout-sdk-js/commit/b9f024d8b3943210f28820d2924980a10ea4f7e5))
13
+
14
+ ### [1.298.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.2...v1.298.3) (2022-10-25)
15
+
16
+
17
+ ### Code Refactoring
18
+
19
+ * **payment:** PAYPAL-1742 removed Fake data implementation due to BE changes ([#1653](https://github.com/bigcommerce/checkout-sdk-js/issues/1653)) ([a07ddbd](https://github.com/bigcommerce/checkout-sdk-js/commit/a07ddbd5a48bbe34ae854fac7c64443113f8667c))
20
+
5
21
  ### [1.298.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.1...v1.298.2) (2022-10-20)
6
22
 
7
23
 
@@ -359,6 +359,16 @@ declare interface BraintreePaypalButtonInitializeOptions {
359
359
  * @param error - The error object describing the failure.
360
360
  */
361
361
  onError?(error: BraintreeError | StandardError): void;
362
+ /**
363
+ * The option that used to initialize a PayPal script with provided currency code.
364
+ */
365
+ currencyCode?: string;
366
+ /**
367
+ * The options that are required to initialize Buy Now functionality.
368
+ */
369
+ buyNowInitializeOptions?: {
370
+ getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
371
+ };
362
372
  }
363
373
 
364
374
  declare interface BraintreePaypalCreditButtonInitializeOptions {
@@ -389,6 +399,16 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
389
399
  * @param error - The error object describing the failure.
390
400
  */
391
401
  onError?(error: BraintreeError | StandardError): void;
402
+ /**
403
+ * The option that used to initialize a PayPal script with provided currency code.
404
+ */
405
+ currencyCode?: string;
406
+ /**
407
+ * The options that are required to initialize Buy Now functionality.
408
+ */
409
+ buyNowInitializeOptions?: {
410
+ getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
411
+ };
392
412
  }
393
413
 
394
414
  declare interface BraintreeVenmoButtonInitializeOptions {
@@ -398,6 +418,16 @@ declare interface BraintreeVenmoButtonInitializeOptions {
398
418
  * @param error - The error object describing the failure.
399
419
  */
400
420
  onError?(error: BraintreeError | StandardError): void;
421
+ /**
422
+ * The option that used to initialize a PayPal script with provided currency code.
423
+ */
424
+ currencyCode?: string;
425
+ /**
426
+ * The options that are required to initialize Buy Now functionality.
427
+ */
428
+ buyNowInitializeOptions?: {
429
+ getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
430
+ };
401
431
  }
402
432
 
403
433
  declare enum ButtonColor {