@trpc/next 10.2.0 → 10.4.0

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/README.md CHANGED
@@ -25,7 +25,7 @@ Full documentation for `@trpc/next` can be found [here](https://trpc.io/docs/nex
25
25
  npm install @trpc/next @trpc/react-query @tanstack/react-query
26
26
 
27
27
  # Yarn
28
- yarn add @trpc/next @trpc/react-query @tanstack-react-query
28
+ yarn add @trpc/next @trpc/react-query @tanstack/react-query
29
29
 
30
30
  # pnpm
31
31
  pnpm add @trpc/next @trpc/react-query @tanstack/react-query
@@ -1 +1 @@
1
- {"version":3,"file":"createTRPCNext.d.ts","sourceRoot":"","sources":["../src/createTRPCNext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAIzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAY,MAAM,YAAY,CAAC;AAEhF,wBAAgB,cAAc,CAC5B,OAAO,SAAS,SAAS,EACzB,WAAW,SAAS,eAAe,GAAG,eAAe,EACrD,MAAM,GAAG,IAAI,EACb,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC;kBASjD,sBAAsB,OAAO,EAAE,WAAW,CAAC;;oEAqB5D"}
1
+ {"version":3,"file":"createTRPCNext.d.ts","sourceRoot":"","sources":["../src/createTRPCNext.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAIzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAY,MAAM,YAAY,CAAC;AAEhF,wBAAgB,cAAc,CAC5B,OAAO,SAAS,SAAS,EACzB,WAAW,SAAS,eAAe,GAAG,eAAe,EACrD,MAAM,GAAG,IAAI,EACb,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC;kBASjD,sBAAsB,OAAO,EAAE,WAAW,CAAC;;oEAqB5D"}
package/dist/index.js CHANGED
@@ -166,6 +166,7 @@ function withTRPC(opts) {
166
166
  };
167
167
  }
168
168
 
169
+ /* istanbul ignore file */ // We're testing this through E2E-testing
169
170
  function createTRPCNext(opts) {
170
171
  const hooks = shared.createHooksInternal({
171
172
  unstable_overrides: opts.unstable_overrides
package/dist/index.mjs CHANGED
@@ -157,6 +157,7 @@ function withTRPC(opts) {
157
157
  };
158
158
  }
159
159
 
160
+ /* istanbul ignore file */ // We're testing this through E2E-testing
160
161
  function createTRPCNext(opts) {
161
162
  const hooks = createHooksInternal({
162
163
  unstable_overrides: opts.unstable_overrides
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/next",
3
- "version": "10.2.0",
3
+ "version": "10.4.0",
4
4
  "description": "tRPC Next lib",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -41,9 +41,9 @@
41
41
  ],
42
42
  "peerDependencies": {
43
43
  "@tanstack/react-query": "^4.3.8",
44
- "@trpc/client": "10.2.0",
44
+ "@trpc/client": "10.4.0",
45
45
  "@trpc/react-query": "^10.0.0-proxy-beta.21",
46
- "@trpc/server": "10.2.0",
46
+ "@trpc/server": "10.4.0",
47
47
  "next": "*",
48
48
  "react": ">=16.8.0",
49
49
  "react-dom": ">=16.8.0"
@@ -53,9 +53,9 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@tanstack/react-query": "^4.3.8",
56
- "@trpc/client": "10.2.0",
57
- "@trpc/react-query": "^10.2.0",
58
- "@trpc/server": "10.2.0",
56
+ "@trpc/client": "10.4.0",
57
+ "@trpc/react-query": "^10.4.0",
58
+ "@trpc/server": "10.4.0",
59
59
  "@types/express": "^4.17.12",
60
60
  "@types/node": "^18.7.20",
61
61
  "express": "^4.17.1",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "c4039504c5c170a6ef8a64c964f0593fafdb52ea"
72
+ "gitHead": "e4f5c58e4e829539bcf45f2c13283179e3e67d1b"
73
73
  }
@@ -1,3 +1,5 @@
1
+ /* istanbul ignore file */
2
+ // We're testing this through E2E-testing
1
3
  import {
2
4
  CreateReactUtilsProxy,
3
5
  DecoratedProcedureRecord,