From b048ccb55f8f5d084831d4d5aceabbe21a24a07c Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Mon, 21 Sep 2015 17:41:45 +1000 Subject: [PATCH] CHANGELOG: add 'added' notes --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2ce073..08dded2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 2.1.0 + +From this release users should use the HDNode directly (compared to accessing `.keyPair`) when performing ECDSA operations such as `sign` or `verify`. +Ideally you shoud not have to directly access `HDNode` internals for general usage, as it can often be confusing and error prone. + +__added__ +- `ECPair.prototype.getNetwork` +- `HDNode.prototype.getNetwork`, wraps the underyling keyPair's `getNetwork` method +- `HDNode.prototype.getPublicKeyBuffer`, wraps the underyling keyPair's `getPublicKeyBuffer` method +- `HDNode.prototype.sign`, wraps the underlying keyPair's `sign` method +- `HDNode.prototype.verify`, wraps the underlying keyPair's `verify` method + + # 2.0.0 In this release we have strived to simplify the API, [using native types](https://github.com/bitcoinjs/bitcoinjs-lib/issues/407) wherevever possible to encourage cross-compatibility with other open source community modules.