Skip to content

0.4.0

@jprichardson jprichardson tagged this 10 Mar 00:25
------------------
* Dropped sha256 and ripemd160 deps. Upgraded to crypto-hashing library.
* removed function wrapper
* Changed the way the constuctor works. Only supports input types of `Array`, `Buffer`, or `Uint8Array`. Does NOT randomly generate a private key anymore.
* added `publicKey` property
* ~~added `pubKeyHash`/`publicHash` property~~
* added `publicPoint`, removed `getPubPoint()`
* removed `getPub()`, use `publicKey` instead
* removed `getPubKeyHash()`, use `publicHash` or `pubKeyHash` instead
* removed `sign()` and `verify()`, methods can be accessed from [ecdsa](https://github.com/cryptocoinjs/ecdsa)
* added `privateExportKey`
* removed `getExportedPrivateKey`, note that `getExportedPrivateKey` was essentially just a way to get WIF
* removed `decodeString()`, use package [coinstring][coinstring] in its place
* removed `getBitcoinAddress()`, use package [coinstring][coinstring] in its place
* removed `setCompressed`, use `compressed` property instead
* removed deps: `ecdsa`, `convert-hex`, `btc-address`, `bs58`
* updated deps: `ecurve` and `ecurve-names`
* removed `pubKeyHash` property, removes dependency upon `crypto-hashing`
* removed dep `crypto-hashing`
Assets 2