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

tendermint

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tendermint - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

8

lib/client.js

@@ -74,3 +74,3 @@ 'use strict';

if (!data.id) return;
_this2.emit(data.id, data.error || null, data.result);
_this2.emit(data.id, data.error ? Error(data.error) : null, data.result);
});

@@ -98,6 +98,4 @@ }

value: function callWs(method, args, cb) {
var params = [];
for (var k in args) {
params.push(args[k]);
}var id = Math.random().toString(36);
var id = Math.random().toString(36);
var params = convertArgs(args);
if (method === 'subscribe') {

@@ -104,0 +102,0 @@ this.on(id + '#event', cb);

{
"name": "tendermint",
"version": "1.2.0",
"version": "2.0.0",
"description": "A light client which talks to your Tendermint node over RPC",

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

@@ -52,3 +52,3 @@ 'use strict'

if (!data.id) return
this.emit(data.id, data.error || null, data.result)
this.emit(data.id, data.error ? Error(data.error) : null, data.result)
})

@@ -74,6 +74,4 @@ }

callWs (method, args, cb) {
let params = []
for (let k in args) params.push(args[k])
let id = Math.random().toString(36)
let params = convertArgs(args)
if (method === 'subscribe') {

@@ -80,0 +78,0 @@ this.on(id + '#event', cb)

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