@trpc/next 10.43.0 → 10.43.2

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.
@@ -4,6 +4,6 @@ type NextFetchLinkOptions<TBatch extends boolean> = (TBatch extends true ? HTTPB
4
4
  batch?: TBatch;
5
5
  revalidate?: number | false;
6
6
  };
7
- export declare function experimental_nextHttpLink<TRouter extends AnyRouter, TBatch extends boolean>(opts: NextFetchLinkOptions<TBatch>): TRPCLink<TRouter>;
7
+ export declare function experimental_nextHttpLink<TRouter extends AnyRouter, TBatch extends boolean>(opts: Omit<NextFetchLinkOptions<TBatch>, 'fetch'>): TRPCLink<TRouter>;
8
8
  export {};
9
9
  //# sourceMappingURL=nextHttp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextHttp.d.ts","sourceRoot":"","sources":["../../../src/app-dir/links/nextHttp.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EAEpB,eAAe,EACf,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,KAAK,oBAAoB,CAAC,MAAM,SAAS,OAAO,IAAI,CAAC,MAAM,SAAS,IAAI,GACpE,oBAAoB,GACpB,eAAe,CAAC,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC7B,CAAC;AAGF,wBAAgB,yBAAyB,CACvC,OAAO,SAAS,SAAS,EACzB,MAAM,SAAS,OAAO,EACtB,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAgCvD"}
1
+ {"version":3,"file":"nextHttp.d.ts","sourceRoot":"","sources":["../../../src/app-dir/links/nextHttp.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EAEpB,eAAe,EACf,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,KAAK,oBAAoB,CAAC,MAAM,SAAS,OAAO,IAAI,CAAC,MAAM,SAAS,IAAI,GACpE,oBAAoB,GACpB,eAAe,CAAC,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC7B,CAAC;AAGF,wBAAgB,yBAAyB,CACvC,OAAO,SAAS,SAAS,EACzB,MAAM,SAAS,OAAO,EACtB,IAAI,EAAE,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAgCtE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/next",
3
- "version": "10.43.0",
3
+ "version": "10.43.2",
4
4
  "description": "The tRPC Next.js library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -66,9 +66,9 @@
66
66
  ],
67
67
  "peerDependencies": {
68
68
  "@tanstack/react-query": "^4.18.0",
69
- "@trpc/client": "10.43.0",
70
- "@trpc/react-query": "10.43.0",
71
- "@trpc/server": "10.43.0",
69
+ "@trpc/client": "10.43.2",
70
+ "@trpc/react-query": "10.43.2",
71
+ "@trpc/server": "10.43.2",
72
72
  "next": "*",
73
73
  "react": ">=16.8.0",
74
74
  "react-dom": ">=16.8.0"
@@ -78,16 +78,16 @@
78
78
  },
79
79
  "devDependencies": {
80
80
  "@tanstack/react-query": "^4.18.0",
81
- "@trpc/client": "10.43.0",
82
- "@trpc/react-query": "10.43.0",
83
- "@trpc/server": "10.43.0",
81
+ "@trpc/client": "10.43.2",
82
+ "@trpc/react-query": "10.43.2",
83
+ "@trpc/server": "10.43.2",
84
84
  "@types/express": "^4.17.17",
85
85
  "@types/node": "^18.16.16",
86
- "@types/react": "^18.2.8",
87
- "@types/react-dom": "^18.2.4",
86
+ "@types/react": "^18.2.33",
87
+ "@types/react-dom": "^18.2.14",
88
88
  "eslint": "^8.40.0",
89
89
  "express": "^4.17.1",
90
- "next": "^13.4.8",
90
+ "next": "^14.0.1",
91
91
  "react": "^18.2.0",
92
92
  "react-dom": "^18.2.0",
93
93
  "rollup": "^2.79.1",
@@ -100,5 +100,5 @@
100
100
  "funding": [
101
101
  "https://trpc.io/sponsor"
102
102
  ],
103
- "gitHead": "0d505fd7415f537bd3e263971686b13a78584167"
103
+ "gitHead": "d95dd2ebfd522049e83170bf0e5cc36a26f1a0d5"
104
104
  }
@@ -19,7 +19,7 @@ type NextFetchLinkOptions<TBatch extends boolean> = (TBatch extends true
19
19
  export function experimental_nextHttpLink<
20
20
  TRouter extends AnyRouter,
21
21
  TBatch extends boolean,
22
- >(opts: NextFetchLinkOptions<TBatch>): TRPCLink<TRouter> {
22
+ >(opts: Omit<NextFetchLinkOptions<TBatch>, 'fetch'>): TRPCLink<TRouter> {
23
23
  return (runtime) => {
24
24
  return (ctx) => {
25
25
  const { path, input, context } = ctx.op;