@orpc/nest 0.0.0-next.dc23561 → 0.0.0-next.dcc5a52

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
@@ -17,6 +17,9 @@
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">
21
+ <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
22
+ </a>
20
23
  </div>
21
24
 
22
25
  <h3 align="center">Typesafe APIs Made Simple 🪄</h3>
@@ -87,7 +90,7 @@ export class PlanetController {
87
90
  }
88
91
 
89
92
  /**
90
- * Implement entire a contract
93
+ * Implement entire contract
91
94
  */
92
95
  @Implement(contract.planet)
93
96
  planet() {
package/dist/index.mjs CHANGED
@@ -161,7 +161,9 @@ let ImplementInterceptor = class {
161
161
  const nodeRes = "raw" in res ? res.raw : res;
162
162
  const standardRequest = toStandardLazyRequest(nodeReq, nodeRes);
163
163
  const fallbackStandardBody = standardRequest.body.bind(standardRequest);
164
- standardRequest.body = () => Promise.resolve(req.body ?? fallbackStandardBody());
164
+ standardRequest.body = () => Promise.resolve(
165
+ req.body === void 0 ? fallbackStandardBody() : req.body
166
+ );
165
167
  const standardResponse = await (async () => {
166
168
  let isDecoding = false;
167
169
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/nest",
3
3
  "type": "module",
4
- "version": "0.0.0-next.dc23561",
4
+ "version": "0.0.0-next.dcc5a52",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -39,14 +39,14 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@orpc/contract": "0.0.0-next.dc23561",
43
- "@orpc/openapi": "0.0.0-next.dc23561",
44
- "@orpc/client": "0.0.0-next.dc23561",
45
- "@orpc/server": "0.0.0-next.dc23561",
46
- "@orpc/openapi-client": "0.0.0-next.dc23561",
47
- "@orpc/standard-server": "0.0.0-next.dc23561",
48
- "@orpc/shared": "0.0.0-next.dc23561",
49
- "@orpc/standard-server-node": "0.0.0-next.dc23561"
42
+ "@orpc/client": "0.0.0-next.dcc5a52",
43
+ "@orpc/openapi": "0.0.0-next.dcc5a52",
44
+ "@orpc/contract": "0.0.0-next.dcc5a52",
45
+ "@orpc/openapi-client": "0.0.0-next.dcc5a52",
46
+ "@orpc/standard-server": "0.0.0-next.dcc5a52",
47
+ "@orpc/standard-server-node": "0.0.0-next.dcc5a52",
48
+ "@orpc/server": "0.0.0-next.dcc5a52",
49
+ "@orpc/shared": "0.0.0-next.dcc5a52"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nestjs/common": "^11.1.6",
@@ -57,10 +57,10 @@
57
57
  "@ts-rest/core": "^3.52.1",
58
58
  "@types/express": "^5.0.3",
59
59
  "express": "^5.0.0",
60
- "fastify": "^5.5.0",
60
+ "fastify": "^5.6.1",
61
61
  "rxjs": "^7.8.1",
62
62
  "supertest": "^7.1.4",
63
- "zod": "^4.1.1"
63
+ "zod": "^4.1.11"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "unbuild",