Just pulling in bn.js and hash.js libraries, instead of relying on the version pulled from elliptic.
This commit is contained in:
parent
048ef96ad0
commit
3a0d79b1e4
10410
dist/ethers-wallet.js
vendored
10410
dist/ethers-wallet.js
vendored
File diff suppressed because it is too large
Load Diff
20
dist/ethers-wallet.min.js
vendored
20
dist/ethers-wallet.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2,8 +2,10 @@
|
||||
|
||||
var rlp = require('rlp');
|
||||
|
||||
var BN = require('elliptic/node_modules/bn.js/lib/bn.js');
|
||||
var hash = require('elliptic/node_modules/hash.js/lib/hash.js');
|
||||
var BN = require('bn.js');
|
||||
var hash = require('hash.js');
|
||||
//var BN = require('elliptic/node_modules/bn.js/lib/bn.js');
|
||||
//var hash = require('elliptic/node_modules/hash.js/lib/hash.js');
|
||||
|
||||
|
||||
// See: https://github.com/emn178/js-sha3
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ethers-wallet",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "Ethereum wallet library.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -9,7 +9,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"aes-js": "2.0.0",
|
||||
"bn.js": "^4.4.0",
|
||||
"elliptic": "6.3.2",
|
||||
"hash.js": "1.0.3",
|
||||
"inherits": "2.0.1",
|
||||
"pbkdf2": "3.0.4",
|
||||
"rlp": "2.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user