json-rpc-middleware-stream
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -9,2 +9,6 @@ # Changelog | ||
## [4.2.0] | ||
### Changed | ||
- Change error throw when response is seen for unknown request into warning displayed in console ([#32](https://github.com/MetaMask/json-rpc-middleware-stream/pull/32)) | ||
## [4.1.0] | ||
@@ -26,5 +30,6 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/json-rpc-middleware-stream/compare/v4.1.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/json-rpc-middleware-stream/compare/v4.2.0...HEAD | ||
[4.2.0]: https://github.com/MetaMask/json-rpc-middleware-stream/compare/v4.1.0...v4.2.0 | ||
[4.1.0]: https://github.com/MetaMask/json-rpc-middleware-stream/compare/v4.0.0...v4.1.0 | ||
[4.0.0]: https://github.com/MetaMask/json-rpc-middleware-stream/compare/v3.0.0...v4.0.0 | ||
[3.0.0]: https://github.com/MetaMask/json-rpc-middleware-stream/releases/tag/v3.0.0 |
@@ -73,3 +73,3 @@ "use strict"; | ||
if (!context) { | ||
throw new Error(`StreamMiddleware - Unknown response id "${res.id}"`); | ||
console.warn(`StreamMiddleware - Unknown response id "${res.id}"`); | ||
} | ||
@@ -76,0 +76,0 @@ delete idMap[res.id]; |
{ | ||
"name": "json-rpc-middleware-stream", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "A small toolset for streaming JSON-RPC data and matching requests and responses.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
21096