implement the download function
This commit is contained in:
parent
cf14b3784f
commit
2568ec1aec
|
@ -6,7 +6,8 @@
|
|||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2017
|
||||
},
|
||||
"rules": {
|
||||
"accessor-pairs": "error",
|
||||
|
|
|
@ -180,9 +180,27 @@ Config.prototype.getExternalContractUrl = function (contract) {
|
|||
return url;
|
||||
};
|
||||
|
||||
Config.prototype.loadContractOnTheWeb = function (contract) {
|
||||
Config.prototype.loadContractOnTheWeb = function (directory, contract) {
|
||||
return new Promise((resolve, reject) => {
|
||||
fs.mkdirp(directory, (err) => {
|
||||
if (err) {
|
||||
return reject(new Error(err));
|
||||
}
|
||||
const url = this.getExternalContractUrl(contract);
|
||||
request(url).pipe(fs.createWriteStream('doodle.png'));
|
||||
const localFile = utils.joinPath(process.cwd(), `${directory}/${path.basename(url)}`);
|
||||
request(url)
|
||||
.on('response', function (response) {
|
||||
if (response.statusCode !== 200) {
|
||||
return reject(new Error('Getting file returned code ' + response.statusCode));
|
||||
}
|
||||
resolve(localFile);
|
||||
})
|
||||
.on('error', function (err) {
|
||||
reject(new Error(err));
|
||||
})
|
||||
.pipe(fs.createWriteStream(localFile));
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Config.prototype.loadExternalContractsFiles = function() {
|
||||
|
|
|
@ -7,6 +7,10 @@ function mkdirpSync() {
|
|||
return fs.mkdirpSync.apply(fs.mkdirpSync, arguments);
|
||||
}
|
||||
|
||||
function mkdirp() {
|
||||
return fs.mkdirp.apply(fs.mkdirp, arguments);
|
||||
}
|
||||
|
||||
function copySync() {
|
||||
return fs.copySync.apply(fs.copySync, arguments);
|
||||
}
|
||||
|
@ -54,8 +58,13 @@ function dappPath() {
|
|||
return utils.joinPath(utils.pwd(), ...arguments);
|
||||
}
|
||||
|
||||
function createWriteStream() {
|
||||
return fs.createWriteStream.apply(fs.createWriteStream, arguments);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
mkdirpSync: mkdirpSync,
|
||||
mkdirp,
|
||||
copySync: copySync,
|
||||
readFileSync: readFileSync,
|
||||
appendFileSync: appendFileSync,
|
||||
|
@ -65,5 +74,6 @@ module.exports = {
|
|||
existsSync: existsSync,
|
||||
removeSync: removeSync,
|
||||
embarkPath: embarkPath,
|
||||
dappPath: dappPath
|
||||
dappPath: dappPath,
|
||||
createWriteStream
|
||||
};
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
"ansi-escapes": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz",
|
||||
"integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==",
|
||||
"integrity": "sha1-9zIHu4EgfXX9bIPxJa8m7qN4yjA=",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-regex": {
|
||||
|
@ -228,7 +228,7 @@
|
|||
"async-limiter": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz",
|
||||
"integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg=="
|
||||
"integrity": "sha1-ePrtjD0HSrgfIrTphdeehzj3IPg="
|
||||
},
|
||||
"asynckit": {
|
||||
"version": "0.4.0",
|
||||
|
@ -1074,7 +1074,7 @@
|
|||
"bluebird": {
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz",
|
||||
"integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA=="
|
||||
"integrity": "sha1-2VUfnemPH82h5oPRfukaBgLuLrk="
|
||||
},
|
||||
"bn.js": {
|
||||
"version": "4.11.8",
|
||||
|
@ -1439,7 +1439,7 @@
|
|||
"circular-json": {
|
||||
"version": "0.3.3",
|
||||
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
|
||||
"integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==",
|
||||
"integrity": "sha1-gVyZ6oT2gJUp0vRXkb34JxE1LWY=",
|
||||
"dev": true
|
||||
},
|
||||
"clap": {
|
||||
|
@ -1647,7 +1647,7 @@
|
|||
"commander": {
|
||||
"version": "2.15.1",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
|
||||
"integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag=="
|
||||
"integrity": "sha1-30boZ9D8Kuxmo0ZitAapzK//Ww8="
|
||||
},
|
||||
"commondir": {
|
||||
"version": "1.0.1",
|
||||
|
@ -1695,7 +1695,7 @@
|
|||
"content-type": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
||||
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
|
||||
"integrity": "sha1-4TjMdeBAxyexlm/l5fjJruJW/js="
|
||||
},
|
||||
"convert-source-map": {
|
||||
"version": "1.5.1",
|
||||
|
@ -1795,7 +1795,7 @@
|
|||
"boom": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz",
|
||||
"integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==",
|
||||
"integrity": "sha1-XdnabuOl8wIHdDYpDLcX0/SlTgI=",
|
||||
"requires": {
|
||||
"hoek": "4.2.1"
|
||||
}
|
||||
|
@ -1828,7 +1828,7 @@
|
|||
"css-loader": {
|
||||
"version": "0.28.11",
|
||||
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz",
|
||||
"integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==",
|
||||
"integrity": "sha1-w/mGSnAL4nEbtaJGKyOJsaOS2rc=",
|
||||
"requires": {
|
||||
"babel-code-frame": "6.26.0",
|
||||
"css-selector-tokenizer": "0.7.0",
|
||||
|
@ -2012,7 +2012,7 @@
|
|||
"decompress-tar": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz",
|
||||
"integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==",
|
||||
"integrity": "sha1-cYy9P8sWIJcW5womuE57pFkuWvE=",
|
||||
"requires": {
|
||||
"file-type": "5.2.0",
|
||||
"is-stream": "1.1.0",
|
||||
|
@ -2022,7 +2022,7 @@
|
|||
"decompress-tarbz2": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz",
|
||||
"integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==",
|
||||
"integrity": "sha1-MIKluIDqQEOBY0nzeLVsUWvho5s=",
|
||||
"requires": {
|
||||
"decompress-tar": "4.1.1",
|
||||
"file-type": "6.2.0",
|
||||
|
@ -2034,14 +2034,14 @@
|
|||
"file-type": {
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz",
|
||||
"integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg=="
|
||||
"integrity": "sha1-5QzXXTVv/tTjBtxPW89Sp5kDqRk="
|
||||
}
|
||||
}
|
||||
},
|
||||
"decompress-targz": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz",
|
||||
"integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==",
|
||||
"integrity": "sha1-wJvDXE0R894J8tLaU+neI+fOHu4=",
|
||||
"requires": {
|
||||
"decompress-tar": "4.1.1",
|
||||
"file-type": "5.2.0",
|
||||
|
@ -2189,7 +2189,7 @@
|
|||
"doctrine": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
|
||||
"integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
|
||||
"integrity": "sha1-XNAfwQFiG0LEzX9dGmYkNxbT850=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esutils": "2.0.2"
|
||||
|
@ -2245,7 +2245,7 @@
|
|||
"ejs": {
|
||||
"version": "2.5.8",
|
||||
"resolved": "https://registry.npmjs.org/ejs/-/ejs-2.5.8.tgz",
|
||||
"integrity": "sha512-QIDZL54fyV8MDcAsO91BMH1ft2qGGaHIJsJIA/+t+7uvXol1dm413fPcUgUb4k8F/9457rx4/KFE4XfDifrQxQ=="
|
||||
"integrity": "sha1-KraVRhnyJeYZO3rF98OcSP7+Q4A="
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.3.37",
|
||||
|
@ -2424,7 +2424,7 @@
|
|||
"eslint": {
|
||||
"version": "4.13.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-4.13.1.tgz",
|
||||
"integrity": "sha512-UCJVV50RtLHYzBp1DZ8CMPtRSg4iVZvjgO9IJHIKyWU/AnJVjtdRikoUPLB29n5pzMB7TnsLQWf0V6VUJfoPfw==",
|
||||
"integrity": "sha1-AFXgAURkx+t4eMr1Se8pQZkrRE8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ajv": "5.5.2",
|
||||
|
@ -2487,7 +2487,7 @@
|
|||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "1.9.1"
|
||||
|
@ -2496,7 +2496,7 @@
|
|||
"chalk": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz",
|
||||
"integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==",
|
||||
"integrity": "sha1-JQ3JawdJG/1gHmSNZt319gx6XGU=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "3.2.1",
|
||||
|
@ -2507,7 +2507,7 @@
|
|||
"debug": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
|
||||
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
|
||||
"integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ms": "2.0.0"
|
||||
|
@ -2516,13 +2516,13 @@
|
|||
"esprima": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz",
|
||||
"integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==",
|
||||
"integrity": "sha1-RJnt3NERDgshi6zy+n9/WfVcqAQ=",
|
||||
"dev": true
|
||||
},
|
||||
"globals": {
|
||||
"version": "11.4.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-11.4.0.tgz",
|
||||
"integrity": "sha512-Dyzmifil8n/TmSqYDEXbm+C8yitzJQqQIlJQLNRMwa+BOUJpRC19pyVeN12JAjt61xonvXjtff+hJruTRXn5HA==",
|
||||
"integrity": "sha1-uFx5M0lWHBYHajwTVJI4onlF8bw=",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
|
@ -2534,7 +2534,7 @@
|
|||
"js-yaml": {
|
||||
"version": "3.11.0",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz",
|
||||
"integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==",
|
||||
"integrity": "sha1-WXwai9VxUvJtYizkEXhRpR9euu8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"argparse": "1.0.10",
|
||||
|
@ -2553,7 +2553,7 @@
|
|||
"supports-color": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz",
|
||||
"integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==",
|
||||
"integrity": "sha1-WySsFduA+pJ89SJ6SjP9PEx2dsA=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "3.0.0"
|
||||
|
@ -2574,7 +2574,7 @@
|
|||
"espree": {
|
||||
"version": "3.5.4",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz",
|
||||
"integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==",
|
||||
"integrity": "sha1-sPRHGHyKi+2US4FaZgvd9d610ac=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"acorn": "5.5.3",
|
||||
|
@ -2621,7 +2621,7 @@
|
|||
"eth-lib": {
|
||||
"version": "0.1.27",
|
||||
"resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz",
|
||||
"integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==",
|
||||
"integrity": "sha1-8LD9FE+GXS1r+CV6QABPLnXKHdY=",
|
||||
"requires": {
|
||||
"bn.js": "4.11.8",
|
||||
"elliptic": "6.4.0",
|
||||
|
@ -2936,7 +2936,7 @@
|
|||
"finalhandler": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
|
||||
"integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
|
||||
"integrity": "sha1-7r9O2EAHnIP0JJA4ydcDAIMBsQU=",
|
||||
"requires": {
|
||||
"debug": "2.6.9",
|
||||
"encodeurl": "1.0.2",
|
||||
|
@ -4205,7 +4205,7 @@
|
|||
"got": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",
|
||||
"integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",
|
||||
"integrity": "sha1-BUUP2ECU5rvqVvRRpDqcKJFmOFo=",
|
||||
"requires": {
|
||||
"decompress-response": "3.3.0",
|
||||
"duplexer3": "0.1.4",
|
||||
|
@ -4552,12 +4552,12 @@
|
|||
"has-symbol-support-x": {
|
||||
"version": "1.4.2",
|
||||
"resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
|
||||
"integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw=="
|
||||
"integrity": "sha1-FAn5i8ACR9pF2mfO4KNvKC/yZFU="
|
||||
},
|
||||
"has-to-string-tag-x": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
|
||||
"integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
|
||||
"integrity": "sha1-oEWrOD17SyASoAFIqwql8pAETU0=",
|
||||
"requires": {
|
||||
"has-symbol-support-x": "1.4.2"
|
||||
}
|
||||
|
@ -4641,7 +4641,7 @@
|
|||
"hawk": {
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz",
|
||||
"integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==",
|
||||
"integrity": "sha1-r02RTrBl+bXOTZ0RwcshJu7MMDg=",
|
||||
"requires": {
|
||||
"boom": "4.3.1",
|
||||
"cryptiles": "3.1.2",
|
||||
|
@ -4662,7 +4662,7 @@
|
|||
"hoek": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz",
|
||||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA=="
|
||||
"integrity": "sha1-ljRQKqEsRF3Vp8VzS1cruHOKrLs="
|
||||
},
|
||||
"home-or-tmp": {
|
||||
"version": "2.0.0",
|
||||
|
@ -4819,7 +4819,7 @@
|
|||
"ignore": {
|
||||
"version": "3.3.7",
|
||||
"resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.7.tgz",
|
||||
"integrity": "sha512-YGG3ejvBNHRqu0559EOxxNFihD0AjpvHlC/pdGKd3X3ofe+CoJkYazwNJYTNebqpPKN+VVQbh4ZFn1DivMNuHA==",
|
||||
"integrity": "sha1-YSKJv7PCIOGGpYEYYY1b6MG6sCE=",
|
||||
"dev": true
|
||||
},
|
||||
"imurmurhash": {
|
||||
|
@ -4864,7 +4864,7 @@
|
|||
"inquirer": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz",
|
||||
"integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==",
|
||||
"integrity": "sha1-ndLyrXZdyrH/BEO0kUQqILoifck=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-escapes": "3.1.0",
|
||||
|
@ -4892,7 +4892,7 @@
|
|||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "1.9.1"
|
||||
|
@ -4901,7 +4901,7 @@
|
|||
"chalk": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz",
|
||||
"integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==",
|
||||
"integrity": "sha1-JQ3JawdJG/1gHmSNZt319gx6XGU=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "3.2.1",
|
||||
|
@ -4927,7 +4927,7 @@
|
|||
"supports-color": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz",
|
||||
"integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==",
|
||||
"integrity": "sha1-WySsFduA+pJ89SJ6SjP9PEx2dsA=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "3.0.0"
|
||||
|
@ -5231,7 +5231,7 @@
|
|||
"is-path-in-cwd": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz",
|
||||
"integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==",
|
||||
"integrity": "sha1-WsSLNF72dTOb1sekipEhELJBz1I=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"is-path-inside": "1.0.1"
|
||||
|
@ -5289,7 +5289,7 @@
|
|||
"is-resolvable": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
|
||||
"integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
|
||||
"integrity": "sha1-+xj4fOH+uSUWnJpAfBkxijIG7Yg=",
|
||||
"dev": true
|
||||
},
|
||||
"is-retry-allowed": {
|
||||
|
@ -5351,7 +5351,7 @@
|
|||
"isurl": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
|
||||
"integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
|
||||
"integrity": "sha1-sn9PSfPNqj6kSgpbfzRi5u3DnWc=",
|
||||
"requires": {
|
||||
"has-to-string-tag-x": "1.4.1",
|
||||
"is-object": "1.0.1"
|
||||
|
@ -5773,7 +5773,7 @@
|
|||
"lowercase-keys": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
|
||||
"integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
|
||||
"integrity": "sha1-b54wtHCE2XGnyCD/FabFFnt0wm8="
|
||||
},
|
||||
"lru-cache": {
|
||||
"version": "4.1.2",
|
||||
|
@ -6070,12 +6070,12 @@
|
|||
"mime-db": {
|
||||
"version": "1.33.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
|
||||
"integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ=="
|
||||
"integrity": "sha1-o0kgUKXLm2NFBUHjnZeI0icng9s="
|
||||
},
|
||||
"mime-types": {
|
||||
"version": "2.1.18",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
|
||||
"integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
|
||||
"integrity": "sha1-bzI/YKg9ERRvgx/xH9ZuL+VQO7g=",
|
||||
"requires": {
|
||||
"mime-db": "1.33.0"
|
||||
}
|
||||
|
@ -6258,7 +6258,7 @@
|
|||
"mock-fs": {
|
||||
"version": "4.4.2",
|
||||
"resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.4.2.tgz",
|
||||
"integrity": "sha512-dF+yxZSojSiI8AXGoxj5qdFWpucndc54Ug+TwlpHFaV7j22MGG+OML2+FVa6xAZtjb/OFFQhOC37Jegx2GbEwA=="
|
||||
"integrity": "sha1-Cd7FMT+XCVpFC+aqKtirZzjWPWs="
|
||||
},
|
||||
"mout": {
|
||||
"version": "0.11.1",
|
||||
|
@ -6334,7 +6334,7 @@
|
|||
"mz": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
||||
"integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
|
||||
"integrity": "sha1-lQCAV6Vsr63CvGPd5/n/aVWUjjI=",
|
||||
"requires": {
|
||||
"any-promise": "1.3.0",
|
||||
"object-assign": "4.1.1",
|
||||
|
@ -6878,7 +6878,7 @@
|
|||
"p-cancelable": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",
|
||||
"integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw=="
|
||||
"integrity": "sha1-ueEjgAvOu3rBOkeb4ZW1B7mNMPo="
|
||||
},
|
||||
"p-finally": {
|
||||
"version": "1.0.0",
|
||||
|
@ -7134,7 +7134,7 @@
|
|||
"pluralize": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
|
||||
"integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
|
||||
"integrity": "sha1-KYuJ34uTsCIdv0Ia0rGx6iP8Z3c=",
|
||||
"dev": true
|
||||
},
|
||||
"posix-character-classes": {
|
||||
|
@ -7743,7 +7743,7 @@
|
|||
"proxy-addr": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz",
|
||||
"integrity": "sha512-jQTChiCJteusULxjBp8+jftSQE5Obdl3k4cnmLA6WXtK6XFuWRnvVL7aCiBqaLPM8c4ph0S4tKna8XvmIwEnXQ==",
|
||||
"integrity": "sha1-NV8mJQWmIWRrMTCnKOtkfiIFU0E=",
|
||||
"requires": {
|
||||
"forwarded": "0.1.2",
|
||||
"ipaddr.js": "1.6.0"
|
||||
|
@ -8168,7 +8168,7 @@
|
|||
"request": {
|
||||
"version": "2.85.0",
|
||||
"resolved": "https://registry.npmjs.org/request/-/request-2.85.0.tgz",
|
||||
"integrity": "sha512-8H7Ehijd4js+s6wuVPLjwORxD4zeuyjYugprdOXlPSqaApmL/QOy+EB/beICHVCHkGMKNh5rvihb5ov+IDw4mg==",
|
||||
"integrity": "sha1-WgNhWkfGFCCz65m326IE+DYD4fo=",
|
||||
"requires": {
|
||||
"aws-sign2": "0.7.0",
|
||||
"aws4": "1.6.0",
|
||||
|
@ -8471,7 +8471,7 @@
|
|||
"servify": {
|
||||
"version": "0.1.12",
|
||||
"resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz",
|
||||
"integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==",
|
||||
"integrity": "sha1-FCq3vuHx0DO2bQcHCGCFsXwG25U=",
|
||||
"requires": {
|
||||
"body-parser": "1.18.2",
|
||||
"cors": "2.8.4",
|
||||
|
@ -8587,7 +8587,7 @@
|
|||
"simple-get": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.7.0.tgz",
|
||||
"integrity": "sha512-RkE9rGPHcxYZ/baYmgJtOSM63vH0Vyq+ma5TijBcLla41SWlh8t6XYIGMR/oeZcmr+/G8k+zrClkkVrtnQ0esg==",
|
||||
"integrity": "sha1-rTf5JtCBKSN/8IxPLt/W8Q4DgLU=",
|
||||
"requires": {
|
||||
"decompress-response": "3.3.0",
|
||||
"once": "1.4.0",
|
||||
|
@ -8614,7 +8614,7 @@
|
|||
"slice-ansi": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz",
|
||||
"integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==",
|
||||
"integrity": "sha1-BE8aSdiEL/MHqta1Be0Xi9lQE00=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"is-fullwidth-code-point": "2.0.0"
|
||||
|
@ -8748,7 +8748,7 @@
|
|||
"sntp": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/sntp/-/sntp-2.1.0.tgz",
|
||||
"integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==",
|
||||
"integrity": "sha1-LGzsFP7cIiJznK+bXD2F0cxaLMg=",
|
||||
"requires": {
|
||||
"hoek": "4.2.1"
|
||||
}
|
||||
|
@ -9259,7 +9259,7 @@
|
|||
"strip-dirs": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz",
|
||||
"integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==",
|
||||
"integrity": "sha1-SYdzYmT8NEzyD2w0rKnRPR1O1sU=",
|
||||
"requires": {
|
||||
"is-natural-number": "4.0.1"
|
||||
}
|
||||
|
@ -9351,7 +9351,7 @@
|
|||
"swarm-js": {
|
||||
"version": "0.1.37",
|
||||
"resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.37.tgz",
|
||||
"integrity": "sha512-G8gi5fcXP/2upwiuOShJ258sIufBVztekgobr3cVgYXObZwJ5AXLqZn52AI+/ffft29pJexF9WNdUxjlkVehoQ==",
|
||||
"integrity": "sha1-J9SFMXo0C77sQCkq94PMEKz6RmM=",
|
||||
"requires": {
|
||||
"bluebird": "3.5.1",
|
||||
"buffer": "5.1.0",
|
||||
|
@ -9371,7 +9371,7 @@
|
|||
"buffer": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.1.0.tgz",
|
||||
"integrity": "sha512-YkIRgwsZwJWTnyQrsBTWefizHh+8GYj3kbL1BTiAQ/9pwpino0G7B2gp5tx/FUBqUlvtxV85KNR3mwfAtv15Yw==",
|
||||
"integrity": "sha1-yRPkNnjHy3yL0Wr7zdtsVQXo+f4=",
|
||||
"requires": {
|
||||
"base64-js": "1.2.3",
|
||||
"ieee754": "1.1.8"
|
||||
|
@ -9486,7 +9486,7 @@
|
|||
"tar.gz": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://registry.npmjs.org/tar.gz/-/tar.gz-1.0.7.tgz",
|
||||
"integrity": "sha512-uhGatJvds/3diZrETqMj4RxBR779LKlIE74SsMcn5JProZsfs9j0QBwWO1RW+IWNJxS2x8Zzra1+AW6OQHWphg==",
|
||||
"integrity": "sha1-V37yxZX6qnNFLvBBX+1BETISJXs=",
|
||||
"requires": {
|
||||
"bluebird": "2.11.0",
|
||||
"commander": "2.15.1",
|
||||
|
@ -9572,7 +9572,7 @@
|
|||
"tmp": {
|
||||
"version": "0.0.33",
|
||||
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
|
||||
"integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
|
||||
"integrity": "sha1-bTQzWIl2jSGyvNoKonfO07G/rfk=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"os-tmpdir": "1.0.2"
|
||||
|
@ -9639,7 +9639,7 @@
|
|||
"tough-cookie": {
|
||||
"version": "2.3.4",
|
||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz",
|
||||
"integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==",
|
||||
"integrity": "sha1-7GDO44rGdQY//JelwYlwV47oNlU=",
|
||||
"requires": {
|
||||
"punycode": "1.4.1"
|
||||
}
|
||||
|
@ -9694,7 +9694,7 @@
|
|||
"type-is": {
|
||||
"version": "1.6.16",
|
||||
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",
|
||||
"integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==",
|
||||
"integrity": "sha1-+JzjQVQcZysl7nrjxz3uOyvlAZQ=",
|
||||
"requires": {
|
||||
"media-typer": "0.3.0",
|
||||
"mime-types": "2.1.18"
|
||||
|
@ -9760,12 +9760,12 @@
|
|||
"ultron": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
|
||||
"integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
|
||||
"integrity": "sha1-n+FTahCmZKZSZqHjzPhf02MCvJw="
|
||||
},
|
||||
"unbzip2-stream": {
|
||||
"version": "1.2.5",
|
||||
"resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz",
|
||||
"integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==",
|
||||
"integrity": "sha1-c6AzpWe7veWWVLGTxE1Ip+T0PEc=",
|
||||
"requires": {
|
||||
"buffer": "3.6.0",
|
||||
"through": "2.3.8"
|
||||
|
@ -10027,7 +10027,7 @@
|
|||
"uuid": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
|
||||
"integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA=="
|
||||
"integrity": "sha1-EsUou51Y0LkmXZovbw/ovhf/HxQ="
|
||||
},
|
||||
"validate-npm-package-license": {
|
||||
"version": "3.0.3",
|
||||
|
@ -10066,7 +10066,7 @@
|
|||
"viz.js": {
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/viz.js/-/viz.js-1.8.1.tgz",
|
||||
"integrity": "sha512-KrSNgnIxec+JCAqDPliO6xYA69ToH2WTYB2Kbt8Bp/XRUvm23rTyfffFi4rvQLFkIRNUz/xCnnqhh/gChhsgGA=="
|
||||
"integrity": "sha1-J3qzz0NnxgipWygadHIIPD4u5s8="
|
||||
},
|
||||
"vlq": {
|
||||
"version": "0.2.3",
|
||||
|
@ -10386,23 +10386,33 @@
|
|||
}
|
||||
},
|
||||
"web3": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-2afJVr7JgbC6knvbkd0PEnXrNHk=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-NH5WG3hAmMtVYzFfSQR5odkfKrE=",
|
||||
"requires": {
|
||||
"web3-bzz": "1.0.0-beta.27",
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-eth": "1.0.0-beta.27",
|
||||
"web3-eth-personal": "1.0.0-beta.27",
|
||||
"web3-net": "1.0.0-beta.27",
|
||||
"web3-shh": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
}
|
||||
"web3-bzz": "1.0.0-beta.34",
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-eth": "1.0.0-beta.34",
|
||||
"web3-eth-personal": "1.0.0-beta.34",
|
||||
"web3-net": "1.0.0-beta.34",
|
||||
"web3-shh": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
},
|
||||
"dependencies": {
|
||||
"bn.js": {
|
||||
"version": "4.11.6",
|
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
|
||||
"integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
|
||||
},
|
||||
"uuid": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
|
||||
"integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
|
||||
},
|
||||
"web3-bzz": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-Tmggpc/nOqsG2CV59FBFD76YIqM=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-Bo03d3q2Xlxg+OyLmlDP5FJ3kpw=",
|
||||
"requires": {
|
||||
"got": "7.1.0",
|
||||
"swarm-js": "0.1.37",
|
||||
|
@ -10410,242 +10420,218 @@
|
|||
}
|
||||
},
|
||||
"web3-core": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-TQCb9x5Yt5F2E0EpF+/5ERO0N8M=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-EhvoVV6fsA0sXQXd0zgdDJ5GmH4=",
|
||||
"requires": {
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-core-requestmanager": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-core-requestmanager": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-core-helpers": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-6wlPrTfJ3B1wZt11Zimi1u+6B6I=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-eth-iban": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-eth-iban": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-core-method": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-3hTlQL1qdTfXBGcLSeY/BSYgG6o=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-7BY8iixJD6AqfsFVWfpzB/x8xt0=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-promievent": "1.0.0-beta.27",
|
||||
"web3-core-subscriptions": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-promievent": "1.0.0-beta.34",
|
||||
"web3-core-subscriptions": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-core-promievent": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-0lx9e75NU9+/3KBJ+e1LCmlUvrw=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-pPT6Z4S7KT6CxglgrltWqUzQPtw=",
|
||||
"requires": {
|
||||
"bluebird": "3.3.1",
|
||||
"any-promise": "1.3.0",
|
||||
"eventemitter3": "1.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": {
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.3.1.tgz",
|
||||
"integrity": "sha1-+Xrhlw9B2FF3KDBT6aEgFg5mxh0="
|
||||
}
|
||||
}
|
||||
},
|
||||
"web3-core-requestmanager": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-Vk7uJEoxCq5abGgyzeLA49wwHpg=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-Afj2zyrmtvC3DDi64e90G1urIVw=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-providers-http": "1.0.0-beta.27",
|
||||
"web3-providers-ipc": "1.0.0-beta.27",
|
||||
"web3-providers-ws": "1.0.0-beta.27"
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-providers-http": "1.0.0-beta.34",
|
||||
"web3-providers-ipc": "1.0.0-beta.34",
|
||||
"web3-providers-ws": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-core-subscriptions": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-VvKRy1Sn7PgNRzTXL1Sky8uJdzc=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-n+0UQDPyIcPPIQYDAv/a9e8t4t4=",
|
||||
"requires": {
|
||||
"eventemitter3": "1.1.1",
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27"
|
||||
"web3-core-helpers": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-eth": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-hV3Q4BqU1Xhx/9j0n22eyqMXIas=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-dAhgAIUMb+b1Ne9Jg31tS7YRMmg=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-core-subscriptions": "1.0.0-beta.27",
|
||||
"web3-eth-abi": "1.0.0-beta.27",
|
||||
"web3-eth-accounts": "1.0.0-beta.27",
|
||||
"web3-eth-contract": "1.0.0-beta.27",
|
||||
"web3-eth-iban": "1.0.0-beta.27",
|
||||
"web3-eth-personal": "1.0.0-beta.27",
|
||||
"web3-net": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-core-subscriptions": "1.0.0-beta.34",
|
||||
"web3-eth-abi": "1.0.0-beta.34",
|
||||
"web3-eth-accounts": "1.0.0-beta.34",
|
||||
"web3-eth-contract": "1.0.0-beta.34",
|
||||
"web3-eth-iban": "1.0.0-beta.34",
|
||||
"web3-eth-personal": "1.0.0-beta.34",
|
||||
"web3-net": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-eth-abi": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-RS6dk3YVYL4yNE7juJddD7JLvb4=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-A0Uz46ovfln/MXk+rqaFwO1a9no=",
|
||||
"requires": {
|
||||
"bn.js": "4.11.6",
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
},
|
||||
"dependencies": {
|
||||
"bn.js": {
|
||||
"version": "4.11.6",
|
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
|
||||
"integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
|
||||
}
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-eth-accounts": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-mUDCjl48kg1nz2iH6pxS8c3Re3k=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-4JFC7uzHl6w0WbdemyOUbTaV8zM=",
|
||||
"requires": {
|
||||
"bluebird": "3.3.1",
|
||||
"any-promise": "1.3.0",
|
||||
"crypto-browserify": "3.12.0",
|
||||
"eth-lib": "0.2.5",
|
||||
"eth-lib": "0.2.7",
|
||||
"scrypt.js": "0.2.0",
|
||||
"underscore": "1.8.3",
|
||||
"uuid": "2.0.1",
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": {
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.3.1.tgz",
|
||||
"integrity": "sha1-+Xrhlw9B2FF3KDBT6aEgFg5mxh0="
|
||||
},
|
||||
"eth-lib": {
|
||||
"version": "0.2.5",
|
||||
"resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.5.tgz",
|
||||
"integrity": "sha512-pXs4ryU+7S8MPpkQpNqG4JlXEec87kbXowQbYzRVV+c5XUccrO6WOxVPDicxql1AXSBzfmBSFVkvvG+H4htuxg==",
|
||||
"version": "0.2.7",
|
||||
"resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz",
|
||||
"integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=",
|
||||
"requires": {
|
||||
"bn.js": "4.11.8",
|
||||
"bn.js": "4.11.6",
|
||||
"elliptic": "6.4.0",
|
||||
"xhr-request-promise": "0.1.2"
|
||||
}
|
||||
},
|
||||
"uuid": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
|
||||
"integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w="
|
||||
}
|
||||
}
|
||||
},
|
||||
"web3-eth-contract": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-AS96XVnaZ+KWxzWo8pcK7N0gfn0=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-nbs4+udkOoCEJ6IBgEcOx0FckeY=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-core-promievent": "1.0.0-beta.27",
|
||||
"web3-core-subscriptions": "1.0.0-beta.27",
|
||||
"web3-eth-abi": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-core-promievent": "1.0.0-beta.34",
|
||||
"web3-core-subscriptions": "1.0.0-beta.34",
|
||||
"web3-eth-abi": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-eth-iban": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-RDPCj0F8Oa+WMzoGpK+h/NSqaEI=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=",
|
||||
"requires": {
|
||||
"bn.js": "4.11.8",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"bn.js": "4.11.6",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-eth-personal": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-ukiaNIdkpKswOItcwcblm9bq7Ks=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-mvuhZzQuveVCC81YlcP2w0OI8gU=",
|
||||
"requires": {
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-net": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-net": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-net": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-eulTbsOf7Rou6zjALm48jt/oq30=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-QnzqL0MYgUScjjjVIykPFz+f9j0=",
|
||||
"requires": {
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-utils": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-utils": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-providers-http": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-LwrhYJvF5KNb4lgYzX/HfeBitqY=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-5WG1K7tDdmKCAH1AKFv+NVDCfno=",
|
||||
"requires": {
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"xhr2": "0.1.4"
|
||||
}
|
||||
},
|
||||
"web3-providers-ipc": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-oFwkIe/+TEfxX0efeSUTWtCUJ2I=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-obd/GjBtc2SanAOQUuQMtxMo0Ao=",
|
||||
"requires": {
|
||||
"oboe": "2.1.3",
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27"
|
||||
"web3-core-helpers": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-providers-ws": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-bUZ4Geoi3foba6FJjTHZVU4rBt0=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-fecPG4Py3jZHZ3IVa+z+9uNRbrM=",
|
||||
"requires": {
|
||||
"underscore": "1.8.3",
|
||||
"web3-core-helpers": "1.0.0-beta.27",
|
||||
"web3-core-helpers": "1.0.0-beta.34",
|
||||
"websocket": "git://github.com/frozeman/WebSocket-Node.git#7004c39c42ac98875ab61126e5b4a925430f592c"
|
||||
}
|
||||
},
|
||||
"web3-shh": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-b3bW6yoma769zwqjDFo62J82e38=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-l1Bh1x6uxCzO5Xb3vY9w8DhEr+A=",
|
||||
"requires": {
|
||||
"web3-core": "1.0.0-beta.27",
|
||||
"web3-core-method": "1.0.0-beta.27",
|
||||
"web3-core-subscriptions": "1.0.0-beta.27",
|
||||
"web3-net": "1.0.0-beta.27"
|
||||
"web3-core": "1.0.0-beta.34",
|
||||
"web3-core-method": "1.0.0-beta.34",
|
||||
"web3-core-subscriptions": "1.0.0-beta.34",
|
||||
"web3-net": "1.0.0-beta.34"
|
||||
}
|
||||
},
|
||||
"web3-utils": {
|
||||
"version": "1.0.0-beta.27",
|
||||
"resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.27.tgz",
|
||||
"integrity": "sha1-0JfVwzaha59sqbYK9o3RXAZDIUs=",
|
||||
"version": "1.0.0-beta.34",
|
||||
"resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz",
|
||||
"integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=",
|
||||
"requires": {
|
||||
"bn.js": "4.11.6",
|
||||
"eth-lib": "0.1.27",
|
||||
|
@ -10654,12 +10640,7 @@
|
|||
"randomhex": "0.1.5",
|
||||
"underscore": "1.8.3",
|
||||
"utf8": "2.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"bn.js": {
|
||||
"version": "4.11.6",
|
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
|
||||
"integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -10832,7 +10813,7 @@
|
|||
"ws": {
|
||||
"version": "3.3.3",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
|
||||
"integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
|
||||
"integrity": "sha1-8c+E/i1ekB686U767OeF8YeiKPI=",
|
||||
"requires": {
|
||||
"async-limiter": "1.0.0",
|
||||
"safe-buffer": "5.1.1",
|
||||
|
@ -10842,7 +10823,7 @@
|
|||
"xhr": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmjs.org/xhr/-/xhr-2.4.1.tgz",
|
||||
"integrity": "sha512-pAIU5vBr9Hiy5cpFIbPnwf0C18ZF86DBsZKrlsf87N5De/JbA6RJ83UP/cv+aljl4S40iRVMqP4pr4sF9Dnj0A==",
|
||||
"integrity": "sha1-upgsztIFrl7sOHFprJ3HfKSFPTg=",
|
||||
"requires": {
|
||||
"global": "4.3.2",
|
||||
"is-function": "1.0.1",
|
||||
|
@ -10853,7 +10834,7 @@
|
|||
"xhr-request": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz",
|
||||
"integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==",
|
||||
"integrity": "sha1-9KfBhoufGYcjRE2C3K4xdkPy4u0=",
|
||||
"requires": {
|
||||
"buffer-to-arraybuffer": "0.0.5",
|
||||
"object-assign": "4.1.1",
|
||||
|
@ -10867,7 +10848,7 @@
|
|||
"query-string": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz",
|
||||
"integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==",
|
||||
"integrity": "sha1-p4wBK3HBfgXy4/ojGd0zBoLvs8s=",
|
||||
"requires": {
|
||||
"decode-uri-component": "0.2.0",
|
||||
"object-assign": "4.1.1",
|
||||
|
|
|
@ -3,6 +3,7 @@ const Config = require('../lib/core/config.js');
|
|||
const Plugins = require('../lib/core/plugins.js');
|
||||
const assert = require('assert');
|
||||
const TestLogger = require('../lib/tests/test_logger.js');
|
||||
const path = require('path');
|
||||
|
||||
describe('embark.Config', function () {
|
||||
let config = new Config({
|
||||
|
@ -128,4 +129,14 @@ describe('embark.Config', function () {
|
|||
});
|
||||
});
|
||||
|
||||
describe('#loadContractOnTheWeb', function () {
|
||||
it('should get the right url for a https://github file', async function () {
|
||||
const filePath = await config.loadContractOnTheWeb(
|
||||
'test_apps/test_app/.embark/contracts',
|
||||
{file: 'https://github.com/embark-framework/embark/blob/master/test_app/app/contracts/simple_storage.sol'}
|
||||
);
|
||||
assert.strictEqual(filePath,
|
||||
path.normalize('C:/dev/embark/test_apps/test_app/.embark/contracts/simple_storage.sol'));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue