@trpc/next 11.0.0-rc.532 → 11.0.0-rc.551

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": 22926,
3
- "bundleOrigSize": 37788,
4
- "bundleReduction": 39.33,
3
+ "bundleOrigSize": 37784,
4
+ "bundleReduction": 39.32,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/ssrPrepass.ts",
@@ -32,7 +32,7 @@
32
32
  {
33
33
  "id": "/src/withTRPC.tsx",
34
34
  "size": 3448,
35
- "origSize": 6138,
35
+ "origSize": 6136,
36
36
  "renderedExports": [
37
37
  "withTRPC"
38
38
  ],
@@ -42,7 +42,7 @@
42
42
  "/src/createTRPCNext.tsx"
43
43
  ],
44
44
  "percent": 15.04,
45
- "reduction": 43.83
45
+ "reduction": 43.81
46
46
  },
47
47
  {
48
48
  "id": "/src/app-dir/create-action-hook.tsx",
@@ -98,7 +98,7 @@
98
98
  {
99
99
  "id": "/src/createTRPCNext.tsx",
100
100
  "size": 1098,
101
- "origSize": 2776,
101
+ "origSize": 2774,
102
102
  "renderedExports": [
103
103
  "createTRPCNext"
104
104
  ],
@@ -107,7 +107,7 @@
107
107
  "/src/index.ts"
108
108
  ],
109
109
  "percent": 4.79,
110
- "reduction": 60.45
110
+ "reduction": 60.42
111
111
  },
112
112
  {
113
113
  "id": "/src/app-dir/shared.ts",
@@ -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
- * @link https://trpc.io/docs/v11/client/react/useUtils
13
+ * @see https://trpc.io/docs/v11/client/react/useUtils
14
14
  */
15
15
  useContext(): CreateReactUtils<TRouter, TSSRContext>;
16
16
  /**
17
- * @link https://trpc.io/docs/v11/client/react/useUtils
17
+ * @see https://trpc.io/docs/v11/client/react/useUtils
18
18
  */
19
19
  useUtils(): CreateReactUtils<TRouter, TSSRContext>;
20
20
  withTRPC: ReturnType<typeof withTRPC<TRouter, TSSRContext>>;
@@ -25,7 +25,7 @@ export type TRPCPrepassHelper = (opts: {
25
25
  export type WithTRPCSSROptions<TRouter extends AnyRouter> = WithTRPCOptions<TRouter> & {
26
26
  /**
27
27
  * If you enable this, you also need to add a `ssrPrepass`-prop
28
- * @link https://trpc.io/docs/client/nextjs/ssr
28
+ * @see https://trpc.io/docs/client/nextjs/ssr
29
29
  */
30
30
  ssr: true | ((opts: {
31
31
  ctx: NextPageContext;
@@ -36,7 +36,7 @@ export type WithTRPCSSROptions<TRouter extends AnyRouter> = WithTRPCOptions<TRou
36
36
  }) => ResponseMeta;
37
37
  /**
38
38
  * use `import { ssrPrepass } from '@trpc/next/ssrPrepass'`
39
- * @link https://trpc.io/docs/client/nextjs/ssr
39
+ * @see https://trpc.io/docs/client/nextjs/ssr
40
40
  */
41
41
  ssrPrepass: TRPCPrepassHelper;
42
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/next",
3
- "version": "11.0.0-rc.532+476db0d8c",
3
+ "version": "11.0.0-rc.551+33a3515c1",
4
4
  "description": "The tRPC Next.js library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -73,9 +73,9 @@
73
73
  ],
74
74
  "peerDependencies": {
75
75
  "@tanstack/react-query": "^5.54.1",
76
- "@trpc/client": "11.0.0-rc.532+476db0d8c",
77
- "@trpc/react-query": "11.0.0-rc.532+476db0d8c",
78
- "@trpc/server": "11.0.0-rc.532+476db0d8c",
76
+ "@trpc/client": "11.0.0-rc.551+33a3515c1",
77
+ "@trpc/react-query": "11.0.0-rc.551+33a3515c1",
78
+ "@trpc/server": "11.0.0-rc.551+33a3515c1",
79
79
  "next": "*",
80
80
  "react": ">=16.8.0",
81
81
  "react-dom": ">=16.8.0"
@@ -90,9 +90,9 @@
90
90
  },
91
91
  "devDependencies": {
92
92
  "@tanstack/react-query": "^5.54.1",
93
- "@trpc/client": "11.0.0-rc.532+476db0d8c",
94
- "@trpc/react-query": "11.0.0-rc.532+476db0d8c",
95
- "@trpc/server": "11.0.0-rc.532+476db0d8c",
93
+ "@trpc/client": "11.0.0-rc.551+33a3515c1",
94
+ "@trpc/react-query": "11.0.0-rc.551+33a3515c1",
95
+ "@trpc/server": "11.0.0-rc.551+33a3515c1",
96
96
  "@types/express": "^4.17.17",
97
97
  "@types/node": "^20.10.0",
98
98
  "@types/react": "^18.3.1",
@@ -112,5 +112,5 @@
112
112
  "funding": [
113
113
  "https://trpc.io/sponsor"
114
114
  ],
115
- "gitHead": "476db0d8c42cd886182b117f6fd1ecbe0ae7cbd8"
115
+ "gitHead": "33a3515c12fbf14105362278d42d32f92ef22740"
116
116
  }
@@ -31,11 +31,11 @@ export interface CreateTRPCNextBase<
31
31
  /**
32
32
  * @deprecated renamed to `useUtils` and will be removed in a future tRPC version
33
33
  *
34
- * @link https://trpc.io/docs/v11/client/react/useUtils
34
+ * @see https://trpc.io/docs/v11/client/react/useUtils
35
35
  */
36
36
  useContext(): CreateReactUtils<TRouter, TSSRContext>;
37
37
  /**
38
- * @link https://trpc.io/docs/v11/client/react/useUtils
38
+ * @see https://trpc.io/docs/v11/client/react/useUtils
39
39
  */
40
40
  useUtils(): CreateReactUtils<TRouter, TSSRContext>;
41
41
  withTRPC: ReturnType<typeof withTRPC<TRouter, TSSRContext>>;
package/src/withTRPC.tsx CHANGED
@@ -51,7 +51,7 @@ export type WithTRPCSSROptions<TRouter extends AnyRouter> =
51
51
  WithTRPCOptions<TRouter> & {
52
52
  /**
53
53
  * If you enable this, you also need to add a `ssrPrepass`-prop
54
- * @link https://trpc.io/docs/client/nextjs/ssr
54
+ * @see https://trpc.io/docs/client/nextjs/ssr
55
55
  */
56
56
  ssr:
57
57
  | true
@@ -62,7 +62,7 @@ export type WithTRPCSSROptions<TRouter extends AnyRouter> =
62
62
  }) => ResponseMeta;
63
63
  /**
64
64
  * use `import { ssrPrepass } from '@trpc/next/ssrPrepass'`
65
- * @link https://trpc.io/docs/client/nextjs/ssr
65
+ * @see https://trpc.io/docs/client/nextjs/ssr
66
66
  */
67
67
  ssrPrepass: TRPCPrepassHelper;
68
68
  };