@trpc/server 11.0.0-rc.729 → 11.0.0-rc.730

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.
@@ -2,7 +2,7 @@ export { TRPCError,
2
2
  /**
3
3
  * @deprecated use `experimental_trpcMiddleware` instead
4
4
  */
5
- experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, initTRPC, callProcedure as callTRPCProcedure, getTRPCErrorFromUnknown, transformTRPCResponse, createFlatProxy as createTRPCFlatProxy, type inferProcedureInput, type inferProcedureOutput, type inferProcedureBuilderResolverOptions, type inferRouterError, type inferRouterInputs, type inferRouterOutputs, type inferRouterContext, type inferClientTypes as inferTRPCClientTypes, type AnyClientTypes as AnyTRPCClientTypes, type inferTransformedProcedureOutput, type inferTransformedSubscriptionOutput, type AnyProcedure as AnyTRPCProcedure, type AnyRouter as AnyTRPCRouter, type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, type CombinedDataTransformer as TRPCCombinedDataTransformer, type ProcedureType as TRPCProcedureType, type AnyMutationProcedure as AnyTRPCMutationProcedure, type AnyQueryProcedure as AnyTRPCQueryProcedure, type RouterRecord as TRPCRouterRecord, type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, type ProcedureOptions as TRPCProcedureOptions, type CreateContextCallback, type MutationProcedure as TRPCMutationProcedure, type QueryProcedure as TRPCQueryProcedure, type SubscriptionProcedure as TRPCSubscriptionProcedure, type TRPCBuilder, StandardSchemaV1Error,
5
+ experimental_standaloneMiddleware, experimental_standaloneMiddleware as experimental_trpcMiddleware, initTRPC, callProcedure as callTRPCProcedure, getTRPCErrorFromUnknown, transformTRPCResponse, createFlatProxy as createTRPCFlatProxy, type inferProcedureInput, type inferProcedureOutput, type inferProcedureBuilderResolverOptions, type inferRouterError, type inferRouterInputs, type inferRouterOutputs, type inferRouterContext, type inferClientTypes as inferTRPCClientTypes, type AnyClientTypes as AnyTRPCClientTypes, type inferTransformedProcedureOutput, type inferTransformedSubscriptionOutput, type AnyProcedure as AnyTRPCProcedure, type AnyRouter as AnyTRPCRouter, type AnyMiddlewareFunction as AnyTRPCMiddlewareFunction, type CombinedDataTransformer as TRPCCombinedDataTransformer, type ProcedureType as TRPCProcedureType, type AnyMutationProcedure as AnyTRPCMutationProcedure, type AnyQueryProcedure as AnyTRPCQueryProcedure, type RouterRecord as TRPCRouterRecord, type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure, type CreateContextCallback, type MutationProcedure as TRPCMutationProcedure, type QueryProcedure as TRPCQueryProcedure, type SubscriptionProcedure as TRPCSubscriptionProcedure, type TRPCBuilder, StandardSchemaV1Error,
6
6
  /**
7
7
  * @deprecated use `tracked(id, data)` instead
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/@trpc/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS;AACT;;GAEG;AACH,iCAAiC,EACjC,iCAAiC,IAAI,2BAA2B,EAChE,QAAQ,EAER,aAAa,IAAI,iBAAiB,EAClC,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,IAAI,mBAAmB,EACtC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,IAAI,oBAAoB,EAC7C,KAAK,cAAc,IAAI,kBAAkB,EACzC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,SAAS,IAAI,aAAa,EAC/B,KAAK,qBAAqB,IAAI,yBAAyB,EACvD,KAAK,uBAAuB,IAAI,2BAA2B,EAC3D,KAAK,aAAa,IAAI,iBAAiB,EACvC,KAAK,oBAAoB,IAAI,wBAAwB,EACrD,KAAK,iBAAiB,IAAI,qBAAqB,EAC/C,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,wBAAwB,IAAI,4BAA4B,EAC7D,KAAK,gBAAgB,IAAI,oBAAoB,EAC7C,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,IAAI,qBAAqB,EAC/C,KAAK,cAAc,IAAI,kBAAkB,EACzC,KAAK,qBAAqB,IAAI,yBAAyB,EACvD,KAAK,WAAW,EAChB,qBAAqB;AACrB;;GAEG;AACH,GAAG,EACH,OAAO,EACP,KAAK,eAAe,EACpB,iBAAiB,GAClB,MAAM,mCAAmC,CAAC;AAE3C,YAAY;AACV;;GAEG;AACH,YAAY;AACZ;;GAEG;AACH,SAAS;AACT;;GAEG;AACH,qBAAqB;AACrB;;GAEG;AACH,uBAAuB;AAEvB;;GAEG;AACH,IAAI;AAEJ;;GAEG;AACH,WAAW;AACX;;GAEG;AACH,aAAa;AACb;;GAEG;AACH,oBAAoB;AAEpB;;GAEG;AACH,iBAAiB;AACjB;;GAEG;AACH,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO;AACL;;GAEG;AACH,aAAa;AAEb;;GAEG;AACH,aAAa,GACd,MAAM,mCAAmC,CAAC;AAE3C;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAAC,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IACxE,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/@trpc/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS;AACT;;GAEG;AACH,iCAAiC,EACjC,iCAAiC,IAAI,2BAA2B,EAChE,QAAQ,EAER,aAAa,IAAI,iBAAiB,EAClC,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,IAAI,mBAAmB,EACtC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAA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AC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bundleSize": 194424,
3
- "bundleOrigSize": 224908,
4
- "bundleReduction": 13.55,
3
+ "bundleOrigSize": 224713,
4
+ "bundleReduction": 13.48,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
@@ -351,11 +351,11 @@
351
351
  "/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts",
352
352
  "/src/unstable-core-do-not-import/http/parseConnectionParams.ts",
353
353
  "/src/unstable-core-do-not-import/http/resolveResponse.ts",
354
+ "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
354
355
  "/src/unstable-core-do-not-import/error/TRPCError.ts",
355
356
  "/src/unstable-core-do-not-import/transformer.ts",
356
357
  "/src/unstable-core-do-not-import/middleware.ts",
357
358
  "/src/unstable-core-do-not-import/router.ts",
358
- "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
359
359
  "/src/unstable-core-do-not-import/http/contentType.ts",
360
360
  "/src/unstable-core-do-not-import/http/isAbortError.ts",
361
361
  "/src/unstable-core-do-not-import/procedureBuilder.ts",
@@ -823,7 +823,7 @@
823
823
  {
824
824
  "id": "/src/unstable-core-do-not-import/procedure.ts",
825
825
  "size": 75,
826
- "origSize": 2668,
826
+ "origSize": 2473,
827
827
  "renderedExports": [
828
828
  "procedureTypes"
829
829
  ],
@@ -833,7 +833,7 @@
833
833
  "/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts"
834
834
  ],
835
835
  "percent": 0.04,
836
- "reduction": 97.19
836
+ "reduction": 96.97
837
837
  },
838
838
  {
839
839
  "id": "/src/unstable-core-do-not-import/error/formatter.ts",
@@ -864,9 +864,9 @@
864
864
  "reduction": 100
865
865
  },
866
866
  {
867
- "id": "/src/index.ts",
867
+ "id": "/src/rpc.ts",
868
868
  "size": 0,
869
- "origSize": 32,
869
+ "origSize": 36,
870
870
  "renderedExports": [],
871
871
  "removedExports": [],
872
872
  "dependents": [],
@@ -874,9 +874,9 @@
874
874
  "reduction": 100
875
875
  },
876
876
  {
877
- "id": "/src/rpc.ts",
877
+ "id": "/src/index.ts",
878
878
  "size": 0,
879
- "origSize": 36,
879
+ "origSize": 32,
880
880
  "renderedExports": [],
881
881
  "removedExports": [],
882
882
  "dependents": [],
@@ -901,9 +901,9 @@
901
901
  "removedExports": [],
902
902
  "dependents": [
903
903
  "/src/adapters/express.ts",
904
+ "/src/adapters/ws.ts",
904
905
  "/src/adapters/next.ts",
905
906
  "/src/adapters/standalone.ts",
906
- "/src/adapters/ws.ts",
907
907
  "/src/adapters/node-http/nodeHTTPRequestHandler.ts",
908
908
  "/src/adapters/next-app-dir/nextAppDirCaller.ts",
909
909
  "/src/adapters/node-http/writeResponse.ts"
@@ -961,9 +961,9 @@
961
961
  "removedExports": [],
962
962
  "dependents": [
963
963
  "/src/adapters/express.ts",
964
+ "/src/adapters/ws.ts",
964
965
  "/src/adapters/next.ts",
965
966
  "/src/adapters/standalone.ts",
966
- "/src/adapters/ws.ts",
967
967
  "/src/adapters/fastify/fastifyRequestHandler.ts"
968
968
  ],
969
969
  "percent": 0,
@@ -5,17 +5,6 @@ export declare const procedureTypes: readonly ["query", "mutation", "subscriptio
5
5
  * @public
6
6
  */
7
7
  export type ProcedureType = (typeof procedureTypes)[number];
8
- type ClientContext = Record<string, unknown>;
9
- /**
10
- * @internal
11
- */
12
- export interface ProcedureOptions {
13
- /**
14
- * Client-side context
15
- */
16
- context?: ClientContext;
17
- signal?: AbortSignal;
18
- }
19
8
  interface BuiltProcedureDef {
20
9
  input: unknown;
21
10
  output: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"procedure.d.ts","sourceRoot":"","sources":["../../src/unstable-core-do-not-import/procedure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,eAAO,MAAM,cA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HANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/server",
3
- "version": "11.0.0-rc.729+a60413241",
3
+ "version": "11.0.0-rc.730+776d07336",
4
4
  "description": "The tRPC server library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -152,5 +152,5 @@
152
152
  "peerDependencies": {
153
153
  "typescript": ">=5.7.2"
154
154
  },
155
- "gitHead": "a60413241c05b258da0cbc7cbfb8b4097aeb3f72"
155
+ "gitHead": "776d07336bddd01ac2ad02da0360fb71aa734471"
156
156
  }
@@ -31,7 +31,6 @@ export {
31
31
  type AnyQueryProcedure as AnyTRPCQueryProcedure,
32
32
  type RouterRecord as TRPCRouterRecord,
33
33
  type AnySubscriptionProcedure as AnyTRPCSubscriptionProcedure,
34
- type ProcedureOptions as TRPCProcedureOptions,
35
34
  type CreateContextCallback,
36
35
  type MutationProcedure as TRPCMutationProcedure,
37
36
  type QueryProcedure as TRPCQueryProcedure,
@@ -7,19 +7,6 @@ export const procedureTypes = ['query', 'mutation', 'subscription'] as const;
7
7
  */
8
8
  export type ProcedureType = (typeof procedureTypes)[number];
9
9
 
10
- type ClientContext = Record<string, unknown>;
11
-
12
- /**
13
- * @internal
14
- */
15
- export interface ProcedureOptions {
16
- /**
17
- * Client-side context
18
- */
19
- context?: ClientContext;
20
- signal?: AbortSignal;
21
- }
22
-
23
10
  interface BuiltProcedureDef {
24
11
  input: unknown;
25
12
  output: unknown;