@matchain/matchid-sdk-react 0.1.37-alpha.8 → 0.1.37-alpha.9

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.
@@ -2384,7 +2384,7 @@ function BTCModal({
2384
2384
  return !!address;
2385
2385
  }, [address]);
2386
2386
  const disconnect = async () => {
2387
- wallet.disconnet();
2387
+ wallet && wallet.disconnet && wallet.disconnet();
2388
2388
  setStatus("");
2389
2389
  chooseWallet(null);
2390
2390
  statusRef.current = "";
@@ -2468,7 +2468,7 @@ function BTCModal({
2468
2468
  }
2469
2469
  }, [props.isOpen]);
2470
2470
  const onBack = () => {
2471
- wallet.disconnet();
2471
+ wallet && wallet.disconnet && wallet.disconnet();
2472
2472
  setStatus("");
2473
2473
  chooseWallet(null);
2474
2474
  statusRef.current = "";
@@ -3882,4 +3882,4 @@ export {
3882
3882
  MatchProvider,
3883
3883
  useMatch
3884
3884
  };
3885
- //# sourceMappingURL=chunk-65NEGWW3.mjs.map
3885
+ //# sourceMappingURL=chunk-JULH2ML5.mjs.map