Socket
Socket
Sign inDemoInstall

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.3 to 1.0.4

8

booth.js

@@ -1,2 +0,2 @@

const bitagoraVersion = '1.0.2';
const bitagoraVersion = '1.0.4';
const CryptoJS = require('crypto-js');

@@ -78,5 +78,5 @@ const Ecdsa = require('elliptic');

function getIdPartial(id, state) {
if (idState == 'ES') {
const lettersDNI = 'TRWAGMYFPDXBNJZSQVHLCKE';
return id.substr(0,4) + ("0" + (lettersDNI.indexOf(id.substr(8,1))).toString(16)).substr(-16);
if (state == 'ES') {
const letters = 'TRWAGMYFPDXBNJZSQVHLCKE';
return id.substr(0,4) + ("0" + (letters.indexOf(id.substr(8,1))).toString(16)).substr(-16);
} else {

@@ -83,0 +83,0 @@ return null;

{
"name": "bitagora-booth",
"version": "1.0.3",
"version": "1.0.4",
"description": "Bitagora booth js functions",

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

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