@trpc/react-query 11.0.0-alpha-tmp-02-08-tmp.277 → 11.0.0-alpha-tmp-issues-4129-lazy-routers.294

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
- "bundleSize": 27242,
3
- "bundleOrigSize": 60201,
4
- "bundleReduction": 54.75,
2
+ "bundleSize": 27225,
3
+ "bundleOrigSize": 60184,
4
+ "bundleReduction": 54.76,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/shared/hooks/createHooksInternal.tsx",
@@ -14,13 +14,13 @@
14
14
  "dependents": [
15
15
  "/src/createTRPCReact.tsx"
16
16
  ],
17
- "percent": 45.42,
17
+ "percent": 45.44,
18
18
  "reduction": 14.11
19
19
  },
20
20
  {
21
21
  "id": "/src/server/ssgProxy.ts",
22
- "size": 3673,
23
- "origSize": 7403,
22
+ "size": 3656,
23
+ "origSize": 7386,
24
24
  "renderedExports": [
25
25
  "createServerSideHelpers"
26
26
  ],
@@ -28,8 +28,8 @@
28
28
  "dependents": [
29
29
  "/src/server/index.ts"
30
30
  ],
31
- "percent": 13.48,
32
- "reduction": 50.38
31
+ "percent": 13.43,
32
+ "reduction": 50.5
33
33
  },
34
34
  {
35
35
  "id": "/src/utils/createUtilityFunctions.ts",
@@ -43,7 +43,7 @@
43
43
  "/src/createTRPCQueryUtils.tsx",
44
44
  "/src/shared/hooks/createHooksInternal.tsx"
45
45
  ],
46
- "percent": 12.24,
46
+ "percent": 12.25,
47
47
  "reduction": 10.5
48
48
  },
49
49
  {
@@ -78,7 +78,7 @@
78
78
  "/src/shared/proxy/useQueriesProxy.ts",
79
79
  "/src/shared/hooks/createHooksInternal.tsx"
80
80
  ],
81
- "percent": 6.95,
81
+ "percent": 6.96,
82
82
  "reduction": 41.79
83
83
  },
84
84
  {
@@ -152,7 +152,7 @@
152
152
  "dependents": [
153
153
  "/src/shared/hooks/createHooksInternal.tsx"
154
154
  ],
155
- "percent": 0.81,
155
+ "percent": 0.82,
156
156
  "reduction": 36.21
157
157
  },
158
158
  {
@@ -166,7 +166,7 @@
166
166
  "dependents": [
167
167
  "/src/index.ts"
168
168
  ],
169
- "percent": 0.59,
169
+ "percent": 0.6,
170
170
  "reduction": 66.6
171
171
  },
172
172
  {
@@ -23,7 +23,7 @@ var queryClient = require('../shared/queryClient.js');
23
23
  serialize: transformer.output.serialize,
24
24
  query: (queryOpts)=>{
25
25
  return unstableCoreDoNotImport.callProcedure({
26
- procedures: router._def.procedures,
26
+ _def: router._def,
27
27
  path: queryOpts.path,
28
28
  getRawInput: async ()=>queryOpts.input,
29
29
  ctx,
@@ -21,7 +21,7 @@ import { getQueryClient } from '../shared/queryClient.mjs';
21
21
  serialize: transformer.output.serialize,
22
22
  query: (queryOpts)=>{
23
23
  return callProcedure({
24
- procedures: router._def.procedures,
24
+ _def: router._def,
25
25
  path: queryOpts.path,
26
26
  getRawInput: async ()=>queryOpts.input,
27
27
  ctx,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/react-query",
3
- "version": "11.0.0-alpha-tmp-02-08-tmp.277+014014324",
3
+ "version": "11.0.0-alpha-tmp-issues-4129-lazy-routers.294+d02c35a74",
4
4
  "description": "The tRPC React library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -58,19 +58,19 @@
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@tanstack/react-query": "^5.0.0",
61
- "@trpc/client": "11.0.0-alpha-tmp-02-08-tmp.277+014014324",
62
- "@trpc/server": "11.0.0-alpha-tmp-02-08-tmp.277+014014324",
61
+ "@trpc/client": "11.0.0-alpha-tmp-issues-4129-lazy-routers.294+d02c35a74",
62
+ "@trpc/server": "11.0.0-alpha-tmp-issues-4129-lazy-routers.294+d02c35a74",
63
63
  "react": ">=18.2.0",
64
64
  "react-dom": ">=18.2.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@tanstack/react-query": "^5.0.0",
68
- "@trpc/client": "11.0.0-alpha-tmp-02-08-tmp.277+014014324",
69
- "@trpc/server": "11.0.0-alpha-tmp-02-08-tmp.277+014014324",
68
+ "@trpc/client": "11.0.0-alpha-tmp-issues-4129-lazy-routers.294+d02c35a74",
69
+ "@trpc/server": "11.0.0-alpha-tmp-issues-4129-lazy-routers.294+d02c35a74",
70
70
  "@types/express": "^4.17.17",
71
71
  "@types/node": "^20.10.0",
72
72
  "@types/react": "^18.2.33",
73
- "eslint": "^8.40.0",
73
+ "eslint": "^8.56.0",
74
74
  "express": "^4.17.1",
75
75
  "next": "^14.0.1",
76
76
  "react": "^18.2.0",
@@ -85,5 +85,5 @@
85
85
  "funding": [
86
86
  "https://trpc.io/sponsor"
87
87
  ],
88
- "gitHead": "0140143249bd8bf3905a14a3f0dec494bae5e826"
88
+ "gitHead": "d02c35a742764aa002d837515235829ddb983eab"
89
89
  }
@@ -149,7 +149,7 @@ export function createServerSideHelpers<TRouter extends AnyRouter>(
149
149
  serialize: transformer.output.serialize,
150
150
  query: (queryOpts) => {
151
151
  return callProcedure({
152
- procedures: router._def.procedures,
152
+ _def: router._def,
153
153
  path: queryOpts.path,
154
154
  getRawInput: async () => queryOpts.input,
155
155
  ctx,