@orpc/server 0.0.0-next.b77809d → 0.0.0-next.b81d47f
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 +8 -4
- package/dist/adapters/aws-lambda/index.d.mts +7 -7
- package/dist/adapters/aws-lambda/index.d.ts +7 -7
- package/dist/adapters/aws-lambda/index.mjs +3 -3
- package/dist/adapters/bun-ws/index.d.mts +7 -7
- package/dist/adapters/bun-ws/index.d.ts +7 -7
- package/dist/adapters/bun-ws/index.mjs +2 -2
- package/dist/adapters/crossws/index.d.mts +7 -7
- package/dist/adapters/crossws/index.d.ts +7 -7
- package/dist/adapters/crossws/index.mjs +2 -2
- package/dist/adapters/fastify/index.d.mts +53 -0
- package/dist/adapters/fastify/index.d.ts +53 -0
- package/dist/adapters/fastify/index.mjs +54 -0
- package/dist/adapters/fetch/index.d.mts +12 -12
- package/dist/adapters/fetch/index.d.ts +12 -12
- package/dist/adapters/fetch/index.mjs +5 -4
- package/dist/adapters/message-port/index.d.mts +37 -11
- package/dist/adapters/message-port/index.d.ts +37 -11
- package/dist/adapters/message-port/index.mjs +28 -12
- package/dist/adapters/node/index.d.mts +13 -13
- package/dist/adapters/node/index.d.ts +13 -13
- package/dist/adapters/node/index.mjs +3 -3
- package/dist/adapters/standard/index.d.mts +6 -6
- package/dist/adapters/standard/index.d.ts +6 -6
- package/dist/adapters/standard/index.mjs +2 -2
- package/dist/adapters/standard-peer/index.d.mts +3 -3
- package/dist/adapters/standard-peer/index.d.ts +3 -3
- package/dist/adapters/websocket/index.d.mts +11 -9
- package/dist/adapters/websocket/index.d.ts +11 -9
- package/dist/adapters/websocket/index.mjs +2 -2
- package/dist/adapters/ws/index.d.mts +7 -7
- package/dist/adapters/ws/index.d.ts +7 -7
- package/dist/adapters/ws/index.mjs +2 -2
- package/dist/helpers/index.d.mts +16 -1
- package/dist/helpers/index.d.ts +16 -1
- package/dist/helpers/index.mjs +11 -1
- package/dist/hibernation/index.d.mts +4 -4
- package/dist/hibernation/index.d.ts +4 -4
- package/dist/index.d.mts +102 -102
- package/dist/index.d.ts +102 -102
- package/dist/index.mjs +34 -31
- package/dist/plugins/index.d.mts +11 -8
- package/dist/plugins/index.d.ts +11 -8
- package/dist/plugins/index.mjs +13 -11
- package/dist/shared/{server.Bmh5xd4n.d.ts → server.7cEtMB30.d.ts} +1 -1
- package/dist/shared/{server.BEFBl-Cb.d.mts → server.B8gYOD5g.d.mts} +2 -2
- package/dist/shared/{server.gqRxT-yN.d.mts → server.BqadksTP.d.mts} +1 -1
- package/dist/shared/{server.CYRYFTxo.mjs → server.Bxx6tqNe.mjs} +1 -1
- package/dist/shared/{server.DhJj-1X9.d.mts → server.C8_sRzQB.d.mts} +1 -1
- package/dist/shared/{server.BU4WI18A.d.mts → server.ChUyt5-i.d.mts} +3 -3
- package/dist/shared/{server.jMTkVNIb.d.ts → server.ChyoA9XY.d.ts} +1 -1
- package/dist/shared/{server.B_fj3X5m.mjs → server.Ds4HPpvH.mjs} +31 -30
- package/dist/shared/{server.B7b2w3_i.d.ts → server.EfTOZ2Q7.d.ts} +2 -2
- package/dist/shared/{server.BW-nUGgA.mjs → server.TEVCLCFC.mjs} +3 -0
- package/dist/shared/{server.CYNGeoCm.d.mts → server.qKsRrdxW.d.mts} +10 -11
- package/dist/shared/{server.CYNGeoCm.d.ts → server.qKsRrdxW.d.ts} +10 -11
- package/dist/shared/{server.D0H-iaY3.d.ts → server.yoEB3Fx4.d.ts} +3 -3
- package/package.json +22 -13
|
@@ -13,7 +13,6 @@ type ORPCErrorConstructorMap<T extends ErrorMap> = {
|
|
|
13
13
|
[K in keyof T]: K extends ORPCErrorCode ? T[K] extends ErrorMapItem<infer UInputSchema> ? ORPCErrorConstructorMapItem<K, InferSchemaInput<UInputSchema>> : never : never;
|
|
14
14
|
};
|
|
15
15
|
declare function createORPCErrorConstructorMap<T extends ErrorMap>(errors: T): ORPCErrorConstructorMap<T>;
|
|
16
|
-
declare function validateORPCError(map: ErrorMap, error: ORPCError<any, any>): Promise<ORPCError<string, unknown>>;
|
|
17
16
|
|
|
18
17
|
declare const LAZY_SYMBOL: unique symbol;
|
|
19
18
|
interface LazyMeta {
|
|
@@ -64,7 +63,7 @@ interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends
|
|
|
64
63
|
/**
|
|
65
64
|
* This class represents a procedure.
|
|
66
65
|
*
|
|
67
|
-
* @see {@link https://orpc.
|
|
66
|
+
* @see {@link https://orpc.dev/docs/procedure Procedure Docs}
|
|
68
67
|
*/
|
|
69
68
|
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
70
69
|
/**
|
|
@@ -103,7 +102,7 @@ interface MiddlewareOptions<TInContext extends Context, TOutput, TErrorConstruct
|
|
|
103
102
|
/**
|
|
104
103
|
* A function that represents a middleware.
|
|
105
104
|
*
|
|
106
|
-
* @see {@link https://orpc.
|
|
105
|
+
* @see {@link https://orpc.dev/docs/middleware Middleware Docs}
|
|
107
106
|
*/
|
|
108
107
|
interface Middleware<TInContext extends Context, TOutContext extends Context, TInput, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
109
108
|
(options: MiddlewareOptions<TInContext, TOutput, TErrorConstructorMap, TMeta>, input: TInput, output: MiddlewareOutputFn<TOutput>): Promisable<MiddlewareResult<TOutContext, TOutput>>;
|
|
@@ -138,7 +137,7 @@ type CreateProcedureClientOptions<TInitialContext extends Context, TOutputSchema
|
|
|
138
137
|
/**
|
|
139
138
|
* Create Server-side client from a procedure.
|
|
140
139
|
*
|
|
141
|
-
* @see {@link https://orpc.
|
|
140
|
+
* @see {@link https://orpc.dev/docs/client/server-side Server-side Client Docs}
|
|
142
141
|
*/
|
|
143
142
|
declare function createProcedureClient<TInitialContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta, TClientContext extends ClientContext>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TInputSchema, TOutputSchema, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TOutputSchema, TErrorMap, TMeta, TClientContext>>): ProcedureClient<TClientContext, TInputSchema, TOutputSchema, TErrorMap>;
|
|
144
143
|
|
|
@@ -146,7 +145,7 @@ declare function createProcedureClient<TInitialContext extends Context, TInputSc
|
|
|
146
145
|
* Represents a router, which defines a hierarchical structure of procedures.
|
|
147
146
|
*
|
|
148
147
|
* @info A procedure is a router too.
|
|
149
|
-
* @see {@link https://orpc.
|
|
148
|
+
* @see {@link https://orpc.dev/docs/contract-first/define-contract#contract-router Contract Router Docs}
|
|
150
149
|
*/
|
|
151
150
|
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer UInputSchema, infer UOutputSchema, infer UErrorMap, infer UMeta> ? Procedure<TInitialContext, any, UInputSchema, UOutputSchema, UErrorMap, UMeta> : {
|
|
152
151
|
[K in keyof T]: T[K] extends AnyContractRouter ? Lazyable<Router<T[K], TInitialContext>> : never;
|
|
@@ -157,7 +156,7 @@ type InferRouterInitialContext<T extends AnyRouter> = T extends Router<any, infe
|
|
|
157
156
|
* Infer all initial context of the router.
|
|
158
157
|
*
|
|
159
158
|
* @info A procedure is a router too.
|
|
160
|
-
* @see {@link https://orpc.
|
|
159
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
161
160
|
*/
|
|
162
161
|
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any, any> ? UInitialContext : {
|
|
163
162
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInitialContexts<U> : never;
|
|
@@ -166,7 +165,7 @@ type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer
|
|
|
166
165
|
* Infer all current context of the router.
|
|
167
166
|
*
|
|
168
167
|
* @info A procedure is a router too.
|
|
169
|
-
* @see {@link https://orpc.
|
|
168
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
170
169
|
*/
|
|
171
170
|
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any, any> ? UCurrentContext : {
|
|
172
171
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterCurrentContexts<U> : never;
|
|
@@ -175,7 +174,7 @@ type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any,
|
|
|
175
174
|
* Infer all router inputs
|
|
176
175
|
*
|
|
177
176
|
* @info A procedure is a router too.
|
|
178
|
-
* @see {@link https://orpc.
|
|
177
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
179
178
|
*/
|
|
180
179
|
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer UInputSchema, any, any, any> ? InferSchemaInput<UInputSchema> : {
|
|
181
180
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInputs<U> : never;
|
|
@@ -184,11 +183,11 @@ type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infe
|
|
|
184
183
|
* Infer all router outputs
|
|
185
184
|
*
|
|
186
185
|
* @info A procedure is a router too.
|
|
187
|
-
* @see {@link https://orpc.
|
|
186
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
188
187
|
*/
|
|
189
188
|
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any, any, infer UOutputSchema, any, any> ? InferSchemaOutput<UOutputSchema> : {
|
|
190
189
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterOutputs<U> : never;
|
|
191
190
|
};
|
|
192
191
|
|
|
193
|
-
export {
|
|
194
|
-
export type { AnyProcedure as A, Context as C,
|
|
192
|
+
export { isProcedure as E, createProcedureClient as F, Procedure as P, mergeCurrentContext as m, createORPCErrorConstructorMap as n, LAZY_SYMBOL as o, lazy as q, isLazy as r, getLazyMeta as s, unlazy as u, middlewareOutputFn as z };
|
|
193
|
+
export type { AnyProcedure as A, ProcedureHandlerOptions as B, Context as C, ProcedureDef as D, InferRouterInitialContexts as G, InferRouterCurrentContexts as H, InferRouterInitialContext as I, InferRouterInputs as J, InferRouterOutputs as K, Lazyable as L, MergedInitialContext as M, ORPCErrorConstructorMap as O, Router as R, AnyMiddleware as a, AnyRouter as b, Lazy as c, ProcedureClientInterceptorOptions as d, Middleware as e, MergedCurrentContext as f, MapInputMiddleware as g, CreateProcedureClientOptions as h, ProcedureClient as i, ProcedureHandler as j, ORPCErrorConstructorMapItemOptions as k, ORPCErrorConstructorMapItem as l, LazyMeta as p, MiddlewareResult as t, MiddlewareNextFnOptions as v, MiddlewareNextFn as w, MiddlewareOutputFn as x, MiddlewareOptions as y };
|
|
@@ -13,7 +13,6 @@ type ORPCErrorConstructorMap<T extends ErrorMap> = {
|
|
|
13
13
|
[K in keyof T]: K extends ORPCErrorCode ? T[K] extends ErrorMapItem<infer UInputSchema> ? ORPCErrorConstructorMapItem<K, InferSchemaInput<UInputSchema>> : never : never;
|
|
14
14
|
};
|
|
15
15
|
declare function createORPCErrorConstructorMap<T extends ErrorMap>(errors: T): ORPCErrorConstructorMap<T>;
|
|
16
|
-
declare function validateORPCError(map: ErrorMap, error: ORPCError<any, any>): Promise<ORPCError<string, unknown>>;
|
|
17
16
|
|
|
18
17
|
declare const LAZY_SYMBOL: unique symbol;
|
|
19
18
|
interface LazyMeta {
|
|
@@ -64,7 +63,7 @@ interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends
|
|
|
64
63
|
/**
|
|
65
64
|
* This class represents a procedure.
|
|
66
65
|
*
|
|
67
|
-
* @see {@link https://orpc.
|
|
66
|
+
* @see {@link https://orpc.dev/docs/procedure Procedure Docs}
|
|
68
67
|
*/
|
|
69
68
|
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
70
69
|
/**
|
|
@@ -103,7 +102,7 @@ interface MiddlewareOptions<TInContext extends Context, TOutput, TErrorConstruct
|
|
|
103
102
|
/**
|
|
104
103
|
* A function that represents a middleware.
|
|
105
104
|
*
|
|
106
|
-
* @see {@link https://orpc.
|
|
105
|
+
* @see {@link https://orpc.dev/docs/middleware Middleware Docs}
|
|
107
106
|
*/
|
|
108
107
|
interface Middleware<TInContext extends Context, TOutContext extends Context, TInput, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
109
108
|
(options: MiddlewareOptions<TInContext, TOutput, TErrorConstructorMap, TMeta>, input: TInput, output: MiddlewareOutputFn<TOutput>): Promisable<MiddlewareResult<TOutContext, TOutput>>;
|
|
@@ -138,7 +137,7 @@ type CreateProcedureClientOptions<TInitialContext extends Context, TOutputSchema
|
|
|
138
137
|
/**
|
|
139
138
|
* Create Server-side client from a procedure.
|
|
140
139
|
*
|
|
141
|
-
* @see {@link https://orpc.
|
|
140
|
+
* @see {@link https://orpc.dev/docs/client/server-side Server-side Client Docs}
|
|
142
141
|
*/
|
|
143
142
|
declare function createProcedureClient<TInitialContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta, TClientContext extends ClientContext>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TInputSchema, TOutputSchema, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TOutputSchema, TErrorMap, TMeta, TClientContext>>): ProcedureClient<TClientContext, TInputSchema, TOutputSchema, TErrorMap>;
|
|
144
143
|
|
|
@@ -146,7 +145,7 @@ declare function createProcedureClient<TInitialContext extends Context, TInputSc
|
|
|
146
145
|
* Represents a router, which defines a hierarchical structure of procedures.
|
|
147
146
|
*
|
|
148
147
|
* @info A procedure is a router too.
|
|
149
|
-
* @see {@link https://orpc.
|
|
148
|
+
* @see {@link https://orpc.dev/docs/contract-first/define-contract#contract-router Contract Router Docs}
|
|
150
149
|
*/
|
|
151
150
|
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer UInputSchema, infer UOutputSchema, infer UErrorMap, infer UMeta> ? Procedure<TInitialContext, any, UInputSchema, UOutputSchema, UErrorMap, UMeta> : {
|
|
152
151
|
[K in keyof T]: T[K] extends AnyContractRouter ? Lazyable<Router<T[K], TInitialContext>> : never;
|
|
@@ -157,7 +156,7 @@ type InferRouterInitialContext<T extends AnyRouter> = T extends Router<any, infe
|
|
|
157
156
|
* Infer all initial context of the router.
|
|
158
157
|
*
|
|
159
158
|
* @info A procedure is a router too.
|
|
160
|
-
* @see {@link https://orpc.
|
|
159
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
161
160
|
*/
|
|
162
161
|
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any, any> ? UInitialContext : {
|
|
163
162
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInitialContexts<U> : never;
|
|
@@ -166,7 +165,7 @@ type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer
|
|
|
166
165
|
* Infer all current context of the router.
|
|
167
166
|
*
|
|
168
167
|
* @info A procedure is a router too.
|
|
169
|
-
* @see {@link https://orpc.
|
|
168
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
170
169
|
*/
|
|
171
170
|
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any, any> ? UCurrentContext : {
|
|
172
171
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterCurrentContexts<U> : never;
|
|
@@ -175,7 +174,7 @@ type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any,
|
|
|
175
174
|
* Infer all router inputs
|
|
176
175
|
*
|
|
177
176
|
* @info A procedure is a router too.
|
|
178
|
-
* @see {@link https://orpc.
|
|
177
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
179
178
|
*/
|
|
180
179
|
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer UInputSchema, any, any, any> ? InferSchemaInput<UInputSchema> : {
|
|
181
180
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInputs<U> : never;
|
|
@@ -184,11 +183,11 @@ type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infe
|
|
|
184
183
|
* Infer all router outputs
|
|
185
184
|
*
|
|
186
185
|
* @info A procedure is a router too.
|
|
187
|
-
* @see {@link https://orpc.
|
|
186
|
+
* @see {@link https://orpc.dev/docs/router#utilities Router Utilities Docs}
|
|
188
187
|
*/
|
|
189
188
|
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any, any, infer UOutputSchema, any, any> ? InferSchemaOutput<UOutputSchema> : {
|
|
190
189
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterOutputs<U> : never;
|
|
191
190
|
};
|
|
192
191
|
|
|
193
|
-
export {
|
|
194
|
-
export type { AnyProcedure as A, Context as C,
|
|
192
|
+
export { isProcedure as E, createProcedureClient as F, Procedure as P, mergeCurrentContext as m, createORPCErrorConstructorMap as n, LAZY_SYMBOL as o, lazy as q, isLazy as r, getLazyMeta as s, unlazy as u, middlewareOutputFn as z };
|
|
193
|
+
export type { AnyProcedure as A, ProcedureHandlerOptions as B, Context as C, ProcedureDef as D, InferRouterInitialContexts as G, InferRouterCurrentContexts as H, InferRouterInitialContext as I, InferRouterInputs as J, InferRouterOutputs as K, Lazyable as L, MergedInitialContext as M, ORPCErrorConstructorMap as O, Router as R, AnyMiddleware as a, AnyRouter as b, Lazy as c, ProcedureClientInterceptorOptions as d, Middleware as e, MergedCurrentContext as f, MapInputMiddleware as g, CreateProcedureClientOptions as h, ProcedureClient as i, ProcedureHandler as j, ORPCErrorConstructorMapItemOptions as k, ORPCErrorConstructorMapItem as l, LazyMeta as p, MiddlewareResult as t, MiddlewareNextFnOptions as v, MiddlewareNextFn as w, MiddlewareOutputFn as x, MiddlewareOptions as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { StandardRPCJsonSerializerOptions } from '@orpc/client/standard';
|
|
2
|
-
import { b as AnyRouter, C as Context, R as Router } from './server.
|
|
3
|
-
import { i as StandardMatcher, h as StandardMatchResult, e as StandardHandlerOptions, f as StandardHandler } from './server.
|
|
2
|
+
import { b as AnyRouter, C as Context, R as Router } from './server.qKsRrdxW.js';
|
|
3
|
+
import { i as StandardMatcher, h as StandardMatchResult, e as StandardHandlerOptions, f as StandardHandler } from './server.7cEtMB30.js';
|
|
4
4
|
import { HTTPPath } from '@orpc/client';
|
|
5
5
|
import { Value } from '@orpc/shared';
|
|
6
|
-
import { T as TraverseContractProcedureCallbackOptions } from './server.
|
|
6
|
+
import { T as TraverseContractProcedureCallbackOptions } from './server.ChyoA9XY.js';
|
|
7
7
|
|
|
8
8
|
interface StandardRPCMatcherOptions {
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-next.
|
|
4
|
+
"version": "0.0.0-next.b81d47f",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"homepage": "https://orpc.
|
|
6
|
+
"homepage": "https://orpc.dev",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/unnoq/orpc.git",
|
|
@@ -54,6 +54,11 @@
|
|
|
54
54
|
"import": "./dist/adapters/node/index.mjs",
|
|
55
55
|
"default": "./dist/adapters/node/index.mjs"
|
|
56
56
|
},
|
|
57
|
+
"./fastify": {
|
|
58
|
+
"types": "./dist/adapters/fastify/index.d.mts",
|
|
59
|
+
"import": "./dist/adapters/fastify/index.mjs",
|
|
60
|
+
"default": "./dist/adapters/fastify/index.mjs"
|
|
61
|
+
},
|
|
57
62
|
"./aws-lambda": {
|
|
58
63
|
"types": "./dist/adapters/aws-lambda/index.d.mts",
|
|
59
64
|
"import": "./dist/adapters/aws-lambda/index.mjs",
|
|
@@ -102,22 +107,26 @@
|
|
|
102
107
|
},
|
|
103
108
|
"dependencies": {
|
|
104
109
|
"cookie": "^1.0.2",
|
|
105
|
-
"@orpc/client": "0.0.0-next.
|
|
106
|
-
"@orpc/contract": "0.0.0-next.
|
|
107
|
-
"@orpc/interop": "0.0.0-next.
|
|
108
|
-
"@orpc/
|
|
109
|
-
"@orpc/standard-server": "0.0.0-next.
|
|
110
|
-
"@orpc/standard-server-
|
|
111
|
-
"@orpc/standard-server-
|
|
112
|
-
"@orpc/standard-server-
|
|
113
|
-
"@orpc/
|
|
110
|
+
"@orpc/client": "0.0.0-next.b81d47f",
|
|
111
|
+
"@orpc/contract": "0.0.0-next.b81d47f",
|
|
112
|
+
"@orpc/interop": "0.0.0-next.b81d47f",
|
|
113
|
+
"@orpc/standard-server-aws-lambda": "0.0.0-next.b81d47f",
|
|
114
|
+
"@orpc/standard-server": "0.0.0-next.b81d47f",
|
|
115
|
+
"@orpc/standard-server-fastify": "0.0.0-next.b81d47f",
|
|
116
|
+
"@orpc/standard-server-fetch": "0.0.0-next.b81d47f",
|
|
117
|
+
"@orpc/standard-server-node": "0.0.0-next.b81d47f",
|
|
118
|
+
"@orpc/shared": "0.0.0-next.b81d47f",
|
|
119
|
+
"@orpc/standard-server-peer": "0.0.0-next.b81d47f"
|
|
114
120
|
},
|
|
115
121
|
"devDependencies": {
|
|
122
|
+
"@tanstack/router-core": "^1.139.12",
|
|
116
123
|
"@types/ws": "^8.18.1",
|
|
117
124
|
"crossws": "^0.4.1",
|
|
118
|
-
"
|
|
125
|
+
"fastify": "^5.6.2",
|
|
126
|
+
"next": "^16.0.7",
|
|
119
127
|
"supertest": "^7.1.4",
|
|
120
|
-
"ws": "^8.18.3"
|
|
128
|
+
"ws": "^8.18.3",
|
|
129
|
+
"zod": "^4.1.12"
|
|
121
130
|
},
|
|
122
131
|
"scripts": {
|
|
123
132
|
"build": "unbuild",
|