@bigcommerce/checkout-sdk 1.252.0 → 1.253.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 +7 -0
- package/dist/checkout-button.d.ts +14 -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 +14 -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/README.md +1 -0
- package/docs/interfaces/braintreevenmobuttoninitializeoptions.md +29 -0
- package/docs/interfaces/checkoutbuttoninitializeoptions.md +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.253.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.252.0...v1.253.0) (2022-06-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **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))
|
|
11
|
+
|
|
5
12
|
## [1.252.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.251.0...v1.252.0) (2022-06-14)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -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.
|