Comparing version 1.7.2 to 1.7.3
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.7.3][] - 2021-06-08 | ||
- Fix passing validation error to the client | ||
## [1.7.2][] - 2021-06-06 | ||
@@ -99,3 +103,4 @@ | ||
[unreleased]: https://github.com/metarhia/metacom/compare/v1.7.2...HEAD | ||
[unreleased]: https://github.com/metarhia/metacom/compare/v1.7.3...HEAD | ||
[1.7.3]: https://github.com/metarhia/metacom/compare/v1.7.2...v1.7.3 | ||
[1.7.2]: https://github.com/metarhia/metacom/compare/v1.7.1...v1.7.2 | ||
@@ -102,0 +107,0 @@ [1.7.1]: https://github.com/metarhia/metacom/compare/v1.7.0...v1.7.1 |
@@ -231,4 +231,4 @@ 'use strict'; | ||
reply(callId, result) { | ||
const { res, connection, application } = this; | ||
if (result instanceof application.Error) { | ||
const { res, connection } = this; | ||
if (typeof result === 'object' && result.constructor.name === 'Error') { | ||
this.error(result.code, result, callId); | ||
@@ -235,0 +235,0 @@ return; |
{ | ||
"name": "metacom", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32157