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