@orpc/server 0.0.0-next.84e58e0 → 0.0.0-next.85df466
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/README.md +1 -1
- package/dist/adapters/fetch/index.mjs +3 -3
- package/dist/adapters/hono/index.mjs +3 -3
- package/dist/adapters/next/index.mjs +3 -3
- package/dist/adapters/node/index.mjs +2 -2
- package/dist/adapters/standard/index.d.mts +1 -1
- package/dist/adapters/standard/index.d.ts +1 -1
- package/dist/adapters/standard/index.mjs +2 -2
- package/dist/shared/{server.DYPdLT8C.mjs → server.BBGuTxHE.mjs} +1 -1
- package/dist/shared/{server.CrfIqd9b.mjs → server.CUE4Aija.mjs} +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
export { R as RPCHandler } from '../../shared/server.
|
1
|
+
export { R as RPCHandler } from '../../shared/server.CUE4Aija.mjs';
|
2
2
|
import '@orpc/standard-server-fetch';
|
3
|
-
import '../../shared/server.
|
3
|
+
import '../../shared/server.BBGuTxHE.mjs';
|
4
4
|
import '@orpc/client';
|
5
5
|
import '@orpc/shared';
|
6
6
|
import '../../shared/server.Q6ZmnTgO.mjs';
|
7
7
|
import '../../shared/server.V6zT5iYQ.mjs';
|
8
8
|
import '@orpc/contract';
|
9
|
-
import '@orpc/client/
|
9
|
+
import '@orpc/client/standard';
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export { R as RPCHandler } from '../../shared/server.
|
1
|
+
export { R as RPCHandler } from '../../shared/server.CUE4Aija.mjs';
|
2
2
|
import { value } from '@orpc/shared';
|
3
3
|
import '@orpc/standard-server-fetch';
|
4
|
-
import '../../shared/server.
|
4
|
+
import '../../shared/server.BBGuTxHE.mjs';
|
5
5
|
import '@orpc/client';
|
6
6
|
import '../../shared/server.Q6ZmnTgO.mjs';
|
7
7
|
import '../../shared/server.V6zT5iYQ.mjs';
|
8
8
|
import '@orpc/contract';
|
9
|
-
import '@orpc/client/
|
9
|
+
import '@orpc/client/standard';
|
10
10
|
|
11
11
|
function createMiddleware(handler, ...[options]) {
|
12
12
|
return async (c, next) => {
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export { R as RPCHandler } from '../../shared/server.
|
1
|
+
export { R as RPCHandler } from '../../shared/server.CUE4Aija.mjs';
|
2
2
|
import { value } from '@orpc/shared';
|
3
3
|
import '@orpc/standard-server-fetch';
|
4
|
-
import '../../shared/server.
|
4
|
+
import '../../shared/server.BBGuTxHE.mjs';
|
5
5
|
import '@orpc/client';
|
6
6
|
import '../../shared/server.Q6ZmnTgO.mjs';
|
7
7
|
import '../../shared/server.V6zT5iYQ.mjs';
|
8
8
|
import '@orpc/contract';
|
9
|
-
import '@orpc/client/
|
9
|
+
import '@orpc/client/standard';
|
10
10
|
|
11
11
|
function serve(handler, ...[options]) {
|
12
12
|
const main = async (req) => {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { toStandardRequest, sendStandardResponse } from '@orpc/standard-server-node';
|
2
|
-
import { R as RPCCodec, a as RPCMatcher, S as StandardHandler } from '../../shared/server.
|
2
|
+
import { R as RPCCodec, a as RPCMatcher, S as StandardHandler } from '../../shared/server.BBGuTxHE.mjs';
|
3
3
|
import '@orpc/client';
|
4
4
|
import '@orpc/shared';
|
5
5
|
import '../../shared/server.Q6ZmnTgO.mjs';
|
6
6
|
import '../../shared/server.V6zT5iYQ.mjs';
|
7
7
|
import '@orpc/contract';
|
8
|
-
import '@orpc/client/
|
8
|
+
import '@orpc/client/standard';
|
9
9
|
|
10
10
|
class RPCHandler {
|
11
11
|
standardHandler;
|
@@ -3,7 +3,7 @@ export { S as StandardHandleOptions, g as StandardHandleResult, h as StandardHan
|
|
3
3
|
import { ORPCError } from '@orpc/client';
|
4
4
|
import { StandardRequest, StandardResponse } from '@orpc/standard-server';
|
5
5
|
import { A as AnyProcedure, a as AnyRouter } from '../../shared/server.CI7U5gRZ.mjs';
|
6
|
-
import { RPCSerializer } from '@orpc/client/
|
6
|
+
import { RPCSerializer } from '@orpc/client/standard';
|
7
7
|
export { R as RPCHandlerOptions } from '../../shared/server.MnOqRlBp.mjs';
|
8
8
|
import { HTTPPath } from '@orpc/contract';
|
9
9
|
import '@orpc/shared';
|
@@ -3,7 +3,7 @@ export { S as StandardHandleOptions, g as StandardHandleResult, h as StandardHan
|
|
3
3
|
import { ORPCError } from '@orpc/client';
|
4
4
|
import { StandardRequest, StandardResponse } from '@orpc/standard-server';
|
5
5
|
import { A as AnyProcedure, a as AnyRouter } from '../../shared/server.CI7U5gRZ.js';
|
6
|
-
import { RPCSerializer } from '@orpc/client/
|
6
|
+
import { RPCSerializer } from '@orpc/client/standard';
|
7
7
|
export { R as RPCHandlerOptions } from '../../shared/server.BqEaivV1.js';
|
8
8
|
import { HTTPPath } from '@orpc/contract';
|
9
9
|
import '@orpc/shared';
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export { R as RPCCodec, a as RPCMatcher, S as StandardHandler } from '../../shared/server.
|
1
|
+
export { R as RPCCodec, a as RPCMatcher, S as StandardHandler } from '../../shared/server.BBGuTxHE.mjs';
|
2
2
|
import '@orpc/client';
|
3
3
|
import '@orpc/shared';
|
4
4
|
import '../../shared/server.Q6ZmnTgO.mjs';
|
5
5
|
import '../../shared/server.V6zT5iYQ.mjs';
|
6
6
|
import '@orpc/contract';
|
7
|
-
import '@orpc/client/
|
7
|
+
import '@orpc/client/standard';
|
@@ -2,7 +2,7 @@ import { ORPCError, toORPCError } from '@orpc/client';
|
|
2
2
|
import { intercept, trim, parseEmptyableJSON } from '@orpc/shared';
|
3
3
|
import { C as CompositePlugin } from './server.Q6ZmnTgO.mjs';
|
4
4
|
import { c as createProcedureClient, e as eachContractProcedure, a as convertPathToHttpPath, i as isProcedure, u as unlazy, g as getRouterChild, b as createContractedProcedure } from './server.V6zT5iYQ.mjs';
|
5
|
-
import { RPCSerializer } from '@orpc/client/
|
5
|
+
import { RPCSerializer } from '@orpc/client/standard';
|
6
6
|
|
7
7
|
class StandardHandler {
|
8
8
|
constructor(router, matcher, codec, options = {}) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { toStandardRequest, toFetchResponse } from '@orpc/standard-server-fetch';
|
2
|
-
import { a as RPCMatcher, R as RPCCodec, S as StandardHandler } from './server.
|
2
|
+
import { a as RPCMatcher, R as RPCCodec, S as StandardHandler } from './server.BBGuTxHE.mjs';
|
3
3
|
|
4
4
|
class RPCHandler {
|
5
5
|
standardHandler;
|
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.85df466",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -58,12 +58,12 @@
|
|
58
58
|
"next": ">=14.0.0"
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
-
"@orpc/
|
62
|
-
"@orpc/
|
63
|
-
"@orpc/shared": "0.0.0-next.
|
64
|
-
"@orpc/
|
65
|
-
"@orpc/standard-server-
|
66
|
-
"@orpc/standard-server": "0.0.0-next.
|
61
|
+
"@orpc/contract": "0.0.0-next.85df466",
|
62
|
+
"@orpc/client": "0.0.0-next.85df466",
|
63
|
+
"@orpc/shared": "0.0.0-next.85df466",
|
64
|
+
"@orpc/standard-server": "0.0.0-next.85df466",
|
65
|
+
"@orpc/standard-server-fetch": "0.0.0-next.85df466",
|
66
|
+
"@orpc/standard-server-node": "0.0.0-next.85df466"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
69
|
"light-my-request": "^6.5.1"
|