Socket
Socket
Sign inDemoInstall

tendermint-rpc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tendermint-rpc - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

12

index.js

@@ -106,14 +106,6 @@ // settings = {

// bad_remotes = {
// 3: true,
// 12: true
// }
function failover (settings, count, callback) {
// if all remotes are bad, reset count and try again after a 1 second delay
// if all remotes are bad, callback with error
if (count === settings.remotes.length) {
setTimeout(function () {
failover(settings, 0, callback)
}, 1000)
callback(new Error('Network error.'))
// if remote is bad, increment and try again

@@ -120,0 +112,0 @@ } else {

2

package.json
{
"name": "tendermint-rpc",
"version": "0.0.4",
"version": "0.0.5",
"description": "This is a simple RPC wrapper for the Tendermint API",

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

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