Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json-rpc-middleware-stream

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-rpc-middleware-stream - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

7

CHANGELOG.md

@@ -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

2

dist/createStreamMiddleware.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc