New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parity/api

Package Overview
Dependencies
Maintainers
6
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parity/api - npm Package Compare versions

Comparing version 3.0.9 to 3.0.10

10

lib/transport/ws/ws.js

@@ -81,3 +81,3 @@ "use strict";

if (this._reconnectTimeoutId) {
window.clearTimeout(this._reconnectTimeoutId);
clearTimeout(this._reconnectTimeoutId);
this._reconnectTimeoutId = null;

@@ -120,3 +120,3 @@ }

};
window.setInterval(function () {
setInterval(function () {
var n = _this._count - _this._lastCount.count;

@@ -133,3 +133,5 @@ var t = (Date.now() - _this._lastCount.timestamp) / 1000;

}, 5000);
window._parityWS = this;
if (typeof window !== 'undefined') {
window._parityWS = this;
}
}

@@ -181,3 +183,3 @@ this._connectPromise = new Promise(function (resolve, reject) {

// ie. don't print if error == closed
window.setTimeout(function () {
setTimeout(function () {
if (_this._connected) {

@@ -184,0 +186,0 @@ console.error('ws:onError');

6

package.json
{
"name": "@parity/api",
"description": "The Parity Promise-based API library for interfacing with Ethereum over RPC",
"version": "3.0.9",
"version": "3.0.10",
"author": "Parity Team <admin@parity.io>",

@@ -41,3 +41,3 @@ "license": "MIT",

"dependencies": {
"@parity/abi": "^3.0.9",
"@parity/abi": "^3.0.10",
"bignumber.js": "^8.0.1",

@@ -54,3 +54,3 @@ "blockies": "0.0.2",

},
"gitHead": "b8a74b0f436153758b399d39c75567462aea0087"
"gitHead": "b6aa80beadac9c4883cc44fdbfea33dda57773bc"
}

@@ -78,3 +78,3 @@ // Copyright 2015-2018 Parity Technologies (UK) Ltd.

if (this._reconnectTimeoutId) {
window.clearTimeout(this._reconnectTimeoutId);
clearTimeout(this._reconnectTimeoutId);
this._reconnectTimeoutId = null;

@@ -122,3 +122,3 @@ }

window.setInterval(() => {
setInterval(() => {
const n = this._count - this._lastCount.count;

@@ -138,3 +138,5 @@ const t = (Date.now() - this._lastCount.timestamp) / 1000;

window._parityWS = this;
if(typeof window !== 'undefined') {
window._parityWS = this;
}
}

@@ -200,3 +202,3 @@

// ie. don't print if error == closed
window.setTimeout(() => {
setTimeout(() => {
if (this._connected) {

@@ -203,0 +205,0 @@ console.error('ws:onError');

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