update to 3.0.3

This commit is contained in:
Iuri Matias 2018-05-11 14:41:42 -04:00
parent a19220f2b3
commit e510e846f5
3 changed files with 147 additions and 149 deletions

288
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "embark",
"version": "3.0.2",
"version": "3.0.3",
"description": "Embark is a framework that allows you to easily develop and deploy DApps",
"scripts": {
"lint": "./node_modules/.bin/eslint lib/",

View File

@ -28,9 +28,9 @@ module.exports = function (embark) {
callback({contractCode: options.contract.code});
});
embark.registerClientWeb3Provider(function(options) {
return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
});
//embark.registerClientWeb3Provider(function(options) {
// return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
//});
embark.registerConsoleCommand((cmd) => {
if (cmd === "hello") {