@orpc/nest 2.0.0-beta.30 → 2.0.0-beta.31
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 +2 -2
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -177,13 +177,13 @@ let ImplementInterceptor = class {
|
|
|
177
177
|
const res = ctx.switchToHttp().getResponse();
|
|
178
178
|
const standardRequest = this.toNestStandardLazyRequest(req, res);
|
|
179
179
|
const handler = new StandardHandler({
|
|
180
|
-
resolveProcedure: () => Promise.resolve({
|
|
180
|
+
resolveProcedure: (request) => Promise.resolve({
|
|
181
181
|
path: getPathMeta(procedure) ?? [],
|
|
182
182
|
procedure,
|
|
183
183
|
decodeInput: () => this.codec.decodeInput({
|
|
184
184
|
procedure,
|
|
185
185
|
params: toORPCOpenAPIParams(procedure, standardRequest.params)
|
|
186
|
-
},
|
|
186
|
+
}, request)
|
|
187
187
|
}),
|
|
188
188
|
encodeError: this.codec.encodeError.bind(this.codec),
|
|
189
189
|
encodeOutput: this.codec.encodeOutput.bind(this.codec)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/nest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.31",
|
|
5
5
|
"description": "NestJS integration for oRPC: implement typesafe contracts in NestJS controllers",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": [
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@standardserver/core": "^0.8.0",
|
|
56
56
|
"@standardserver/node": "^0.8.0",
|
|
57
|
-
"@orpc/
|
|
58
|
-
"@orpc/contract": "2.0.0-beta.
|
|
59
|
-
"@orpc/
|
|
60
|
-
"@orpc/shared": "2.0.0-beta.
|
|
61
|
-
"@orpc/
|
|
57
|
+
"@orpc/openapi": "2.0.0-beta.31",
|
|
58
|
+
"@orpc/contract": "2.0.0-beta.31",
|
|
59
|
+
"@orpc/server": "2.0.0-beta.31",
|
|
60
|
+
"@orpc/shared": "2.0.0-beta.31",
|
|
61
|
+
"@orpc/client": "2.0.0-beta.31"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@fastify/cookie": "^11.0.2",
|