@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 +23 -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/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/interfaces/braintreevenmobuttoninitializeoptions.md +29 -0
- package/docs/interfaces/checkoutbuttoninitializeoptions.md +10 -0
- package/package.json +4 -4
package/docs/README.md
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
* [BraintreeStoredCardFieldOptions](interfaces/braintreestoredcardfieldoptions.md)
|
|
112
112
|
* [BraintreeStoredCardFieldsMap](interfaces/braintreestoredcardfieldsmap.md)
|
|
113
113
|
* [BraintreeThreeDSecureOptions](interfaces/braintreethreedsecureoptions.md)
|
|
114
|
+
* [BraintreeVenmoButtonInitializeOptions](interfaces/braintreevenmobuttoninitializeoptions.md)
|
|
114
115
|
* [BraintreeVerifyPayload](interfaces/braintreeverifypayload.md)
|
|
115
116
|
* [BraintreeVisaCheckoutCustomerInitializeOptions](interfaces/braintreevisacheckoutcustomerinitializeoptions.md)
|
|
116
117
|
* [BraintreeVisaCheckoutPaymentInitializeOptions](interfaces/braintreevisacheckoutpaymentinitializeoptions.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) › [BraintreeVenmoButtonInitializeOptions](braintreevenmobuttoninitializeoptions.md)
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVenmoButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
* **BraintreeVenmoButtonInitializeOptions**
|
|
8
|
+
|
|
9
|
+
## Index
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
* [onError](braintreevenmobuttoninitializeoptions.md#optional-onerror)
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### `Optional` onError
|
|
18
|
+
|
|
19
|
+
▸ **onError**(`error`: [BraintreeError](braintreeerror.md) | [StandardError](../classes/standarderror.md)): *void*
|
|
20
|
+
|
|
21
|
+
A callback that gets called on any error.
|
|
22
|
+
|
|
23
|
+
**Parameters:**
|
|
24
|
+
|
|
25
|
+
Name | Type | Description |
|
|
26
|
+
------ | ------ | ------ |
|
|
27
|
+
`error` | [BraintreeError](braintreeerror.md) | [StandardError](../classes/standarderror.md) | The error object describing the failure. |
|
|
28
|
+
|
|
29
|
+
**Returns:** *void*
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* [braintreepaypal](checkoutbuttoninitializeoptions.md#optional-braintreepaypal)
|
|
22
22
|
* [braintreepaypalcredit](checkoutbuttoninitializeoptions.md#optional-braintreepaypalcredit)
|
|
23
23
|
* [braintreepaypalcreditv2](checkoutbuttoninitializeoptions.md#optional-braintreepaypalcreditv2)
|
|
24
|
+
* [braintreevenmo](checkoutbuttoninitializeoptions.md#optional-braintreevenmo)
|
|
24
25
|
* [containerId](checkoutbuttoninitializeoptions.md#containerid)
|
|
25
26
|
* [googlepayadyenv2](checkoutbuttoninitializeoptions.md#optional-googlepayadyenv2)
|
|
26
27
|
* [googlepayadyenv3](checkoutbuttoninitializeoptions.md#optional-googlepayadyenv3)
|
|
@@ -84,6 +85,15 @@ omitted unless you need to support Braintree Credit.
|
|
|
84
85
|
|
|
85
86
|
___
|
|
86
87
|
|
|
88
|
+
### `Optional` braintreevenmo
|
|
89
|
+
|
|
90
|
+
• **braintreevenmo**? : *[BraintreeVenmoButtonInitializeOptions](braintreevenmobuttoninitializeoptions.md)*
|
|
91
|
+
|
|
92
|
+
The options that are required to facilitate Braintree Venmo. They can be
|
|
93
|
+
omitted unless you need to support Braintree Venmo.
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
87
97
|
### containerId
|
|
88
98
|
|
|
89
99
|
• **containerId**: *string*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigcommerce/checkout-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.254.0",
|
|
4
4
|
"description": "BigCommerce Checkout JavaScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/checkout-sdk.js",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"bundle-dts": "api-extractor run --config api-extractor/checkout-sdk.json & api-extractor run --config api-extractor/checkout-button.json & api-extractor run --config api-extractor/embedded-checkout.json & api-extractor run --config api-extractor/internal-mappers.json",
|
|
37
37
|
"postbundle-dts": "rm -rf temp",
|
|
38
38
|
"docs": "typedoc --plugin typedoc-plugin-markdown --mode file --module commonjs --readme none --out docs --includeDeclarations --excludeExternals --excludePrivate --excludeProtected --hideSources --tsconfig ./packages/core/tsconfig.json dist/checkout-sdk.d.ts",
|
|
39
|
-
"lint": "npx nx run
|
|
39
|
+
"lint": "npx nx run-many --target=lint --all",
|
|
40
40
|
"release": "echo 'Please do not release locally, use CircleCi'",
|
|
41
41
|
"release:version": "git add dist docs && standard-version -a",
|
|
42
42
|
"release:alpha": "export PRERELEASE=alpha; npm run lint && npm test && npm run build && npm run release:version",
|
|
43
|
-
"test": "npx nx run
|
|
43
|
+
"test": "npx nx run-many --target=test --all",
|
|
44
44
|
"test:coverage": "npm run test -- --coverage",
|
|
45
45
|
"test:series": "npm run test -- --runInBand",
|
|
46
46
|
"test:watch": "npm run test -- --watch"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@babel/polyfill": "^7.4.4",
|
|
50
|
-
"@bigcommerce/bigpay-client": "^5.
|
|
50
|
+
"@bigcommerce/bigpay-client": "^5.18.0",
|
|
51
51
|
"@bigcommerce/data-store": "^1.0.1",
|
|
52
52
|
"@bigcommerce/form-poster": "^1.4.0",
|
|
53
53
|
"@bigcommerce/memoize": "^1.0.0",
|