@deliverart/sdk-js-error-handler 2.1.5 → 2.1.7
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/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -40,6 +40,12 @@ type FormState<T> = {
|
|
|
40
40
|
} | {
|
|
41
41
|
success: false;
|
|
42
42
|
error: ApiErrorData;
|
|
43
|
+
} | {
|
|
44
|
+
success: false;
|
|
45
|
+
error: {
|
|
46
|
+
type: 'UNKNOWN_ERROR';
|
|
47
|
+
value: unknown;
|
|
48
|
+
};
|
|
43
49
|
};
|
|
44
50
|
declare class FormStateError extends Error {
|
|
45
51
|
readonly error: ApiErrorData;
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,12 @@ type FormState<T> = {
|
|
|
40
40
|
} | {
|
|
41
41
|
success: false;
|
|
42
42
|
error: ApiErrorData;
|
|
43
|
+
} | {
|
|
44
|
+
success: false;
|
|
45
|
+
error: {
|
|
46
|
+
type: 'UNKNOWN_ERROR';
|
|
47
|
+
value: unknown;
|
|
48
|
+
};
|
|
43
49
|
};
|
|
44
50
|
declare class FormStateError extends Error {
|
|
45
51
|
readonly error: ApiErrorData;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-error-handler",
|
|
3
3
|
"description": "Error handling utilities for Deliverart SDK in JavaScript",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.1.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.1.7"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|