diff --git a/js/package.json b/js/package.json index 355ab4249..cfae58ab8 100644 --- a/js/package.json +++ b/js/package.json @@ -170,7 +170,9 @@ "@parity/dapp-vaults": "paritytech/dapp-vaults", "@parity/dapp-wallet": "paritytech/dapp-wallet", "@parity/dapp-web": "paritytech/dapp-web", + "@parity/etherscan": "paritytech/js-etherscan", "@parity/jsonrpc": "paritytech/js-jsonrpc", + "@parity/ledger": "paritytech/js-ledger", "@parity/shared": "paritytech/js-shared", "@parity/ui": "paritytech/js-ui", "isomorphic-fetch": "2.2.1", @@ -186,6 +188,7 @@ "react-router": "3.0.0", "react-tap-event-plugin": "2.0.1", "redux": "3.6.0", + "solc": "ngotchac/solc-js", "store": "1.3.20", "web3": "0.17.0-beta", "whatwg-fetch": "2.0.1" diff --git a/js/src/DappRequests/store.js b/js/src/DappRequests/store.js index 2b60811a8..e9516ce6d 100644 --- a/js/src/DappRequests/store.js +++ b/js/src/DappRequests/store.js @@ -214,11 +214,11 @@ export default class Store { executePubsubCall = ({ api, id, from, token, params }, source) => { const callback = this._methodCallbackPost(id, from, source, token); - // TODO: enable security pubsub - this.provider.subscribe(api, callback, params).then((v, e) => { - console.log('Error and result', v, e); - this._methodCallbackPost(id, from, source, token)(null, v); - }); + this.provider + .subscribe(api, callback, params) + .then((result, error) => { + this._methodCallbackPost(id, from, source, token)(null, result); + }); } executeMethodCall = ({ id, from, method, params, token }, source) => {