@trpc/react-query 11.0.0-rc.750 → 11.0.0-rc.753

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,6 +1,6 @@
1
1
  {
2
- "bundleSize": 45019,
3
- "bundleOrigSize": 92896,
2
+ "bundleSize": 45008,
3
+ "bundleOrigSize": 92885,
4
4
  "bundleReduction": 51.54,
5
5
  "modules": [
6
6
  {
@@ -14,7 +14,7 @@
14
14
  "dependents": [
15
15
  "/src/createTRPCReact.tsx"
16
16
  ],
17
- "percent": 45.19,
17
+ "percent": 45.21,
18
18
  "reduction": 8.43
19
19
  },
20
20
  {
@@ -34,8 +34,8 @@
34
34
  },
35
35
  {
36
36
  "id": "/src/server/ssgProxy.ts",
37
- "size": 3952,
38
- "origSize": 6070,
37
+ "size": 3941,
38
+ "origSize": 6059,
39
39
  "renderedExports": [
40
40
  "createServerSideHelpers"
41
41
  ],
@@ -43,8 +43,8 @@
43
43
  "dependents": [
44
44
  "/src/server/index.ts"
45
45
  ],
46
- "percent": 8.78,
47
- "reduction": 34.89
46
+ "percent": 8.76,
47
+ "reduction": 34.96
48
48
  },
49
49
  {
50
50
  "id": "/src/shared/proxy/utilsProxy.ts",
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  "removedExports": [],
73
73
  "dependents": [],
74
- "percent": 7.17,
74
+ "percent": 7.18,
75
75
  "reduction": 40.13
76
76
  },
77
77
  {
@@ -88,10 +88,10 @@
88
88
  "dependents": [
89
89
  "/src/index.ts",
90
90
  "/src/rsc.tsx",
91
+ "/src/server/ssgProxy.ts",
91
92
  "/src/shared/proxy/utilsProxy.ts",
92
93
  "/src/shared/proxy/useQueriesProxy.ts",
93
- "/src/shared/hooks/createHooksInternal.tsx",
94
- "/src/server/ssgProxy.ts"
94
+ "/src/shared/hooks/createHooksInternal.tsx"
95
95
  ],
96
96
  "percent": 5.56,
97
97
  "reduction": 40.27
@@ -230,26 +230,26 @@
230
230
  "reduction": 100
231
231
  },
232
232
  {
233
- "id": "/src/shared/index.ts",
233
+ "id": "/src/server/index.ts",
234
234
  "size": 0,
235
- "origSize": 706,
235
+ "origSize": 54,
236
236
  "renderedExports": [],
237
237
  "removedExports": [],
238
- "dependents": [
239
- "/src/createTRPCReact.tsx",
240
- "/src/createTRPCQueryUtils.tsx",
241
- "/src/server/ssgProxy.ts"
242
- ],
238
+ "dependents": [],
243
239
  "percent": 0,
244
240
  "reduction": 100
245
241
  },
246
242
  {
247
- "id": "/src/server/index.ts",
243
+ "id": "/src/shared/index.ts",
248
244
  "size": 0,
249
- "origSize": 54,
245
+ "origSize": 706,
250
246
  "renderedExports": [],
251
247
  "removedExports": [],
252
- "dependents": [],
248
+ "dependents": [
249
+ "/src/createTRPCReact.tsx",
250
+ "/src/createTRPCQueryUtils.tsx",
251
+ "/src/server/ssgProxy.ts"
252
+ ],
253
253
  "percent": 0,
254
254
  "reduction": 100
255
255
  }
@@ -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
- _def: router._def,
26
+ router,
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
- _def: router._def,
24
+ router,
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-rc.750+3ade8efd4",
3
+ "version": "11.0.0-rc.753+a0ce6809f",
4
4
  "description": "The tRPC React library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -65,16 +65,16 @@
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@tanstack/react-query": "^5.62.8",
68
- "@trpc/client": "11.0.0-rc.750+3ade8efd4",
69
- "@trpc/server": "11.0.0-rc.750+3ade8efd4",
68
+ "@trpc/client": "11.0.0-rc.753+a0ce6809f",
69
+ "@trpc/server": "11.0.0-rc.753+a0ce6809f",
70
70
  "react": ">=18.2.0",
71
71
  "react-dom": ">=18.2.0",
72
72
  "typescript": ">=5.7.2"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@tanstack/react-query": "^5.62.8",
76
- "@trpc/client": "11.0.0-rc.750+3ade8efd4",
77
- "@trpc/server": "11.0.0-rc.750+3ade8efd4",
76
+ "@trpc/client": "11.0.0-rc.753+a0ce6809f",
77
+ "@trpc/server": "11.0.0-rc.753+a0ce6809f",
78
78
  "@types/express": "^5.0.0",
79
79
  "@types/node": "^22.9.0",
80
80
  "@types/react": "^19.0.0",
@@ -95,5 +95,5 @@
95
95
  "funding": [
96
96
  "https://trpc.io/sponsor"
97
97
  ],
98
- "gitHead": "3ade8efd48bf1d507c4ccbd4381c8a5923dbc375"
98
+ "gitHead": "a0ce6809f9411c748490eb1e9414ca1c0da70c57"
99
99
  }
@@ -96,7 +96,7 @@ export function createServerSideHelpers<TRouter extends AnyRouter>(
96
96
  serialize: transformer.output.serialize,
97
97
  query: (queryOpts) => {
98
98
  return callProcedure({
99
- _def: router._def,
99
+ router,
100
100
  path: queryOpts.path,
101
101
  getRawInput: async () => queryOpts.input,
102
102
  ctx,