Just pulling in bn.js and hash.js libraries, instead of relying on the version pulled from elliptic.

This commit is contained in:
ricmoo 2016-11-21 18:45:24 -05:00
parent 048ef96ad0
commit 3a0d79b1e4
4 changed files with 5223 additions and 5217 deletions

10410
dist/ethers-wallet.js vendored

File diff suppressed because it is too large Load Diff

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",