@trpc/next 11.0.0-rc.699 → 11.0.0-rc.708
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/bundle-analysis.json +4 -4
- package/dist/withTRPC.d.ts +1 -2
- package/dist/withTRPC.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/ssrPrepass.ts +1 -1
- package/src/withTRPC.tsx +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bundleSize": 22997,
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 39.
|
|
3
|
+
"bundleOrigSize": 38196,
|
|
4
|
+
"bundleReduction": 39.79,
|
|
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": 6154,
|
|
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.36
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"id": "/src/app-dir/links/nextCache.ts",
|
package/dist/withTRPC.d.ts
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
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, inferRouterClient, TRPCUntypedClient } from '@trpc/client';
|
|
6
|
+
import type { CreateTRPCClientOptions, inferRouterClient, TRPCClientError, TRPCUntypedClient } from '@trpc/client';
|
|
7
7
|
import { type TransformerOptions } from '@trpc/client/unstable-internals';
|
|
8
|
-
import type { TRPCClientError } from '@trpc/client';
|
|
9
8
|
import type { CreateTRPCReactOptions, CreateTRPCReactQueryClientConfig } from '@trpc/react-query/shared';
|
|
10
9
|
import type { AnyRouter, inferClientTypes, ResponseMeta } from '@trpc/server/unstable-core-do-not-import';
|
|
11
10
|
import type { NextComponentType, NextPageContext } from 'next/dist/shared/lib/utils';
|
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,EACV,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AACzC,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,eAAe,EACf,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AACzC,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,I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EJ,MAAM,MAAM,gBAAgB,CAC1B,OAAO,SAAS,SAAS,EACzB,WAAW,SAAS,eAAe,GAAG,eAAe,IACnD;IACF,MAAM,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.708+209e9ad21",
|
|
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.
|
|
78
|
-
"@trpc/react-query": "11.0.0-rc.
|
|
79
|
-
"@trpc/server": "11.0.0-rc.
|
|
77
|
+
"@trpc/client": "11.0.0-rc.708+209e9ad21",
|
|
78
|
+
"@trpc/react-query": "11.0.0-rc.708+209e9ad21",
|
|
79
|
+
"@trpc/server": "11.0.0-rc.708+209e9ad21",
|
|
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.
|
|
96
|
-
"@trpc/react-query": "11.0.0-rc.
|
|
97
|
-
"@trpc/server": "11.0.0-rc.
|
|
95
|
+
"@trpc/client": "11.0.0-rc.708+209e9ad21",
|
|
96
|
+
"@trpc/react-query": "11.0.0-rc.708+209e9ad21",
|
|
97
|
+
"@trpc/server": "11.0.0-rc.708+209e9ad21",
|
|
98
98
|
"@types/express": "^4.17.17",
|
|
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": "
|
|
118
|
+
"gitHead": "209e9ad216fe81d7952f7f23368ff01d0979a784"
|
|
119
119
|
}
|
package/src/ssrPrepass.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import type { DehydratedState } from '@tanstack/react-query';
|
|
6
6
|
import { dehydrate } from '@tanstack/react-query';
|
|
7
7
|
import { createTRPCUntypedClient } from '@trpc/client';
|
|
8
|
+
import type { TRPCClientError, TRPCClientErrorLike } from '@trpc/client';
|
|
8
9
|
import type { CoercedTransformerParameters } from '@trpc/client/unstable-internals';
|
|
9
10
|
import { getTransformer } from '@trpc/client/unstable-internals';
|
|
10
|
-
import type { TRPCClientError, TRPCClientErrorLike } from '@trpc/client';
|
|
11
11
|
import { getQueryClient } from '@trpc/react-query/shared';
|
|
12
12
|
import type {
|
|
13
13
|
AnyRouter,
|
package/src/withTRPC.tsx
CHANGED
|
@@ -7,6 +7,7 @@ import { HydrationBoundary, QueryClientProvider } from '@tanstack/react-query';
|
|
|
7
7
|
import type {
|
|
8
8
|
CreateTRPCClientOptions,
|
|
9
9
|
inferRouterClient,
|
|
10
|
+
TRPCClientError,
|
|
10
11
|
TRPCUntypedClient,
|
|
11
12
|
} from '@trpc/client';
|
|
12
13
|
import type { CoercedTransformerParameters } from '@trpc/client/unstable-internals';
|
|
@@ -14,7 +15,6 @@ import {
|
|
|
14
15
|
getTransformer,
|
|
15
16
|
type TransformerOptions,
|
|
16
17
|
} from '@trpc/client/unstable-internals';
|
|
17
|
-
import type { TRPCClientError } from '@trpc/client';
|
|
18
18
|
import type {
|
|
19
19
|
CreateTRPCReactOptions,
|
|
20
20
|
CreateTRPCReactQueryClientConfig,
|