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

bitagora-booth

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitagora-booth - npm Package Compare versions

Comparing version 1.0.154 to 1.0.155

lib/secrets2.yml.txt

2

booth.js

@@ -207,3 +207,3 @@ /**

for (var i=0; i<apis.length; i++) {
let result = await postVote(bytes, apis[i]).catch(() => { return undefined; });
let result = await postVote(bytes, apis[i]).catch(() => { });
console.log("Result from calling API "+apis[i]);

@@ -210,0 +210,0 @@ response = result;

@@ -102,4 +102,2 @@ /**

const request = require('request');
console.log("Requesting from ");
console.log(url);
try {

@@ -209,3 +207,2 @@ request.get({

} else if (type == 'poll') {
console.log("In poll");
let data = cbor.decode(Buffer.from(json.data, 'base64'));

@@ -231,3 +228,2 @@ if (!Boolean(data)) throw 'No data';

}
console.log(ballots);
decryptBallots(ballots, opt.privkey).then((decrypted) => {

@@ -403,3 +399,2 @@ resolve({ 'status': 'FOUND', 'ballots': decrypted });

for (var i=0; i<ballots.length; i++) {
console.log(ballots[i]);
decVote = decryptBallot(pollPrivkey, ballots[i].ballot, ballots[i].vote);

@@ -406,0 +401,0 @@ if (decVote) {

{
"name": "bitagora-booth",
"version": "1.0.154",
"version": "1.0.155",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "author": "Ignasi Ribó, 2018",

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