Update dependencies
This commit is contained in:
parent
1e1137a6f7
commit
afec8358d3
@ -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"
|
||||
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user