@trpc/next 11.0.0-next-alpha.172 → 11.0.0-next-beta.178
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": 22154,
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 31.
|
|
3
|
+
"bundleOrigSize": 32285,
|
|
4
|
+
"bundleReduction": 31.38,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/withTRPC.tsx",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
{
|
|
87
87
|
"id": "/src/createTRPCNext.tsx",
|
|
88
88
|
"size": 1045,
|
|
89
|
-
"origSize":
|
|
89
|
+
"origSize": 2631,
|
|
90
90
|
"renderedExports": [
|
|
91
91
|
"createTRPCNext"
|
|
92
92
|
],
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"/src/index.ts"
|
|
96
96
|
],
|
|
97
97
|
"percent": 4.72,
|
|
98
|
-
"reduction": 60.
|
|
98
|
+
"reduction": 60.28
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"id": "/src/app-dir/formDataToObject.ts",
|
package/dist/createTRPCNext.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ export interface CreateTRPCNextBase<TRouter extends AnyRouter, TSSRContext exten
|
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated renamed to `useUtils` and will be removed in a future tRPC version
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @link https://trpc.io/docs/v11/client/react/useUtils
|
|
14
14
|
*/
|
|
15
15
|
useContext(): CreateReactUtils<TRouter, TSSRContext>;
|
|
16
16
|
/**
|
|
17
|
-
* @
|
|
17
|
+
* @link https://trpc.io/docs/v11/client/react/useUtils
|
|
18
18
|
*/
|
|
19
19
|
useUtils(): CreateReactUtils<TRouter, TSSRContext>;
|
|
20
20
|
withTRPC: ReturnType<typeof withTRPC<TRouter, TSSRContext>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/next",
|
|
3
|
-
"version": "11.0.0-next-
|
|
3
|
+
"version": "11.0.0-next-beta.178+f6674ef59",
|
|
4
4
|
"description": "The tRPC Next.js library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dev": "pnpm build --watch",
|
|
28
28
|
"codegen-entrypoints": "tsx entrypoints.script.ts",
|
|
29
29
|
"ts-watch": "tsc --project tsconfig.watch.json --watch",
|
|
30
|
-
"lint": "eslint --cache --ext \".js,.ts,.tsx\" --ignore-path ../../.gitignore
|
|
30
|
+
"lint": "eslint --cache --ext \".js,.ts,.tsx\" --ignore-path ../../.gitignore src"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
"./package.json": "./package.json",
|
|
@@ -66,20 +66,20 @@
|
|
|
66
66
|
"!**/*.test.*"
|
|
67
67
|
],
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@trpc/core": "11.0.0-next-
|
|
69
|
+
"@trpc/core": "11.0.0-next-beta.178+f6674ef59"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@tanstack/react-query": "^5.0.0",
|
|
73
|
-
"@trpc/client": "11.0.0-next-
|
|
74
|
-
"@trpc/react-query": "11.0.0-next-
|
|
73
|
+
"@trpc/client": "11.0.0-next-beta.178+f6674ef59",
|
|
74
|
+
"@trpc/react-query": "11.0.0-next-beta.178+f6674ef59",
|
|
75
75
|
"next": "*",
|
|
76
76
|
"react": ">=16.8.0",
|
|
77
77
|
"react-dom": ">=16.8.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@tanstack/react-query": "^5.0.0",
|
|
81
|
-
"@trpc/client": "11.0.0-next-
|
|
82
|
-
"@trpc/react-query": "11.0.0-next-
|
|
81
|
+
"@trpc/client": "11.0.0-next-beta.178+f6674ef59",
|
|
82
|
+
"@trpc/react-query": "11.0.0-next-beta.178+f6674ef59",
|
|
83
83
|
"@types/express": "^4.17.17",
|
|
84
84
|
"@types/node": "^20.10.0",
|
|
85
85
|
"@types/react": "^18.2.33",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"funding": [
|
|
100
100
|
"https://trpc.io/sponsor"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "f6674ef5901fe558e9f482918fe2b7b2218185cc"
|
|
103
103
|
}
|
package/src/createTRPCNext.tsx
CHANGED
|
@@ -28,11 +28,11 @@ export interface CreateTRPCNextBase<
|
|
|
28
28
|
/**
|
|
29
29
|
* @deprecated renamed to `useUtils` and will be removed in a future tRPC version
|
|
30
30
|
*
|
|
31
|
-
* @
|
|
31
|
+
* @link https://trpc.io/docs/v11/client/react/useUtils
|
|
32
32
|
*/
|
|
33
33
|
useContext(): CreateReactUtils<TRouter, TSSRContext>;
|
|
34
34
|
/**
|
|
35
|
-
* @
|
|
35
|
+
* @link https://trpc.io/docs/v11/client/react/useUtils
|
|
36
36
|
*/
|
|
37
37
|
useUtils(): CreateReactUtils<TRouter, TSSRContext>;
|
|
38
38
|
withTRPC: ReturnType<typeof withTRPC<TRouter, TSSRContext>>;
|