update to 3.0.3
This commit is contained in:
parent
a19220f2b3
commit
e510e846f5
File diff suppressed because it is too large
Load Diff
|
@ -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/",
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue