Update dependencies

This commit is contained in:
Jaco Greeff 2017-09-18 10:56:09 +02:00
parent 1e1137a6f7
commit afec8358d3
2 changed files with 8 additions and 5 deletions

View File

@ -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"

View File

@ -214,10 +214,10 @@ 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);
});
}