Socket
Socket
Sign inDemoInstall

bitagora-booth

Package Overview
Dependencies
198
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.172 to 1.0.173

LICENSE

24

booth.js

@@ -89,3 +89,2 @@ /**

// Build vote request for Validator API
function getVoteBytes(vote, signer, poll) {

@@ -146,4 +145,7 @@ return new Promise((resolve) => {

if (!Boolean(data['poll']) || !Boolean(data['id'])) throw 'No data';
requestState('ballot', data['poll'], data['id'], null).then((result) => {
requestState('ballot', data['poll'], data['id'], null, null).then((result) => {
resolve(result);
}).catch((e) => {
console.log(e);
resolve({status: 'UNKNOWN' });
});

@@ -257,8 +259,11 @@ } catch(e) {

console.log(e);
resolve({ status: 'ERROR' })
resolve({ status: 'ERROR' });
});
} catch(e) {
console.log(e);
resolve({ status: 'ERROR' })
resolve({ status: 'ERROR' });
}
}).catch((e) => {
console.log(e);
resolve({ status: 'ERROR' });
});

@@ -269,3 +274,6 @@ } catch(e) {

}
});
}).catch((e) => {
console.log(e);
resolve({ status: 'ERROR' });
});
} catch(e) {

@@ -275,2 +283,5 @@ console.log(e);

}
}).catch((e) => {
console.log(e);
resolve({ status: 'ERROR' });
});

@@ -281,2 +292,5 @@ } catch(e) {

}
}).catch((e) => {
console.log(e);
resolve({ status: 'ERROR' });
});

@@ -283,0 +297,0 @@ } catch(e) {

@@ -204,2 +204,3 @@ /**

let json = JSON.parse(response.body);
console.log(json.data);
if (!Boolean(json.data)) throw 'No data';

@@ -206,0 +207,0 @@ if (type == 'setting') {

{
"name": "bitagora-booth",
"version": "1.0.172",
"version": "1.0.173",
"license": "Apache-2.0",

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

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