Socket
Socket
Sign inDemoInstall

@exodus/airgap-beacon-core

Package Overview
Dependencies
21
Maintainers
88
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-exodus.4 to 4.0.0-exodus.5

6

dist/cjs/utils/get-sender-id.js

@@ -14,5 +14,9 @@ "use strict";

const getSenderId = async (publicKey) => {
const buffer = Buffer.from((0, blakejs_1.blake2b)(Buffer.from(publicKey, 'hex'), undefined, 16));
const data = Buffer.from(publicKey, 'hex');
if (data.length !== 32) {
throw new Error('getSenderId: invalid public key length');
}
const buffer = Buffer.from((0, blakejs_1.blake2b)(data, undefined, 5));
return bs58check.encode(buffer);
};
exports.getSenderId = getSenderId;

2

package.json
{
"name": "@exodus/airgap-beacon-core",
"version": "4.0.0-exodus.4",
"version": "4.0.0-exodus.5",
"description": "> TODO: description",

@@ -5,0 +5,0 @@ "author": "Andreas Gassmann <a.gassmann@papers.ch>",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc