@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/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.252.0",
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 core:lint",
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 core:test",
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.17.0",
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",