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

@toruslabs/torus.js

Package Overview
Dependencies
Maintainers
5
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/torus.js - npm Package Compare versions

Comparing version 12.3.2 to 12.3.3

13

dist/torusUtils.esm.js

@@ -463,5 +463,9 @@ import stringify from 'json-stable-stringify';

} = _ref;
// its fine to log responses in errors logs for better debugging,
// as data is always encrypted with temp key
// temp key should not be logged anywhere
const message = `Unable to resolve enough promises.
errors: ${errors.map(x => (x === null || x === void 0 ? void 0 : x.message) || x).join(", ")},
${responses.length} responses,
responses: ${JSON.stringify(responses)},
predicate error: ${predicate}`;

@@ -687,4 +691,2 @@ super(message);

logTracingHeader: config.logRequestTracing
}).catch(err => {
log.error("commitment error", err);
});

@@ -710,4 +712,3 @@ promiseArr.push(p);

const requiredNodeResult = completedRequests.find(resp => {
var _resp$result;
if (resp && ((_resp$result = resp.result) === null || _resp$result === void 0 ? void 0 : _resp$result.nodeindex) === "1") {
if (resp) {
return true;

@@ -766,3 +767,3 @@ }

logTracingHeader: config.logRequestTracing
}).catch(err => log.error("share req", err));
});
promiseArrRequest.push(p);

@@ -783,3 +784,3 @@ } else {

logTracingHeader: config.logRequestTracing
}).catch(err => log.error("share req", err));
});
promiseArrRequest.push(p);

@@ -786,0 +787,0 @@ }

{
"name": "@toruslabs/torus.js",
"version": "12.3.2",
"version": "12.3.3",
"description": "Handle communication with torus nodes",

@@ -5,0 +5,0 @@ "main": "dist/torusUtils.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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