@ethereansos/interfaces-core 0.4.115 → 0.4.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -48926,8 +48926,8 @@ var Web3ContextInitializer = function Web3ContextInitializer(_ref) {
48926
48926
 
48927
48927
  if (wallet && wallet.ethereum || dualProvider) {
48928
48928
  setIntervalId(setInterval(function () {
48929
- tryUpdateBlock(wallet.ethereum, block, setBlock);
48930
- tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
48929
+ wallet && wallet.ethereum && tryUpdateBlock(wallet.ethereum, block, setBlock);
48930
+ dualProvider && tryUpdateBlock(dualProvider, dualBlock, setDualBlock);
48931
48931
  }, realBlockIntervalTimeout));
48932
48932
  }
48933
48933
  }, [wallet, dualProvider, realBlockIntervalTimeout, intervalId]);