@orpc/trpc 1.13.2 → 1.13.5

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
@@ -5,19 +5,19 @@
5
5
  <h1></h1>
6
6
 
7
7
  <div align="center">
8
- <a href="https://codecov.io/gh/unnoq/orpc">
9
- <img alt="codecov" src="https://codecov.io/gh/unnoq/orpc/branch/main/graph/badge.svg">
8
+ <a href="https://codecov.io/gh/middleapi/orpc">
9
+ <img alt="codecov" src="https://codecov.io/gh/middleapi/orpc/branch/main/graph/badge.svg">
10
10
  </a>
11
11
  <a href="https://www.npmjs.com/package/@orpc/trpc">
12
12
  <img alt="weekly downloads" src="https://img.shields.io/npm/dw/%40orpc%2Ftrpc?logo=npm" />
13
13
  </a>
14
- <a href="https://github.com/unnoq/orpc/blob/main/LICENSE">
15
- <img alt="MIT License" src="https://img.shields.io/github/license/unnoq/orpc?logo=open-source-initiative" />
14
+ <a href="https://github.com/middleapi/orpc/blob/main/LICENSE">
15
+ <img alt="MIT License" src="https://img.shields.io/github/license/middleapi/orpc?logo=open-source-initiative" />
16
16
  </a>
17
17
  <a href="https://discord.gg/TXEbwRBvQn">
18
18
  <img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
19
19
  </a>
20
- <a href="https://deepwiki.com/unnoq/orpc">
20
+ <a href="https://deepwiki.com/middleapi/orpc">
21
21
  <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
22
22
  </a>
23
23
  </div>
@@ -78,4 +78,4 @@ Bridge between [tRPC](https://trpc.io/) and oRPC
78
78
 
79
79
  ## License
80
80
 
81
- Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information.
81
+ Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information.
package/dist/index.mjs CHANGED
@@ -55,7 +55,9 @@ function toORPCProcedure(procedure) {
55
55
  path: path.join("."),
56
56
  type: procedure._def.type,
57
57
  input: trpcInput,
58
- getRawInput: () => trpcInput
58
+ getRawInput: () => trpcInput,
59
+ // TODO: this should infer from context when using oRPC Batch Plugin
60
+ batchIndex: 0
59
61
  });
60
62
  if (isAsyncIterable(output)) {
61
63
  return mapEventIterator(output[Symbol.asyncIterator](), {
package/package.json CHANGED
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "@orpc/trpc",
3
3
  "type": "module",
4
- "version": "1.13.2",
4
+ "version": "1.13.5",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.dev",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/unnoq/orpc.git",
9
+ "url": "git+https://github.com/middleapi/orpc.git",
10
10
  "directory": "packages/trpc"
11
11
  },
12
12
  "keywords": [
13
- "unnoq",
14
13
  "orpc",
15
14
  "trpc"
16
15
  ],
@@ -28,13 +27,13 @@
28
27
  "@trpc/server": ">=11.4.2"
29
28
  },
30
29
  "dependencies": {
31
- "@orpc/client": "1.13.2",
32
- "@orpc/shared": "1.13.2",
33
- "@orpc/server": "1.13.2"
30
+ "@orpc/client": "1.13.5",
31
+ "@orpc/server": "1.13.5",
32
+ "@orpc/shared": "1.13.5"
34
33
  },
35
34
  "devDependencies": {
36
- "@trpc/server": "^11.8.1",
37
- "zod": "^4.2.1"
35
+ "@trpc/server": "^11.10.0",
36
+ "zod": "^4.3.6"
38
37
  },
39
38
  "scripts": {
40
39
  "build": "unbuild",