You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
# 2.1.0
2
+
3
+
From this release users should use the HDNode directly (compared to accessing `.keyPair`) when performing ECDSA operations such as `sign` or `verify`.
4
+
Ideally you shoud not have to directly access `HDNode` internals for general usage, as it can often be confusing and error prone.
5
+
6
+
__added__
7
+
-`ECPair.prototype.getNetwork`
8
+
-`HDNode.prototype.getNetwork`, wraps the underyling keyPair's `getNetwork` method
9
+
-`HDNode.prototype.getPublicKeyBuffer`, wraps the underyling keyPair's `getPublicKeyBuffer` method
10
+
-`HDNode.prototype.sign`, wraps the underlying keyPair's `sign` method
11
+
-`HDNode.prototype.verify`, wraps the underlying keyPair's `verify` method
12
+
13
+
1
14
# 2.0.0
2
15
3
16
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.
0 commit comments