@trpc/next 11.0.0 → 11.0.1-canary.6

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.
package/README.md CHANGED
@@ -24,16 +24,16 @@ Full documentation for `@trpc/next` can be found [here](https://trpc.io/docs/cli
24
24
 
25
25
  ```bash
26
26
  # npm
27
- npm install @trpc/next@next @trpc/react-query@next @tanstack/react-query
27
+ npm install @trpc/next @trpc/react-query @tanstack/react-query
28
28
 
29
29
  # Yarn
30
- yarn add @trpc/next@next @trpc/react-query@next @tanstack/react-query
30
+ yarn add @trpc/next @trpc/react-query @tanstack/react-query
31
31
 
32
32
  # pnpm
33
- pnpm add @trpc/next@next @trpc/react-query@next @tanstack/react-query
33
+ pnpm add @trpc/next @trpc/react-query @tanstack/react-query
34
34
 
35
35
  # Bun
36
- bun add @trpc/next@next @trpc/react-query@next @tanstack/react-query
36
+ bun add @trpc/next @trpc/react-query @tanstack/react-query
37
37
  ```
38
38
 
39
39
  ## Basic Example
@@ -0,0 +1,144 @@
1
+ {
2
+ "bundleSize": 22706,
3
+ "bundleOrigSize": 37801,
4
+ "bundleReduction": 39.93,
5
+ "modules": [
6
+ {
7
+ "id": "/src/ssrPrepass.ts",
8
+ "size": 5056,
9
+ "origSize": 5846,
10
+ "renderedExports": [
11
+ "ssrPrepass"
12
+ ],
13
+ "removedExports": [],
14
+ "dependents": [],
15
+ "percent": 22.27,
16
+ "reduction": 13.51
17
+ },
18
+ {
19
+ "id": "/src/app-dir/server.ts",
20
+ "size": 4301,
21
+ "origSize": 5888,
22
+ "renderedExports": [
23
+ "experimental_createTRPCNextAppDirServer",
24
+ "experimental_createServerActionHandler",
25
+ "experimental_revalidateEndpoint"
26
+ ],
27
+ "removedExports": [],
28
+ "dependents": [],
29
+ "percent": 18.94,
30
+ "reduction": 26.95
31
+ },
32
+ {
33
+ "id": "/src/app-dir/create-action-hook.tsx",
34
+ "size": 3435,
35
+ "origSize": 6811,
36
+ "renderedExports": [
37
+ "experimental_serverActionLink",
38
+ "experimental_createActionHook"
39
+ ],
40
+ "removedExports": [],
41
+ "dependents": [
42
+ "/src/app-dir/client.ts"
43
+ ],
44
+ "percent": 15.13,
45
+ "reduction": 49.57
46
+ },
47
+ {
48
+ "id": "/src/withTRPC.tsx",
49
+ "size": 3424,
50
+ "origSize": 6140,
51
+ "renderedExports": [
52
+ "withTRPC"
53
+ ],
54
+ "removedExports": [],
55
+ "dependents": [
56
+ "/src/index.ts",
57
+ "/src/createTRPCNext.tsx"
58
+ ],
59
+ "percent": 15.08,
60
+ "reduction": 44.23
61
+ },
62
+ {
63
+ "id": "/src/app-dir/links/nextCache.ts",
64
+ "size": 2593,
65
+ "origSize": 3059,
66
+ "renderedExports": [
67
+ "experimental_nextCacheLink"
68
+ ],
69
+ "removedExports": [],
70
+ "dependents": [],
71
+ "percent": 11.42,
72
+ "reduction": 15.23
73
+ },
74
+ {
75
+ "id": "/src/app-dir/client.ts",
76
+ "size": 1275,
77
+ "origSize": 1880,
78
+ "renderedExports": [
79
+ "experimental_createTRPCNextAppDirClient"
80
+ ],
81
+ "removedExports": [],
82
+ "dependents": [],
83
+ "percent": 5.62,
84
+ "reduction": 32.18
85
+ },
86
+ {
87
+ "id": "/src/app-dir/links/nextHttp.ts",
88
+ "size": 1189,
89
+ "origSize": 1973,
90
+ "renderedExports": [
91
+ "experimental_nextHttpLink"
92
+ ],
93
+ "removedExports": [],
94
+ "dependents": [],
95
+ "percent": 5.24,
96
+ "reduction": 39.74
97
+ },
98
+ {
99
+ "id": "/src/createTRPCNext.tsx",
100
+ "size": 1098,
101
+ "origSize": 2774,
102
+ "renderedExports": [
103
+ "createTRPCNext"
104
+ ],
105
+ "removedExports": [],
106
+ "dependents": [
107
+ "/src/index.ts"
108
+ ],
109
+ "percent": 4.84,
110
+ "reduction": 60.42
111
+ },
112
+ {
113
+ "id": "/src/app-dir/shared.ts",
114
+ "size": 335,
115
+ "origSize": 3368,
116
+ "renderedExports": [
117
+ "generateCacheTag",
118
+ "isFormData"
119
+ ],
120
+ "removedExports": [
121
+ "createUseProxy"
122
+ ],
123
+ "dependents": [
124
+ "/src/app-dir/server.ts",
125
+ "/src/app-dir/links/nextCache.ts",
126
+ "/src/app-dir/links/nextHttp.ts",
127
+ "/src/app-dir/create-action-hook.tsx"
128
+ ],
129
+ "percent": 1.48,
130
+ "reduction": 90.05
131
+ },
132
+ {
133
+ "id": "/src/index.ts",
134
+ "size": 0,
135
+ "origSize": 62,
136
+ "renderedExports": [],
137
+ "removedExports": [],
138
+ "dependents": [],
139
+ "percent": 0,
140
+ "reduction": 100
141
+ }
142
+ ],
143
+ "moduleCount": 10
144
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/next",
3
- "version": "11.0.0",
3
+ "version": "11.0.1-canary.6+e3bc61c2f",
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",
78
- "@trpc/react-query": "11.0.0",
79
- "@trpc/server": "11.0.0",
77
+ "@trpc/client": "11.0.1-canary.6+e3bc61c2f",
78
+ "@trpc/react-query": "11.0.1-canary.6+e3bc61c2f",
79
+ "@trpc/server": "11.0.1-canary.6+e3bc61c2f",
80
80
  "next": ">=15.2.2",
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.67.1",
95
- "@trpc/client": "11.0.0",
96
- "@trpc/react-query": "11.0.0",
97
- "@trpc/server": "11.0.0",
95
+ "@trpc/client": "11.0.1-canary.6+e3bc61c2f",
96
+ "@trpc/react-query": "11.0.1-canary.6+e3bc61c2f",
97
+ "@trpc/server": "11.0.1-canary.6+e3bc61c2f",
98
98
  "@types/express": "^5.0.0",
99
99
  "@types/node": "^22.13.5",
100
100
  "@types/react": "^19.0.0",
@@ -116,5 +116,5 @@
116
116
  "funding": [
117
117
  "https://trpc.io/sponsor"
118
118
  ],
119
- "gitHead": "85841a1ae4679847fd29ad5454c1a584a2e206d2"
119
+ "gitHead": "e3bc61c2ff4b2c60111cf1ace42807dddc77135b"
120
120
  }