@trpc/next 11.0.0-rc.752 → 11.0.0-rc.754

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.
@@ -23,7 +23,7 @@ function experimental_nextCacheLink(opts) {
23
23
  // // that calls with different tags are properly separated
24
24
  // // @link https://github.com/trpc/trpc/issues/4622
25
25
  const procedureResult = await unstableCoreDoNotImport.callProcedure({
26
- _def: opts.router._def,
26
+ router: opts.router,
27
27
  path,
28
28
  getRawInput: async ()=>input,
29
29
  ctx: ctx,
@@ -21,7 +21,7 @@ function experimental_nextCacheLink(opts) {
21
21
  // // that calls with different tags are properly separated
22
22
  // // @link https://github.com/trpc/trpc/issues/4622
23
23
  const procedureResult = await callProcedure({
24
- _def: opts.router._def,
24
+ router: opts.router,
25
25
  path,
26
26
  getRawInput: async ()=>input,
27
27
  ctx: ctx,
@@ -1,7 +1,7 @@
1
1
  {
2
- "bundleSize": 22980,
3
- "bundleOrigSize": 38181,
4
- "bundleReduction": 39.81,
2
+ "bundleSize": 22977,
3
+ "bundleOrigSize": 38178,
4
+ "bundleReduction": 39.82,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/ssrPrepass.ts",
@@ -61,15 +61,15 @@
61
61
  },
62
62
  {
63
63
  "id": "/src/app-dir/links/nextCache.ts",
64
- "size": 2596,
65
- "origSize": 3062,
64
+ "size": 2593,
65
+ "origSize": 3059,
66
66
  "renderedExports": [
67
67
  "experimental_nextCacheLink"
68
68
  ],
69
69
  "removedExports": [],
70
70
  "dependents": [],
71
- "percent": 11.3,
72
- "reduction": 15.22
71
+ "percent": 11.29,
72
+ "reduction": 15.23
73
73
  },
74
74
  {
75
75
  "id": "/src/app-dir/client.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/next",
3
- "version": "11.0.0-rc.752+e31a1f599",
3
+ "version": "11.0.0-rc.754+9e15916e9",
4
4
  "description": "The tRPC Next.js library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -74,9 +74,9 @@
74
74
  ],
75
75
  "peerDependencies": {
76
76
  "@tanstack/react-query": "^5.59.15",
77
- "@trpc/client": "11.0.0-rc.752+e31a1f599",
78
- "@trpc/react-query": "11.0.0-rc.752+e31a1f599",
79
- "@trpc/server": "11.0.0-rc.752+e31a1f599",
77
+ "@trpc/client": "11.0.0-rc.754+9e15916e9",
78
+ "@trpc/react-query": "11.0.0-rc.754+9e15916e9",
79
+ "@trpc/server": "11.0.0-rc.754+9e15916e9",
80
80
  "next": "*",
81
81
  "react": ">=16.8.0",
82
82
  "react-dom": ">=16.8.0",
@@ -92,9 +92,9 @@
92
92
  },
93
93
  "devDependencies": {
94
94
  "@tanstack/react-query": "^5.62.8",
95
- "@trpc/client": "11.0.0-rc.752+e31a1f599",
96
- "@trpc/react-query": "11.0.0-rc.752+e31a1f599",
97
- "@trpc/server": "11.0.0-rc.752+e31a1f599",
95
+ "@trpc/client": "11.0.0-rc.754+9e15916e9",
96
+ "@trpc/react-query": "11.0.0-rc.754+9e15916e9",
97
+ "@trpc/server": "11.0.0-rc.754+9e15916e9",
98
98
  "@types/express": "^5.0.0",
99
99
  "@types/node": "^22.9.0",
100
100
  "@types/react": "^19.0.0",
@@ -115,5 +115,5 @@
115
115
  "funding": [
116
116
  "https://trpc.io/sponsor"
117
117
  ],
118
- "gitHead": "e31a1f59920f20a5bcf690dc01ebda0c9ecf3e1b"
118
+ "gitHead": "9e15916e9fc26a08c9936c4c706e996321d42958"
119
119
  }
@@ -50,7 +50,7 @@ export function experimental_nextCacheLink<TRouter extends AnyRouter>(
50
50
  // // that calls with different tags are properly separated
51
51
  // // @link https://github.com/trpc/trpc/issues/4622
52
52
  const procedureResult = await callProcedure({
53
- _def: opts.router._def,
53
+ router: opts.router,
54
54
  path,
55
55
  getRawInput: async () => input,
56
56
  ctx: ctx,