@trpc/next 11.0.0-alpha-tmp.195 → 11.0.0-alpha-tmp.198
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 -1
- package/dist/withTRPC.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/withTRPC.tsx +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bundleSize": 22168,
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 30.
|
|
3
|
+
"bundleOrigSize": 31831,
|
|
4
|
+
"bundleReduction": 30.36,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/withTRPC.tsx",
|
|
8
8
|
"size": 8009,
|
|
9
|
-
"origSize":
|
|
9
|
+
"origSize": 9274,
|
|
10
10
|
"renderedExports": [
|
|
11
11
|
"withTRPC"
|
|
12
12
|
],
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"/src/index.ts"
|
|
17
17
|
],
|
|
18
18
|
"percent": 36.13,
|
|
19
|
-
"reduction": 13.
|
|
19
|
+
"reduction": 13.64
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"id": "/src/app-dir/server.ts",
|
package/dist/withTRPC.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CreateTRPCClientOptions } from '@trpc/client';
|
|
2
2
|
import type { AnyRouter } from '@trpc/core';
|
|
3
|
-
import type { ResponseMeta } from '@trpc/core/http';
|
|
4
3
|
import { TRPCClientError } from '@trpc/react-query';
|
|
5
4
|
import { CreateTRPCReactOptions, CreateTRPCReactQueryClientConfig } from '@trpc/react-query/shared';
|
|
5
|
+
import type { ResponseMeta } from '@trpc/server/http';
|
|
6
6
|
import { NextComponentType, NextPageContext } from 'next/dist/shared/lib/utils';
|
|
7
7
|
export type WithTRPCConfig<TRouter extends AnyRouter> = CreateTRPCClientOptions<TRouter> & CreateTRPCReactQueryClientConfig & {
|
|
8
8
|
abortOnUnmount?: boolean;
|
package/dist/withTRPC.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withTRPC.d.ts","sourceRoot":"","sources":["../src/withTRPC.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,uBAAuB,EAGxB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,
|
|
1
|
+
{"version":3,"file":"withTRPC.d.ts","sourceRoot":"","sources":["../src/withTRPC.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,uBAAuB,EAGxB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAuB,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAEL,sBAAsB,EACtB,gCAAgC,EAEjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AA0BpC,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,SAAS,IAClD,uBAAuB,CAAC,OAAO,CAAC,GAC9B,gCAAgC,GAAG;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEN,UAAU,eAAe,CAAC,OAAO,SAAS,SAAS,CACjD,SAAQ,sBAAsB,CAAC,OAAO,CAAC;IACvC,MAAM,EAAE,CAAC,IAAI,EAAE;QAAE,GAAG,CAAC,EAAE,eAAe,CAAA;KAAE,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC;CACtE;AAED,MAAM,WAAW,kBAAkB,CAAC,OAAO,SAAS,SAAS,CAC3D,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,GAAG,EAAE,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE;QAAE,GAAG,EAAE,eAAe,CAAA;KAAE,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7E,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE;QACpB,GAAG,EAAE,eAAe,CAAC;QACrB,YAAY,EAAE,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;KAC1C,KAAK,YAAY,CAAC;CACpB;AACD,MAAM,WAAW,oBAAoB,CAAC,OAAO,SAAS,SAAS,CAC7D,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,GAAG,CAAC,EAAE,KAAK,CAAC;CACb;AAED,wBAAgB,QAAQ,CACtB,OAAO,SAAS,SAAS,EACzB,WAAW,SAAS,eAAe,GAAG,eAAe,EACrD,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC,eAU9C,kBAAkB,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,KAAG,iBAAiB,CAqMxE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/next",
|
|
3
|
-
"version": "11.0.0-alpha-tmp.
|
|
3
|
+
"version": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
4
4
|
"description": "The tRPC Next.js library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
],
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@tanstack/react-query": "^5.0.0",
|
|
70
|
-
"@trpc/client": "11.0.0-alpha-tmp.
|
|
71
|
-
"@trpc/core": "11.0.0-alpha-tmp.
|
|
72
|
-
"@trpc/react-query": "11.0.0-alpha-tmp.
|
|
73
|
-
"@trpc/server": "11.0.0-alpha-tmp.
|
|
70
|
+
"@trpc/client": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
71
|
+
"@trpc/core": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
72
|
+
"@trpc/react-query": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
73
|
+
"@trpc/server": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
74
74
|
"next": "*",
|
|
75
75
|
"react": ">=16.8.0",
|
|
76
76
|
"react-dom": ">=16.8.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@tanstack/react-query": "^5.0.0",
|
|
80
|
-
"@trpc/client": "11.0.0-alpha-tmp.
|
|
81
|
-
"@trpc/core": "11.0.0-alpha-tmp.
|
|
82
|
-
"@trpc/react-query": "11.0.0-alpha-tmp.
|
|
83
|
-
"@trpc/server": "11.0.0-alpha-tmp.
|
|
80
|
+
"@trpc/client": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
81
|
+
"@trpc/core": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
82
|
+
"@trpc/react-query": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
83
|
+
"@trpc/server": "11.0.0-alpha-tmp.198+d54dfc68a",
|
|
84
84
|
"@types/express": "^4.17.17",
|
|
85
85
|
"@types/node": "^20.10.0",
|
|
86
86
|
"@types/react": "^18.2.33",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"funding": [
|
|
101
101
|
"https://trpc.io/sponsor"
|
|
102
102
|
],
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "d54dfc68a56cde8005738e4217286c430df3fc4e"
|
|
104
104
|
}
|
package/src/withTRPC.tsx
CHANGED
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
} from '@trpc/client';
|
|
17
17
|
import type { AnyRouter } from '@trpc/core';
|
|
18
18
|
import { Dict, Maybe } from '@trpc/core';
|
|
19
|
-
import type { ResponseMeta } from '@trpc/core/http';
|
|
20
19
|
import { TRPCClientError, TRPCClientErrorLike } from '@trpc/react-query';
|
|
21
20
|
import {
|
|
22
21
|
createRootHooks,
|
|
@@ -24,6 +23,7 @@ import {
|
|
|
24
23
|
CreateTRPCReactQueryClientConfig,
|
|
25
24
|
getQueryClient,
|
|
26
25
|
} from '@trpc/react-query/shared';
|
|
26
|
+
import type { ResponseMeta } from '@trpc/server/http';
|
|
27
27
|
import {
|
|
28
28
|
AppContextType,
|
|
29
29
|
AppPropsType,
|