@bigcommerce/checkout-sdk 1.251.0 → 1.253.1
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 +21 -0
- package/dist/checkout-button.d.ts +15 -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 +15 -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/dist/hosted-form.js +1 -1
- package/dist/hosted-form.js.map +1 -1
- package/dist/hosted-form.umd.js +1 -1
- package/dist/hosted-form.umd.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/enums/checkoutbuttonmethodtype.md +7 -0
- package/docs/interfaces/braintreevenmobuttoninitializeoptions.md +29 -0
- package/docs/interfaces/checkoutbuttoninitializeoptions.md +10 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -1305,6 +1305,15 @@ declare interface BraintreeThreeDSecureOptions {
|
|
|
1305
1305
|
removeFrame(): void;
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
|
+
declare interface BraintreeVenmoButtonInitializeOptions {
|
|
1309
|
+
/**
|
|
1310
|
+
* A callback that gets called on any error.
|
|
1311
|
+
*
|
|
1312
|
+
* @param error - The error object describing the failure.
|
|
1313
|
+
*/
|
|
1314
|
+
onError?(error: BraintreeError | StandardError): void;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1308
1317
|
declare interface BraintreeVerifyPayload {
|
|
1309
1318
|
nonce: string;
|
|
1310
1319
|
details: {
|
|
@@ -1671,6 +1680,11 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
|
|
|
1671
1680
|
* omitted unless you need to support Braintree Credit.
|
|
1672
1681
|
*/
|
|
1673
1682
|
braintreepaypalcreditv2?: BraintreePaypalCreditButtonInitializeOptions;
|
|
1683
|
+
/**
|
|
1684
|
+
* The options that are required to facilitate Braintree Venmo. They can be
|
|
1685
|
+
* omitted unless you need to support Braintree Venmo.
|
|
1686
|
+
*/
|
|
1687
|
+
braintreevenmo?: BraintreeVenmoButtonInitializeOptions;
|
|
1674
1688
|
/**
|
|
1675
1689
|
* The options that are required to facilitate PayPal. They can be omitted
|
|
1676
1690
|
* unless you need to support Paypal.
|
|
@@ -1826,6 +1840,7 @@ declare enum CheckoutButtonMethodType {
|
|
|
1826
1840
|
APPLEPAY = "applepay",
|
|
1827
1841
|
AMAZON_PAY_V2 = "amazonpay",
|
|
1828
1842
|
BRAINTREE_PAYPAL = "braintreepaypal",
|
|
1843
|
+
BRAINTREE_PAYPALV2 = "braintreepaypalv2",
|
|
1829
1844
|
BRAINTREE_VENMO = "braintreevenmo",
|
|
1830
1845
|
BRAINTREE_PAYPAL_CREDIT = "braintreepaypalcredit",
|
|
1831
1846
|
BRAINTREE_PAYPAL_CREDITV2 = "braintreepaypalcreditv2",
|