@exodus/bitcoinjs-lib-forks 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.3 / 2019-03-19
2
+
3
+ - Use `ripemd160` instead of `rmd160` for Electron v4
4
+
1
5
  # 0.0.2 / 2018-12-12
2
6
 
3
7
  - Remove unneeded BCH fork changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoinjs-lib-forks",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Client-side Bitcoin Forks JavaScript library",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/crypto.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var createHash = require('create-hash')
2
2
 
3
3
  function ripemd160 (buffer) {
4
- return createHash('rmd160').update(buffer).digest()
4
+ return createHash('ripemd160').update(buffer).digest()
5
5
  }
6
6
 
7
7
  function sha1 (buffer) {