@trpc/server 11.0.0-next-alpha.166 → 11.0.0-next-alpha.168

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bundleSize": 52154,
3
- "bundleOrigSize": 72547,
4
- "bundleReduction": 28.11,
3
+ "bundleOrigSize": 72572,
4
+ "bundleReduction": 28.13,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/adapters/ws.ts",
@@ -374,7 +374,7 @@
374
374
  {
375
375
  "id": "/src/index.ts",
376
376
  "size": 0,
377
- "origSize": 831,
377
+ "origSize": 856,
378
378
  "renderedExports": [],
379
379
  "removedExports": [],
380
380
  "dependents": [],
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ AnyProcedure,
11
11
  /**
12
12
  * @deprecated use `AnyTRPCRouter` instead
13
13
  */
14
- AnyRouter, } from '@trpc/core';
14
+ AnyRouter, AnyMiddlewareFunction, } from '@trpc/core';
15
15
  /**
16
16
  * @deprecated
17
17
  * Use `Awaited<ReturnType<typeof myFunction>>` instead
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS;AACT;;GAEG;AACH,iCAAiC,EACjC,iCAAiC,IAAI,2BAA2B,EAChE,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,SAAS,IAAI,aAAa,GAChC,MAAM,2BAA2B,CAAC;AAEnC,YAAY;AACV;;GAEG;AACH,YAAY;AACZ;;GAEG;AACH,SAAS,GACV,MAAM,YAAY,CAAC;AAEpB;;;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/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS;AACT;;GAEG;AACH,iCAAiC,EACjC,iCAAiC,IAAI,2BAA2B,EAChE,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,SAAS,IAAI,aAAa,GAChC,MAAM,2BAA2B,CAAC;AAEnC,YAAY;AACV;;GAEG;AACH,YAAY;AACZ;;GAEG;AACH,SAAS,EACT,qBAAqB,GACtB,MAAM,YAAY,CAAC;AAEpB;;;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/server",
3
- "version": "11.0.0-next-alpha.166+5ecfbf985",
3
+ "version": "11.0.0-next-alpha.168+578e61d32",
4
4
  "description": "The tRPC server library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -131,7 +131,7 @@
131
131
  "access": "public"
132
132
  },
133
133
  "dependencies": {
134
- "@trpc/core": "11.0.0-next-alpha.166+5ecfbf985"
134
+ "@trpc/core": "11.0.0-next-alpha.168+578e61d32"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@fastify/websocket": "^7.1.2",
@@ -170,5 +170,5 @@
170
170
  "funding": [
171
171
  "https://trpc.io/sponsor"
172
172
  ],
173
- "gitHead": "5ecfbf98572f30205bdf18aa7550443d4cf0f7ec"
173
+ "gitHead": "578e61d320f67cc9a563353a846ca7604a50194b"
174
174
  }
package/src/index.ts CHANGED
@@ -24,6 +24,7 @@ export type {
24
24
  * @deprecated use `AnyTRPCRouter` instead
25
25
  */
26
26
  AnyRouter,
27
+ AnyMiddlewareFunction,
27
28
  } from '@trpc/core';
28
29
 
29
30
  /**