UNPKG

bip32-utils-smart

Version:

A set of utilities for working with BIP32 for SmartCash.

37 lines (27 loc) 1.16 kB
# 0.9.0 * add `Account.prototype.derive(address, parents)` * removes `Account.prototype.getChildrenMap`, replaced with `.derive` # 0.8.3 * fixes `Account.prototype.discoverChain` mutating the internal **during** discovery (instead of mutating after) # 0.8.2 * adds `Chain.prototype.derive` with escalation parameter # 0.8.0 * adds `Account.*JSON` functions * changes `Account.getChildren` to `Account.getChildrenMap`, returns an address-indexed map and does not throw if not fuond # 0.7.3 * adds `Chain.clone` # 0.7.0 * updated peerDependency `bitcoinjs-lib` to `^2.0.0` # 0.6.1 * adds `Chain.getChains` # 0.6.0 * adds `Chain.getParent`, `new Chain(...).node` is now private * changes `Chain` constructor to be lazy * changes `Chain.indexOf` to `Chain.find`, returns undefined if not found * adds `Account.getChain` * removes `Account *(Internal|External)*` APIs, replaced with `*Chain*` API with chain index parameter * changes `Account` constructor to only accept an array of `Chain`s # 0.5.0 * removes `Account.getNode` * changes `Account.getNodes` to `Account.getChildren` * changes `AddressIterator` to `Chain`