@therms/rpc-server
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -0,1 +1,8 @@ | ||
## [1.6.1](http://bitbucket.org/thermsio/rpc-server-ts/compare/v1.6.0...v1.6.1) (2021-04-25) | ||
### Bug Fixes | ||
* call handler request validation in LocalHandlerManager before calling actual handler ([8e5e557](http://bitbucket.org/thermsio/rpc-server-ts/commits/8e5e5576ff9f1f37aed50c0018448c10153fb090)) | ||
# [1.6.0](http://bitbucket.org/thermsio/rpc-server-ts/compare/v1.5.1...v1.6.0) (2021-04-25) | ||
@@ -2,0 +9,0 @@ |
@@ -229,6 +229,11 @@ 'use strict'; | ||
this.manageRequest = function (request) { return __awaiter(_this, void 0, void 0, function () { | ||
var key; | ||
return __generator(this, function (_a) { | ||
debug$5('manageRequest', request); | ||
try { | ||
return [2, this.handlersByHandlerRequestKey[makeHandlerRequestKey(CallRequest.toCallRequestDescription(request))](request)]; | ||
key = makeHandlerRequestKey(CallRequest.toCallRequestDescription(request)); | ||
if (this.handlerRequestValidationsByHandlerRequestKey[key]) { | ||
this.handlerRequestValidationsByHandlerRequestKey[key](request); | ||
} | ||
return [2, this.handlersByHandlerRequestKey[key](request)]; | ||
} | ||
@@ -235,0 +240,0 @@ catch (e) { |
{ | ||
"name": "@therms/rpc-server", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "RPC framework, Node.js lib", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
171670
1891