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

vault-high-availability

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vault-high-availability - npm Package Compare versions

Comparing version 1.0.35 to 1.0.36

2

package.json
{
"name": "vault-high-availability",
"version": "1.0.35",
"version": "1.0.36",
"description": "",

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

@@ -38,6 +38,6 @@ 'use strict';

var findTheLeader = function (addresses) {
var newIp = null;
addresses.forEach(function (address) {
log.debug("address.address: " + address.address);
});
var newIp = null;
addresses.forEach(function (address) {

@@ -74,2 +74,3 @@

newIp = address.address;
log.debug("newIp value changed to :" + newIp );
} else {

@@ -87,2 +88,3 @@ log.debug("not the leader: ", address);

log.debug("Succeed to call all vault nodes");
log.debug("NEW IP:" + newIp);
if (newIp) {

@@ -93,3 +95,2 @@ that.ip = newIp;

} else {
log.info("No active node was found.");
log.error("No active node was found.");

@@ -96,0 +97,0 @@ tryAgainOrAbort();

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