- use
createHash
directly #5 - JavaScript Standard Style
bs58
from1.x
to2.x
(decode returnsArray
instead ofBuffer
)
- remove
browser
field, andcrypto-browserify
devDep - removed Makefile; replaced with npm scripts
- changed
encode(payload, version)
toencode(payload, [version])
- changed how
decode
works (broke compatibility hence major version bump)
old version returned {payload: ..., version: ...}
, this version now returns
just payload
, if version
is passed into decode
, it's trimmed off of payload
- throw error if
version
is not present forencode()
- upgraded
mochify
for dev deps - removed semicolons per http://cryptocoinjs.com/about/contributing/#semicolons
- removed
terst
per http://cryptocoinjs.com/about/contributing/#testing - removed
binstring
from dev deps - added travis ci
- added coveralls
- upgraded
bs58
from0.3.x
to^1.0.0
- removed
crypto-hashing
dep coinstring()
renamed tocs.encode()
- added methods
createEncoder()
andcreateDecoder()
- changed method signature of
encode(version, payload)
toencode(payload,version)
- changed method signature of
decode(version, base58str)
todecode(base58str, version)
- added method
createValidator()
- changed method signature of
validate(version, base58str)
tovalidate(base58str, version)
- renamed method
validate()
toisValid()
- renamed return from
decode()
object fieldbytes
topayload
- added
Buffer
support for version input => BIP32 support
- changed input to decode, made
version
optional - changed output to decode, returns an object with the properties
version
andbytes
- added browser tests
- added support for
coinstring()
method to input a typeArray
orUint8Array
- export
crypto-hashing
, non-standard practice... thoughts? - upgraded
crypto-hashing
to0.3.0
,ripemd160
now works in the browser
- initial release