Socket
Socket
Sign inDemoInstall

rpc-websockets

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpc-websockets - npm Package Compare versions

Comparing version 7.4.15 to 7.4.16

4

build-ts/lib/client.js

@@ -89,3 +89,3 @@ /**

this.queue[rpc_id].timeout = setTimeout(() => {
this.queue[rpc_id] = null;
delete this.queue[rpc_id];
reject(new Error("reply timeout"));

@@ -239,3 +239,3 @@ }, timeout);

this.queue[message.id].promise[0](message.result);
this.queue[message.id] = null;
delete this.queue[message.id];
});

@@ -242,0 +242,0 @@ this.socket.addEventListener("error", (error) => this.emit("error", error));

@@ -171,3 +171,3 @@ /**

_this2.queue[rpc_id].timeout = setTimeout(function () {
_this2.queue[rpc_id] = null;
delete _this2.queue[rpc_id];
reject(new Error("reply timeout"));

@@ -458,3 +458,3 @@ }, timeout);

if (message.error) _this4.queue[message.id].promise[1](message.error);else _this4.queue[message.id].promise[0](message.result);
_this4.queue[message.id] = null;
delete _this4.queue[message.id];
});

@@ -461,0 +461,0 @@ this.socket.addEventListener("error", function (error) {

{
"name": "rpc-websockets",
"version": "7.4.15",
"version": "7.4.16",
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is too big to display

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