Socket
Socket
Sign inDemoInstall

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/client - npm Package Compare versions

Comparing version 0.12.4 to 0.12.5

6

lib/api/client.js

@@ -67,7 +67,7 @@ import { decode, encode } from "@msgpack/msgpack";

};
socket.on("close", (event) => {
socket.onclose = (event) => {
const pendingRequestIds = Object.keys(this.pendingRequests).map((id) => parseInt(id));
if (pendingRequestIds.length) {
pendingRequestIds.forEach((id) => {
const error = new Error(`Websocket closed with pending requests. Close event: ${event}, request id: ${id}`);
const error = new Error(`Websocket closed with pending requests. Close event code: ${event.code}, request id: ${id}`);
this.pendingRequests[id].reject(error);

@@ -77,3 +77,3 @@ delete this.pendingRequests[id];

}
});
};
}

@@ -80,0 +80,0 @@ /**

{
"name": "@holochain/client",
"version": "0.12.4",
"version": "0.12.5",
"description": "A JavaScript client for the Holochain Conductor API",

@@ -5,0 +5,0 @@ "author": "Holochain Foundation <info@holochain.org> (http://holochain.org)",

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