@exodus/bip32
Advanced tools
Comparing version 3.3.1 to 4.0.0
@@ -6,2 +6,16 @@ # Change Log | ||
## [4.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/bip32@3.3.1...@exodus/bip32@4.0.0) (2024-11-04) | ||
### ⚠ BREAKING CHANGES | ||
- remove confusing/unused fromJSON (#10315) | ||
### Features | ||
- remove confusing/unused fromJSON ([#10315](https://github.com/ExodusMovement/exodus-hydra/issues/10315)) ([9fb5c0b](https://github.com/ExodusMovement/exodus-hydra/commit/9fb5c0bc721ee34f24e433a840e153214ddccc92)) | ||
### Bug Fixes | ||
- bip32 fromJSON method ([#10166](https://github.com/ExodusMovement/exodus-hydra/issues/10166)) ([155722a](https://github.com/ExodusMovement/exodus-hydra/commit/155722abd29758a52854c4021503068cadd3892a)) | ||
## [3.3.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/bip32@3.3.0...@exodus/bip32@3.3.1) (2024-10-11) | ||
@@ -8,0 +22,0 @@ |
{ | ||
"name": "@exodus/bip32", | ||
"version": "3.3.1", | ||
"version": "4.0.0", | ||
"description": "Exodus BIP32 modules.", | ||
@@ -37,3 +37,3 @@ "type": "module", | ||
}, | ||
"gitHead": "71043f3f99a8ff257c281ba1955357761d0e1543" | ||
"gitHead": "54e2d20afa7de6097b92e8417d00b22593a7da4b" | ||
} |
@@ -90,3 +90,3 @@ import assert from 'minimalistic-assert' | ||
if (i === 0) { | ||
assert(/^[Mm]/.test(c), 'Path must start with "m" or "M"') | ||
assert(/^[Mm]/u.test(c), 'Path must start with "m" or "M"') | ||
return | ||
@@ -93,0 +93,0 @@ } |
@@ -25,8 +25,2 @@ import { memoize } from '@exodus/basic-utils' | ||
// TODO: used only in one test, remove, this is confusing | ||
static fromJSON(jsonStrOrObj) { | ||
const { xpriv } = typeof jsonStrOrObj === 'string' ? JSON.parse(jsonStrOrObj) : jsonStrOrObj | ||
return HDKey.fromXPriv(xpriv) | ||
} | ||
static fromXPub(base58xpub, { skipVerification = false } = {}) { | ||
@@ -33,0 +27,0 @@ // TODO: perform actual pub (pub/priv) check in HDKey.fromExtendedKey in next major |
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
16999
284