@trpc/next 11.0.0-rc.666 → 11.0.0-rc.677
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/dist/app-dir/shared.d.ts +3 -2
- package/dist/app-dir/shared.d.ts.map +1 -1
- package/dist/app-dir/shared.js +1 -0
- package/dist/app-dir/shared.mjs +1 -0
- package/dist/bundle-analysis.json +7 -7
- package/dist/withTRPC.d.ts +2 -2
- package/dist/withTRPC.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/app-dir/shared.ts +7 -3
- package/src/withTRPC.tsx +6 -2
package/dist/app-dir/shared.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CreateTRPCClientOptions,
|
|
1
|
+
import type { CreateTRPCClientOptions, inferRouterClient, Resolver } from '@trpc/client';
|
|
2
|
+
import { TRPCUntypedClient } from '@trpc/client';
|
|
2
3
|
import type { inferProcedureOutput } from '@trpc/server';
|
|
3
4
|
import type { AnyClientTypes, AnyProcedure, AnyQueryProcedure, AnyRootTypes, AnyRouter, inferProcedureInput, inferTransformedProcedureOutput, ProtectedIntersection, RouterRecord } from '@trpc/server/unstable-core-do-not-import';
|
|
4
5
|
/**
|
|
@@ -12,7 +13,7 @@ export type UseProcedureRecord<TRoot extends AnyRootTypes, TRecord extends Route
|
|
|
12
13
|
transformer: TRoot['transformer'];
|
|
13
14
|
}> : never : never;
|
|
14
15
|
};
|
|
15
|
-
export declare function createUseProxy<TRouter extends AnyRouter>(client: TRPCUntypedClient<TRouter>): UseProcedureRecord<TRouter["_def"]["_config"]["$types"], TRouter["_def"]["record"]>;
|
|
16
|
+
export declare function createUseProxy<TRouter extends AnyRouter>(client: TRPCUntypedClient<TRouter> | inferRouterClient<TRouter>): UseProcedureRecord<TRouter["_def"]["_config"]["$types"], TRouter["_def"]["record"]>;
|
|
16
17
|
type NextAppRouterUse<TRouter extends AnyRouter> = {
|
|
17
18
|
<TData extends Promise<unknown>[]>(cb: (t: UseProcedureRecord<TRouter['_def']['_config']['$types'], TRouter['_def']['record']>) => [...TData]): {
|
|
18
19
|
[TKey in keyof TData]: Awaited<TData[TKey]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/app-dir/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,QAAQ,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/app-dir/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAoB,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,SAAS,EACT,mBAAmB,EACnB,+BAA+B,EAC/B,qBAAqB,EACrB,YAAY,EACb,MAAM,0CAA0C,CAAC;AAGlD;;GAEG;AACH,MAAM,MAAM,kBAAkB,CAC5B,KAAK,SAAS,YAAY,EAC1B,OAAO,SAAS,YAAY,IAC1B;KACD,IAAI,IAAI,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,MAAM,MAAM,GACvD,MAAM,SAAS,YAAY,GACzB,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,GACjC,MAAM,SAAS,iBAAiB,GAC9B,QAAQ,CAAC;QACP,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACnC,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;QAChC,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;KACnC,CAAC,GACF,KAAK,GACT,KAAK;CACV,CAAC;AA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AAE,MAAM,uBAAuB,CAAC,OAAO,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,UAIjE;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAM5D;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;CACjB;AAGD;;GAEG;AACH,MAAM,MAAM,cAAc,CACxB,KAAK,SAAS,cAAc,EAC5B,KAAK,SAAS,YAAY,IACxB;IACF,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAClC,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACpC,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACjC,CAAC"}
|
package/dist/app-dir/shared.js
CHANGED
package/dist/app-dir/shared.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bundleSize": 22997,
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 39.
|
|
3
|
+
"bundleOrigSize": 38240,
|
|
4
|
+
"bundleReduction": 39.86,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/ssrPrepass.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
{
|
|
48
48
|
"id": "/src/withTRPC.tsx",
|
|
49
49
|
"size": 3424,
|
|
50
|
-
"origSize":
|
|
50
|
+
"origSize": 6193,
|
|
51
51
|
"renderedExports": [
|
|
52
52
|
"withTRPC"
|
|
53
53
|
],
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"/src/createTRPCNext.tsx"
|
|
58
58
|
],
|
|
59
59
|
"percent": 14.89,
|
|
60
|
-
"reduction": 44.
|
|
60
|
+
"reduction": 44.71
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"id": "/src/app-dir/links/nextCache.ts",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
{
|
|
113
113
|
"id": "/src/app-dir/shared.ts",
|
|
114
114
|
"size": 335,
|
|
115
|
-
"origSize":
|
|
115
|
+
"origSize": 3392,
|
|
116
116
|
"renderedExports": [
|
|
117
117
|
"generateCacheTag",
|
|
118
118
|
"isFormData"
|
|
@@ -122,12 +122,12 @@
|
|
|
122
122
|
],
|
|
123
123
|
"dependents": [
|
|
124
124
|
"/src/app-dir/server.ts",
|
|
125
|
-
"/src/app-dir/links/nextCache.ts",
|
|
126
125
|
"/src/app-dir/links/nextHttp.ts",
|
|
126
|
+
"/src/app-dir/links/nextCache.ts",
|
|
127
127
|
"/src/app-dir/create-action-hook.tsx"
|
|
128
128
|
],
|
|
129
129
|
"percent": 1.46,
|
|
130
|
-
"reduction":
|
|
130
|
+
"reduction": 90.12
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"id": "/src/index.ts",
|
package/dist/withTRPC.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* https://github.com/FormidableLabs/urql/blob/main/packages/next-urql/src/with-urql-client.ts
|
|
4
4
|
*/
|
|
5
5
|
import type { QueryClient } from '@tanstack/react-query';
|
|
6
|
-
import type { CreateTRPCClientOptions, TRPCUntypedClient } from '@trpc/client';
|
|
6
|
+
import type { CreateTRPCClientOptions, inferRouterClient, TRPCUntypedClient } from '@trpc/client';
|
|
7
7
|
import { type TransformerOptions } from '@trpc/client/unstable-internals';
|
|
8
8
|
import type { TRPCClientError } from '@trpc/react-query';
|
|
9
9
|
import type { CreateTRPCReactOptions, CreateTRPCReactQueryClientConfig } from '@trpc/react-query/shared';
|
|
@@ -46,7 +46,7 @@ export type WithTRPCNoSSROptions<TRouter extends AnyRouter> = WithTRPCOptions<TR
|
|
|
46
46
|
export type TRPCPrepassProps<TRouter extends AnyRouter, TSSRContext extends NextPageContext = NextPageContext> = {
|
|
47
47
|
config: WithTRPCConfig<TRouter>;
|
|
48
48
|
queryClient: QueryClient;
|
|
49
|
-
trpcClient: TRPCUntypedClient<TRouter>;
|
|
49
|
+
trpcClient: TRPCUntypedClient<TRouter> | inferRouterClient<TRouter>;
|
|
50
50
|
ssrState: 'prepass';
|
|
51
51
|
ssrContext: TSSRContext;
|
|
52
52
|
};
|
package/dist/withTRPC.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withTRPC.d.ts","sourceRoot":"","sources":["../src/withTRPC.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAmB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE1E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"withTRPC.d.ts","sourceRoot":"","sources":["../src/withTRPC.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAmB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE1E,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,gCAAgC,EACjC,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EACV,SAAS,EAET,gBAAgB,EAChB,YAAY,EACb,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAGV,iBAAiB,EACjB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AAIpC,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,SAAS,IAClD,uBAAuB,CAAC,OAAO,CAAC,GAC9B,gCAAgC,GAAG;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;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,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AAEF,wBAAgB,QAAQ,CACtB,OAAO,SAAS,SAAS,EACzB,WAAW,SAAS,eAAe,GAAG,eAAe,EACrD,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC,eAO9C,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,KAAG,iBAAiB,CAgGxE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/next",
|
|
3
|
-
"version": "11.0.0-rc.
|
|
3
|
+
"version": "11.0.0-rc.677+1032f4880",
|
|
4
4
|
"description": "The tRPC Next.js library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
],
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@tanstack/react-query": "^5.59.15",
|
|
77
|
-
"@trpc/client": "11.0.0-rc.
|
|
78
|
-
"@trpc/react-query": "11.0.0-rc.
|
|
79
|
-
"@trpc/server": "11.0.0-rc.
|
|
77
|
+
"@trpc/client": "11.0.0-rc.677+1032f4880",
|
|
78
|
+
"@trpc/react-query": "11.0.0-rc.677+1032f4880",
|
|
79
|
+
"@trpc/server": "11.0.0-rc.677+1032f4880",
|
|
80
80
|
"next": "*",
|
|
81
81
|
"react": ">=16.8.0",
|
|
82
82
|
"react-dom": ">=16.8.0",
|
|
83
|
-
"typescript": ">=5.
|
|
83
|
+
"typescript": ">=5.7.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependenciesMeta": {
|
|
86
86
|
"@tanstack/react-query": {
|
|
@@ -92,21 +92,21 @@
|
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@tanstack/react-query": "^5.62.8",
|
|
95
|
-
"@trpc/client": "11.0.0-rc.
|
|
96
|
-
"@trpc/react-query": "11.0.0-rc.
|
|
97
|
-
"@trpc/server": "11.0.0-rc.
|
|
95
|
+
"@trpc/client": "11.0.0-rc.677+1032f4880",
|
|
96
|
+
"@trpc/react-query": "11.0.0-rc.677+1032f4880",
|
|
97
|
+
"@trpc/server": "11.0.0-rc.677+1032f4880",
|
|
98
98
|
"@types/express": "^4.17.17",
|
|
99
99
|
"@types/node": "^22.9.0",
|
|
100
100
|
"@types/react": "^19.0.0",
|
|
101
101
|
"@types/react-dom": "^19.0.0",
|
|
102
102
|
"eslint": "^9.13.0",
|
|
103
103
|
"express": "^5.0.0",
|
|
104
|
-
"next": "^15.
|
|
104
|
+
"next": "^15.1.3",
|
|
105
105
|
"react": "^19.0.0",
|
|
106
106
|
"react-dom": "^19.0.0",
|
|
107
107
|
"rollup": "^4.24.4",
|
|
108
108
|
"tsx": "^4.0.0",
|
|
109
|
-
"typescript": "^5.7.
|
|
109
|
+
"typescript": "^5.7.2",
|
|
110
110
|
"zod": "^3.0.0"
|
|
111
111
|
},
|
|
112
112
|
"publishConfig": {
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"funding": [
|
|
116
116
|
"https://trpc.io/sponsor"
|
|
117
117
|
],
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "1032f48805c74e814cad8aba2ba9811e914b7b85"
|
|
119
119
|
}
|
package/src/app-dir/shared.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
CreateTRPCClientOptions,
|
|
3
|
+
inferRouterClient,
|
|
3
4
|
Resolver,
|
|
4
|
-
TRPCUntypedClient,
|
|
5
5
|
} from '@trpc/client';
|
|
6
|
+
import { getUntypedClient, TRPCUntypedClient } from '@trpc/client';
|
|
6
7
|
import type { inferProcedureOutput } from '@trpc/server';
|
|
7
8
|
import type {
|
|
8
9
|
AnyClientTypes,
|
|
@@ -39,8 +40,11 @@ export type UseProcedureRecord<
|
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
export function createUseProxy<TRouter extends AnyRouter>(
|
|
42
|
-
client: TRPCUntypedClient<TRouter>,
|
|
43
|
+
client: TRPCUntypedClient<TRouter> | inferRouterClient<TRouter>,
|
|
43
44
|
) {
|
|
45
|
+
const untypedClient: TRPCUntypedClient<TRouter> =
|
|
46
|
+
client instanceof TRPCUntypedClient ? client : getUntypedClient(client);
|
|
47
|
+
|
|
44
48
|
return createRecursiveProxy<
|
|
45
49
|
UseProcedureRecord<
|
|
46
50
|
TRouter['_def']['_config']['$types'],
|
|
@@ -49,7 +53,7 @@ export function createUseProxy<TRouter extends AnyRouter>(
|
|
|
49
53
|
>((opts) => {
|
|
50
54
|
const path = opts.path.join('.');
|
|
51
55
|
|
|
52
|
-
return
|
|
56
|
+
return untypedClient.query(path, ...opts.args);
|
|
53
57
|
});
|
|
54
58
|
}
|
|
55
59
|
|
package/src/withTRPC.tsx
CHANGED
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { DehydratedState, QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import { HydrationBoundary, QueryClientProvider } from '@tanstack/react-query';
|
|
7
|
-
import type {
|
|
7
|
+
import type {
|
|
8
|
+
CreateTRPCClientOptions,
|
|
9
|
+
inferRouterClient,
|
|
10
|
+
TRPCUntypedClient,
|
|
11
|
+
} from '@trpc/client';
|
|
8
12
|
import type { CoercedTransformerParameters } from '@trpc/client/unstable-internals';
|
|
9
13
|
import {
|
|
10
14
|
getTransformer,
|
|
@@ -78,7 +82,7 @@ export type TRPCPrepassProps<
|
|
|
78
82
|
> = {
|
|
79
83
|
config: WithTRPCConfig<TRouter>;
|
|
80
84
|
queryClient: QueryClient;
|
|
81
|
-
trpcClient: TRPCUntypedClient<TRouter>;
|
|
85
|
+
trpcClient: TRPCUntypedClient<TRouter> | inferRouterClient<TRouter>;
|
|
82
86
|
ssrState: 'prepass';
|
|
83
87
|
ssrContext: TSSRContext;
|
|
84
88
|
};
|