@arrirpc/server 0.54.0 → 0.55.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/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -17,9 +17,9 @@ declare class ArriServerError extends Error {
|
|
|
17
17
|
declare const ArriServerErrorResponse: AObjectSchema<{
|
|
18
18
|
code: number;
|
|
19
19
|
message: string;
|
|
20
|
-
stack?: string[]
|
|
20
|
+
stack?: string[];
|
|
21
21
|
data?: any;
|
|
22
|
-
}
|
|
22
|
+
}>;
|
|
23
23
|
type ArriServerErrorResponse = a.infer<typeof ArriServerErrorResponse>;
|
|
24
24
|
declare function defineError(statusCode: StatusCode, input?: Partial<Omit<ArriServerErrorResponse, "code" | "stack">>): ArriServerError;
|
|
25
25
|
declare function errorResponseFromValidationErrors(errors: ValidationError["errors"], prefixText?: string): H3Error;
|
package/dist/index.d.mts
CHANGED
|
@@ -17,9 +17,9 @@ declare class ArriServerError extends Error {
|
|
|
17
17
|
declare const ArriServerErrorResponse: AObjectSchema<{
|
|
18
18
|
code: number;
|
|
19
19
|
message: string;
|
|
20
|
-
stack?: string[]
|
|
20
|
+
stack?: string[];
|
|
21
21
|
data?: any;
|
|
22
|
-
}
|
|
22
|
+
}>;
|
|
23
23
|
type ArriServerErrorResponse = a.infer<typeof ArriServerErrorResponse>;
|
|
24
24
|
declare function defineError(statusCode: StatusCode, input?: Partial<Omit<ArriServerErrorResponse, "code" | "stack">>): ArriServerError;
|
|
25
25
|
declare function errorResponseFromValidationErrors(errors: ValidationError["errors"], prefixText?: string): H3Error;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ declare class ArriServerError extends Error {
|
|
|
17
17
|
declare const ArriServerErrorResponse: AObjectSchema<{
|
|
18
18
|
code: number;
|
|
19
19
|
message: string;
|
|
20
|
-
stack?: string[]
|
|
20
|
+
stack?: string[];
|
|
21
21
|
data?: any;
|
|
22
|
-
}
|
|
22
|
+
}>;
|
|
23
23
|
type ArriServerErrorResponse = a.infer<typeof ArriServerErrorResponse>;
|
|
24
24
|
declare function defineError(statusCode: StatusCode, input?: Partial<Omit<ArriServerErrorResponse, "code" | "stack">>): ArriServerError;
|
|
25
25
|
declare function errorResponseFromValidationErrors(errors: ValidationError["errors"], prefixText?: string): H3Error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arrirpc/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"scule": "^1.3.0",
|
|
29
29
|
"source-map-support": "^0.5.21",
|
|
30
30
|
"uncrypto": "^0.1.3",
|
|
31
|
-
"@arrirpc/codegen-dart": "0.
|
|
32
|
-
"@arrirpc/codegen-
|
|
33
|
-
"@arrirpc/codegen-
|
|
34
|
-
"
|
|
35
|
-
"@arrirpc/schema": "0.
|
|
36
|
-
"
|
|
31
|
+
"@arrirpc/codegen-dart": "0.55.0",
|
|
32
|
+
"@arrirpc/codegen-ts": "0.55.0",
|
|
33
|
+
"@arrirpc/codegen-utils": "0.55.0",
|
|
34
|
+
"@arrirpc/codegen-kotlin": "0.55.0",
|
|
35
|
+
"@arrirpc/schema": "0.55.0",
|
|
36
|
+
"arri": "0.55.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"bun-types": "^1.1.
|
|
39
|
+
"bun-types": "^1.1.20"
|
|
40
40
|
}
|
|
41
41
|
}
|