Socket
Socket
Sign inDemoInstall

dashkeys

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashkeys - npm Package Compare versions

Comparing version 0.9.2-0 to 0.9.2-1

10

dashkeys.js

@@ -156,2 +156,7 @@ /** @typedef {import('./base-x.types.js').BaseX} BaseX */

Utils.sha256sum = async function (bytes) {
if (!Crypto.subtle) {
//@ts-ignore
let sha256 = Crypto.createHash("sha256").update(bytes).digest();
return new Uint8Array(sha256);
}
let arrayBuffer = await Crypto.subtle.digest("SHA-256", bytes);

@@ -370,4 +375,5 @@ let hashBytes = new Uint8Array(arrayBuffer);

//@ts-ignore
let key = parts.pubKeyHash || parts.privateKey || parts.xprv || parts.xpub;
let key =
//@ts-ignore
parts.pubKeyHash || parts.privateKey || parts.xprv || parts.xpub;
let compression = "";

@@ -374,0 +380,0 @@ //@ts-ignore

2

package.json
{
"name": "dashkeys",
"version": "0.9.2-0",
"version": "0.9.2-1",
"description": "Generate, validate, create, and convert WIFs and PayAddress.",

@@ -5,0 +5,0 @@ "main": "dashkeys.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