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.161 to 1.0.162

12

booth.js

@@ -211,7 +211,11 @@ /**

let result = await postVote(bytes, apis[i]).catch((e) => {
console.log("Response in error from postVote");
console.log(e);
if (Boolean(e['error']) && Boolean(e['error']['code'])) {
response['code'] = e['error']['code'];
response['message'] = e['error']['message'];
}
try {
let error = JSON.parse(e);
if (Boolean(error['error']) && Boolean(error['error']['code'])) {
response['code'] = error['error']['code'];
response['message'] = error['error']['message'];
}
} catch() {}
return false;

@@ -218,0 +222,0 @@ });

{
"name": "bitagora-booth",
"version": "1.0.161",
"version": "1.0.162",
"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