@bigcommerce/checkout-sdk 1.252.0 → 1.254.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,29 @@
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.254.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.253.1...v1.254.0) (2022-06-16)
6
+
7
+
8
+ ### Features
9
+
10
+ * **payment:** PAYMENTS-7524 Bump bigpay-client-js version to 5.18.0 to add human verification-related payload ([6e210c2](https://github.com/bigcommerce/checkout-sdk-js/commit/6e210c2577b2ba1123d67cd93c239495c7742dd5))
11
+ * **payment:** PAYMENTS-7524 Change StepHandler and ContinueHandler callback parameters to be an object of multiple callbacks ([38267d8](https://github.com/bigcommerce/checkout-sdk-js/commit/38267d8a9a6b159b96bc7e0e481e6ce3ffd25151))
12
+ * **payment:** PAYMENTS-7524 Human verification for PPSDK payment methods ([153c6c6](https://github.com/bigcommerce/checkout-sdk-js/commit/153c6c65e45eb8251010837a5b47ed73f0a1942b))
13
+
14
+ ### [1.253.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.253.0...v1.253.1) (2022-06-14)
15
+
16
+
17
+ ### Code Refactoring
18
+
19
+ * **common:** CHECKOUT-6752 Refactor payment strategies to pass method as params ([4aa2e53](https://github.com/bigcommerce/checkout-sdk-js/commit/4aa2e53deaa969999d15de9eed9693b8e1a03d18))
20
+
21
+ ## [1.253.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.252.0...v1.253.0) (2022-06-14)
22
+
23
+
24
+ ### Features
25
+
26
+ * **payment:** PAYPAL-1381 added braintreevenmo checkout button strategy ([#1463](https://github.com/bigcommerce/checkout-sdk-js/issues/1463)) ([659bb0d](https://github.com/bigcommerce/checkout-sdk-js/commit/659bb0d367f0cb7509da196344a9a28d0e28e0a1))
27
+
5
28
  ## [1.252.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.251.0...v1.252.0) (2022-06-14)
6
29
 
7
30
 
@@ -203,6 +203,15 @@ declare interface BraintreePaypalV1ButtonInitializeOptions {
203
203
  onError?(error: BraintreeError | StandardError): void;
204
204
  }
205
205
 
206
+ declare interface BraintreeVenmoButtonInitializeOptions {
207
+ /**
208
+ * A callback that gets called on any error.
209
+ *
210
+ * @param error - The error object describing the failure.
211
+ */
212
+ onError?(error: BraintreeError | StandardError): void;
213
+ }
214
+
206
215
  declare enum ButtonColor {
207
216
  Default = "default",
208
217
  Black = "black",
@@ -246,6 +255,11 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
246
255
  * omitted unless you need to support Braintree Credit.
247
256
  */
248
257
  braintreepaypalcreditv2?: BraintreePaypalCreditButtonInitializeOptions;
258
+ /**
259
+ * The options that are required to facilitate Braintree Venmo. They can be
260
+ * omitted unless you need to support Braintree Venmo.
261
+ */
262
+ braintreevenmo?: BraintreeVenmoButtonInitializeOptions;
249
263
  /**
250
264
  * The options that are required to facilitate PayPal. They can be omitted
251
265
  * unless you need to support Paypal.