@orpc/openapi 0.42.0 → 0.43.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/{chunk-PGCWJMRO.js → chunk-LTTK3H5J.js} +1 -1
- package/dist/{chunk-ATDLVTJE.js → chunk-PW7RAFQQ.js} +3 -3
- package/dist/fetch.js +2 -2
- package/dist/hono.js +2 -2
- package/dist/next.js +2 -2
- package/dist/node.js +2 -2
- package/dist/src/adapters/standard/openapi-codec.d.ts +1 -1
- package/dist/standard.js +1 -1
- package/package.json +8 -8
@@ -1,11 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
OpenAPICodec,
|
3
3
|
OpenAPIMatcher
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-LTTK3H5J.js";
|
5
5
|
|
6
6
|
// src/adapters/fetch/openapi-handler.ts
|
7
|
-
import { toFetchResponse, toStandardRequest } from "@orpc/server-standard-fetch";
|
8
7
|
import { StandardHandler } from "@orpc/server/standard";
|
8
|
+
import { toFetchResponse, toStandardRequest } from "@orpc/standard-server-fetch";
|
9
9
|
var OpenAPIHandler = class {
|
10
10
|
standardHandler;
|
11
11
|
constructor(router, options) {
|
@@ -29,4 +29,4 @@ var OpenAPIHandler = class {
|
|
29
29
|
export {
|
30
30
|
OpenAPIHandler
|
31
31
|
};
|
32
|
-
//# sourceMappingURL=chunk-
|
32
|
+
//# sourceMappingURL=chunk-PW7RAFQQ.js.map
|
package/dist/fetch.js
CHANGED
package/dist/hono.js
CHANGED
package/dist/next.js
CHANGED
package/dist/node.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
OpenAPICodec,
|
3
3
|
OpenAPIMatcher
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-LTTK3H5J.js";
|
5
5
|
import "./chunk-XGHV4TH3.js";
|
6
6
|
|
7
7
|
// src/adapters/node/openapi-handler.ts
|
8
|
-
import { sendStandardResponse, toStandardRequest } from "@orpc/server-standard-node";
|
9
8
|
import { StandardHandler } from "@orpc/server/standard";
|
9
|
+
import { sendStandardResponse, toStandardRequest } from "@orpc/standard-server-node";
|
10
10
|
var OpenAPIHandler = class {
|
11
11
|
standardHandler;
|
12
12
|
constructor(router, options) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { ORPCError } from '@orpc/client';
|
2
2
|
import type { AnyProcedure } from '@orpc/server';
|
3
|
-
import type { StandardRequest, StandardResponse } from '@orpc/server-standard';
|
4
3
|
import type { StandardCodec, StandardParams } from '@orpc/server/standard';
|
4
|
+
import type { StandardRequest, StandardResponse } from '@orpc/standard-server';
|
5
5
|
import { OpenAPISerializer } from '@orpc/client/openapi';
|
6
6
|
export declare class OpenAPICodec implements StandardCodec {
|
7
7
|
private readonly serializer;
|
package/dist/standard.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/openapi",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.43.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -54,16 +54,16 @@
|
|
54
54
|
"dist"
|
55
55
|
],
|
56
56
|
"dependencies": {
|
57
|
-
"@orpc/server-standard": "^0.4.0",
|
58
|
-
"@orpc/server-standard-fetch": "^0.4.0",
|
59
|
-
"@orpc/server-standard-node": "^0.4.0",
|
60
57
|
"json-schema-typed": "^8.0.1",
|
61
58
|
"openapi3-ts": "^4.4.0",
|
62
59
|
"rou3": "^0.5.1",
|
63
|
-
"@orpc/client": "0.
|
64
|
-
"@orpc/contract": "0.
|
65
|
-
"@orpc/shared": "0.
|
66
|
-
"@orpc/server": "0.
|
60
|
+
"@orpc/client": "0.43.0",
|
61
|
+
"@orpc/contract": "0.43.0",
|
62
|
+
"@orpc/shared": "0.43.0",
|
63
|
+
"@orpc/standard-server-fetch": "0.43.0",
|
64
|
+
"@orpc/standard-server": "0.43.0",
|
65
|
+
"@orpc/server": "0.43.0",
|
66
|
+
"@orpc/standard-server-node": "0.43.0"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
69
|
"zod": "^3.24.1"
|