Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/airgap-beacon-core

Package Overview
Dependencies
Maintainers
87
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/airgap-beacon-core - npm Package Compare versions

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

14

dist/cjs/storage/LocalStorage.js

@@ -28,17 +28,7 @@ "use strict";

else {
try {
return JSON.parse(value);
}
catch (jsonParseError) {
return value; // TODO: Validate storage
}
return JSON.parse(value);
}
}
async set(key, value) {
if (typeof value === 'string') {
return localStorage.setItem(this.getPrefixedKey(key), value);
}
else {
return localStorage.setItem(this.getPrefixedKey(key), JSON.stringify(value));
}
return localStorage.setItem(this.getPrefixedKey(key), JSON.stringify(value));
}

@@ -45,0 +35,0 @@ async delete(key) {

2

dist/cjs/utils/get-account-identifier.js

@@ -23,5 +23,5 @@ "use strict";

}
const buffer = Buffer.from((0, blakejs_1.blake2b)((0, utf8_1.encode)(data.join('-')), undefined, 10));
const buffer = Buffer.from((0, blakejs_1.blake2b)((0, utf8_1.encode)(data.join('-')), undefined, 16));
return bs58check.encode(buffer);
};
exports.getAccountIdentifier = getAccountIdentifier;
{
"name": "@exodus/airgap-beacon-core",
"version": "4.0.0-exodus.3",
"version": "4.0.0-exodus.4",
"description": "> TODO: description",

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

"dependencies": {
"@exodus/airgap-beacon-types": "4.0.0-exodus.3",
"@exodus/airgap-beacon-utils": "4.0.0-exodus.3",
"@exodus/airgap-beacon-types": "4.0.0-exodus.4",
"@exodus/airgap-beacon-utils": "4.0.0-exodus.4",
"@exodus/sodium-crypto": "^3.3.0",

@@ -37,0 +37,0 @@ "@stablelib/utf8": "^1.0.1",

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