@deliverart/sdk-js-error-handler 2.2.0 → 2.2.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -11225,7 +11225,7 @@ config(en_default());
|
|
|
11225
11225
|
|
|
11226
11226
|
// src/types.ts
|
|
11227
11227
|
var validationErrorDataSchema = external_exports.object({
|
|
11228
|
-
status: external_exports.number(),
|
|
11228
|
+
status: external_exports.coerce.number(),
|
|
11229
11229
|
violations: external_exports.array(
|
|
11230
11230
|
external_exports.object({
|
|
11231
11231
|
propertyPath: external_exports.string(),
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { ApiClientPlugin, ApiClient } from '@deliverart/sdk-js-core';
|
|
3
3
|
|
|
4
4
|
declare const validationErrorDataSchema: z.ZodObject<{
|
|
5
|
-
status: z.
|
|
5
|
+
status: z.ZodCoercedNumber<unknown>;
|
|
6
6
|
violations: z.ZodArray<z.ZodObject<{
|
|
7
7
|
propertyPath: z.ZodString;
|
|
8
8
|
message: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { ApiClientPlugin, ApiClient } from '@deliverart/sdk-js-core';
|
|
3
3
|
|
|
4
4
|
declare const validationErrorDataSchema: z.ZodObject<{
|
|
5
|
-
status: z.
|
|
5
|
+
status: z.ZodCoercedNumber<unknown>;
|
|
6
6
|
violations: z.ZodArray<z.ZodObject<{
|
|
7
7
|
propertyPath: z.ZodString;
|
|
8
8
|
message: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -11200,7 +11200,7 @@ config(en_default());
|
|
|
11200
11200
|
|
|
11201
11201
|
// src/types.ts
|
|
11202
11202
|
var validationErrorDataSchema = external_exports.object({
|
|
11203
|
-
status: external_exports.number(),
|
|
11203
|
+
status: external_exports.coerce.number(),
|
|
11204
11204
|
violations: external_exports.array(
|
|
11205
11205
|
external_exports.object({
|
|
11206
11206
|
propertyPath: external_exports.string(),
|
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.2.
|
|
4
|
+
"version": "2.2.1",
|
|
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.2.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.2.1"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|