@orpc/server 0.0.0-next.b6be6f0 → 0.0.0-next.c12be86
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __export = (target, all) => {
|
3
|
+
for (var name in all)
|
4
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
5
|
+
};
|
6
|
+
|
1
7
|
// src/utils.ts
|
2
8
|
function mergeContext(a, b) {
|
3
9
|
if (!a)
|
@@ -168,6 +174,7 @@ function getRouterChild(router, ...path) {
|
|
168
174
|
}
|
169
175
|
|
170
176
|
export {
|
177
|
+
__export,
|
171
178
|
mergeContext,
|
172
179
|
Procedure,
|
173
180
|
isProcedure,
|
@@ -179,4 +186,4 @@ export {
|
|
179
186
|
createProcedureClient,
|
180
187
|
getRouterChild
|
181
188
|
};
|
182
|
-
//# sourceMappingURL=chunk-
|
189
|
+
//# sourceMappingURL=chunk-6A7XHEBH.js.map
|
package/dist/fetch.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import {
|
2
|
+
__export,
|
2
3
|
createProcedureClient,
|
3
4
|
getRouterChild,
|
4
5
|
isProcedure,
|
5
6
|
unlazy
|
6
|
-
} from "./chunk-
|
7
|
+
} from "./chunk-6A7XHEBH.js";
|
7
8
|
|
8
9
|
// src/fetch/composite-handler.ts
|
9
10
|
var CompositeHandler = class {
|
@@ -30,6 +31,13 @@ import { ORPCError as ORPCError2 } from "@orpc/shared/error";
|
|
30
31
|
import { findDeepMatches, set } from "@orpc/shared";
|
31
32
|
import { ORPCError } from "@orpc/shared/error";
|
32
33
|
|
34
|
+
// src/fetch/super-json.ts
|
35
|
+
var super_json_exports = {};
|
36
|
+
__export(super_json_exports, {
|
37
|
+
deserialize: () => deserialize,
|
38
|
+
serialize: () => serialize
|
39
|
+
});
|
40
|
+
|
33
41
|
// ../../node_modules/.pnpm/is-what@5.0.2/node_modules/is-what/dist/getType.js
|
34
42
|
function getType(payload) {
|
35
43
|
return Object.prototype.toString.call(payload).slice(8, -1);
|
@@ -310,6 +318,7 @@ export {
|
|
310
318
|
CompositeHandler,
|
311
319
|
ORPCHandler,
|
312
320
|
ORPCPayloadCodec,
|
313
|
-
ORPCProcedureMatcher
|
321
|
+
ORPCProcedureMatcher,
|
322
|
+
super_json_exports as SuperJSON
|
314
323
|
};
|
315
324
|
//# sourceMappingURL=fetch.js.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/server",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.0-next.
|
4
|
+
"version": "0.0.0-next.c12be86",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -34,8 +34,8 @@
|
|
34
34
|
"dist"
|
35
35
|
],
|
36
36
|
"dependencies": {
|
37
|
-
"@orpc/contract": "0.0.0-next.
|
38
|
-
"@orpc/shared": "0.0.0-next.
|
37
|
+
"@orpc/contract": "0.0.0-next.c12be86",
|
38
|
+
"@orpc/shared": "0.0.0-next.c12be86"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"zod": "^3.24.1"
|