Fixed package dependency issue when elliptic is already installed.

This commit is contained in:
ricmoo 2016-11-21 18:20:36 -05:00
parent 51f1fa50dd
commit 048ef96ad0
4 changed files with 8 additions and 8 deletions

@ -1728,8 +1728,8 @@ module.exports = {
var rlp = require('rlp'); var rlp = require('rlp');
var BN = require('../node_modules/elliptic/node_modules/bn.js/lib/bn.js'); var BN = require('elliptic/node_modules/bn.js/lib/bn.js');
var hash = require('../node_modules/elliptic/node_modules/hash.js/lib/hash.js'); var hash = require('elliptic/node_modules/hash.js/lib/hash.js');
// See: https://github.com/emn178/js-sha3 // See: https://github.com/emn178/js-sha3
@ -2128,7 +2128,7 @@ module.exports = {
} }
}).call(this,require("buffer").Buffer) }).call(this,require("buffer").Buffer)
},{"../node_modules/elliptic/node_modules/bn.js/lib/bn.js":29,"../node_modules/elliptic/node_modules/hash.js/lib/hash.js":31,"buffer":40,"rlp":84}],11:[function(require,module,exports){ },{"buffer":40,"elliptic/node_modules/bn.js/lib/bn.js":29,"elliptic/node_modules/hash.js/lib/hash.js":31,"rlp":84}],11:[function(require,module,exports){
(function (global,Buffer){ (function (global,Buffer){
'use strict'; 'use strict';

File diff suppressed because one or more lines are too long

@ -2,8 +2,8 @@
var rlp = require('rlp'); var rlp = require('rlp');
var BN = require('../node_modules/elliptic/node_modules/bn.js/lib/bn.js'); var BN = require('elliptic/node_modules/bn.js/lib/bn.js');
var hash = require('../node_modules/elliptic/node_modules/hash.js/lib/hash.js'); var hash = require('elliptic/node_modules/hash.js/lib/hash.js');
// See: https://github.com/emn178/js-sha3 // See: https://github.com/emn178/js-sha3

@ -1,6 +1,6 @@
{ {
"name": "ethers-wallet", "name": "ethers-wallet",
"version": "1.0.6", "version": "1.0.7",
"description": "Ethereum wallet library.", "description": "Ethereum wallet library.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {