Socket
Socket
Sign inDemoInstall

bip32

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bip32 - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "bip32",
"version": "2.0.3",
"version": "2.0.4",
"description": "A BIP32 compatible library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -41,2 +41,3 @@ "use strict";

typeforce(NETWORK_TYPE, network);
this.lowR = false;
}

@@ -183,5 +184,7 @@ get depth() {

}
sign(hash, lowR = false) {
sign(hash, lowR) {
if (!this.privateKey)
throw new Error('Missing private key');
if (lowR === undefined)
lowR = this.lowR;
if (lowR === false) {

@@ -188,0 +191,0 @@ return ecc.sign(hash, this.privateKey);

@@ -16,2 +16,3 @@ /// <reference types="node" />

network: Network;
lowR: boolean;
depth: number;

@@ -18,0 +19,0 @@ index: number;

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