@orpc/nest 1.9.1 → 1.9.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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -1
  2. package/package.json +9 -9
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": "1.9.1",
4
+ "version": "1.9.2",
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": "1.9.1",
43
- "@orpc/client": "1.9.1",
44
- "@orpc/openapi-client": "1.9.1",
45
- "@orpc/server": "1.9.1",
46
- "@orpc/shared": "1.9.1",
47
- "@orpc/standard-server": "1.9.1",
48
- "@orpc/openapi": "1.9.1",
49
- "@orpc/standard-server-node": "1.9.1"
42
+ "@orpc/client": "1.9.2",
43
+ "@orpc/contract": "1.9.2",
44
+ "@orpc/openapi": "1.9.2",
45
+ "@orpc/openapi-client": "1.9.2",
46
+ "@orpc/server": "1.9.2",
47
+ "@orpc/standard-server-node": "1.9.2",
48
+ "@orpc/shared": "1.9.2",
49
+ "@orpc/standard-server": "1.9.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nestjs/common": "^11.1.6",