Comparing version 2.0.3 to 2.0.4
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17570
365