Socket
Socket
Sign inDemoInstall

bitagora-booth

Package Overview
Dependencies
8
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.39 to 1.0.40

8

booth.js

@@ -36,3 +36,2 @@ const {

if (!Boolean(data.id)) {
/*
const privkey_hex = Bs58.decode(data.privkey).toString('hex');

@@ -44,3 +43,2 @@ const privateKey = Secp256k1PrivateKey.fromHex(privkey_hex);

const data.id = signer.getPublicKey().asHex();
*/
}

@@ -162,5 +160,2 @@ if (!Boolean(data.poll) || !Boolean(data.id)) throw 'No data';

/// Temporary
async function sendVoteToAPIs(bytes, apis) {

@@ -193,4 +188,2 @@ try {

var privkey_hex = Bs58.decode(ballot.privkey).toString('hex');
const signer = null; // temporary
/*
const privateKey = Secp256k1PrivateKey.fromHex(privkey_hex);

@@ -201,3 +194,2 @@ const signerContext = createContext('secp256k1');

const pubkey_hex = signer.getPublicKey().asHex();
*/
if (pubkey_hex == newVote.id && validateVote(newVote, context.poll)) {

@@ -204,0 +196,0 @@ getNodeList( function(APIs) {

2

package.json
{
"name": "bitagora-booth",
"version": "1.0.39",
"version": "1.0.40",
"description": "Bitagora booth",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc