@ethereansos/interfaces-core 0.4.115 → 0.4.116
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
@@ -48914,8 +48914,8 @@ var Web3ContextInitializer = function Web3ContextInitializer(_ref) {
|
|
48914
48914
|
|
48915
48915
|
if (wallet && wallet.ethereum || dualProvider) {
|
48916
48916
|
setIntervalId(setInterval(function () {
|
48917
|
-
tryUpdateBlock(wallet.ethereum, block, setBlock);
|
48918
|
-
tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
|
48917
|
+
wallet && wallet.ethereum && tryUpdateBlock(wallet.ethereum, block, setBlock);
|
48918
|
+
dualProvider && tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
|
48919
48919
|
}, realBlockIntervalTimeout));
|
48920
48920
|
}
|
48921
48921
|
}, [wallet, dualProvider, realBlockIntervalTimeout, intervalId]);
|