@trpc/next 10.0.0-proxy-alpha.73 → 10.0.0-proxy-alpha.76
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/withTRPC.d.ts +1 -1
- package/dist/withTRPC.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/withTRPC.tsx +1 -1
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 { QueryClient } from '@tanstack/react-query';
|
|
6
|
-
import type { CreateTRPCClientOptions } from '@trpc/client
|
|
6
|
+
import type { CreateTRPCClientOptions } from '@trpc/client';
|
|
7
7
|
import { TRPCClientError } from '@trpc/react';
|
|
8
8
|
import type { AnyRouter, ResponseMeta } from '@trpc/server';
|
|
9
9
|
import { 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,EAGL,WAAW,EAGZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"withTRPC.d.ts","sourceRoot":"","sources":["../src/withTRPC.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAGL,WAAW,EAGZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAEL,eAAe,EAIhB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,SAAS,EAAe,YAAY,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAGL,iBAAiB,EACjB,eAAe,EAChB,MAAM,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
4
4
|
"description": "tRPC Next lib",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@tanstack/react-query": "^4.0.10",
|
|
39
|
-
"@trpc/client": "10.0.0-proxy-alpha.
|
|
40
|
-
"@trpc/react": "10.0.0-proxy-alpha.
|
|
41
|
-
"@trpc/server": "10.0.0-proxy-alpha.
|
|
39
|
+
"@trpc/client": "10.0.0-proxy-alpha.76",
|
|
40
|
+
"@trpc/react": "10.0.0-proxy-alpha.76",
|
|
41
|
+
"@trpc/server": "10.0.0-proxy-alpha.76",
|
|
42
42
|
"next": "*",
|
|
43
43
|
"react": ">=16.8.0",
|
|
44
44
|
"react-dom": ">=16.8.0"
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@tanstack/react-query": "^4.0.10",
|
|
51
|
-
"@trpc/client": "10.0.0-proxy-alpha.
|
|
52
|
-
"@trpc/react": "10.0.0-proxy-alpha.
|
|
53
|
-
"@trpc/server": "10.0.0-proxy-alpha.
|
|
51
|
+
"@trpc/client": "10.0.0-proxy-alpha.76",
|
|
52
|
+
"@trpc/react": "10.0.0-proxy-alpha.76",
|
|
53
|
+
"@trpc/server": "10.0.0-proxy-alpha.76",
|
|
54
54
|
"@types/express": "^4.17.12",
|
|
55
55
|
"express": "^4.17.1",
|
|
56
56
|
"next": "^12.1.6",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "56bcacc869da9ee04c78c1eff2b4f9ad6ae9dece"
|
|
65
65
|
}
|
package/src/withTRPC.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
QueryClientProvider,
|
|
10
10
|
dehydrate,
|
|
11
11
|
} from '@tanstack/react-query';
|
|
12
|
-
import type { CreateTRPCClientOptions } from '@trpc/client
|
|
12
|
+
import type { CreateTRPCClientOptions } from '@trpc/client';
|
|
13
13
|
import {
|
|
14
14
|
TRPCClient,
|
|
15
15
|
TRPCClientError,
|