@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.esm.js
CHANGED
@@ -48913,8 +48913,8 @@ var Web3ContextInitializer = function Web3ContextInitializer(_ref) {
|
|
48913
48913
|
dualProvider && setIntervalId(setInterval(function () {
|
48914
48914
|
return tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
|
48915
48915
|
}, realBlockIntervalTimeout));
|
48916
|
-
}, [wallet, dualProvider, intervalId]);
|
48917
|
-
useEffect(resetBlockInterval, [realBlockInterval, realBlockIntervalTimeout, wallet && wallet.ethereum, dualProvider
|
48916
|
+
}, [wallet, dualProvider, realBlockIntervalTimeout, intervalId]);
|
48917
|
+
useEffect(resetBlockInterval, [realBlockInterval, realBlockIntervalTimeout, wallet && wallet.ethereum, dualProvider]);
|
48918
48918
|
useEffect(function () {
|
48919
48919
|
setConnectionStatus(wallet && wallet.ethereum ? CONNECTED : connectionStatus === CONNECTING ? CONNECTING : NOT_CONNECTED);
|
48920
48920
|
setWeb3Instance(wallet && wallet.ethereum && (web3Instance || new Web3(wallet.ethereum)) || null);
|