@bigcommerce/checkout-sdk 1.772.0 → 1.773.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.
@@ -56,6 +56,7 @@ service.initializePayment({
56
56
  ### Methods
57
57
 
58
58
  - [onChange](PayPalCommerceFastlanePaymentInitializeOptions.md#onchange)
59
+ - [onError](PayPalCommerceFastlanePaymentInitializeOptions.md#onerror)
59
60
  - [onInit](PayPalCommerceFastlanePaymentInitializeOptions.md#oninit)
60
61
 
61
62
  ## Properties
@@ -91,6 +92,24 @@ when get triggered
91
92
 
92
93
  ___
93
94
 
95
+ ### onError
96
+
97
+ ▸ `Optional` **onError**(`error`): `void`
98
+
99
+ Callback that handles errors
100
+
101
+ #### Parameters
102
+
103
+ | Name | Type |
104
+ | :------ | :------ |
105
+ | `error` | `unknown` |
106
+
107
+ #### Returns
108
+
109
+ `void`
110
+
111
+ ___
112
+
94
113
  ### onInit
95
114
 
96
115
  ▸ `Optional` **onInit**(`renderPayPalCardComponent`): `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.772.0",
3
+ "version": "1.773.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",