@ethereansos/interfaces-core 0.4.111 → 0.4.112
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -48925,8 +48925,8 @@ var Web3ContextInitializer = function Web3ContextInitializer(_ref) {
|
|
48925
48925
|
dualProvider && setIntervalId(setInterval(function () {
|
48926
48926
|
return tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
|
48927
48927
|
}, realBlockIntervalTimeout));
|
48928
|
-
}, [wallet, dualProvider, intervalId]);
|
48929
|
-
React.useEffect(resetBlockInterval, [realBlockInterval, realBlockIntervalTimeout, wallet && wallet.ethereum, dualProvider
|
48928
|
+
}, [wallet, dualProvider, realBlockIntervalTimeout, intervalId]);
|
48929
|
+
React.useEffect(resetBlockInterval, [realBlockInterval, realBlockIntervalTimeout, wallet && wallet.ethereum, dualProvider]);
|
48930
48930
|
React.useEffect(function () {
|
48931
48931
|
setConnectionStatus(wallet && wallet.ethereum ? CONNECTED : connectionStatus === CONNECTING ? CONNECTING : NOT_CONNECTED);
|
48932
48932
|
setWeb3Instance(wallet && wallet.ethereum && (web3Instance || new Web3__default["default"](wallet.ethereum)) || null);
|