@matchain/matchid-sdk-react 0.1.48-alpha.29 → 0.1.48-alpha.30

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.
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-ZHBFW26I.mjs";
14
+ } from "./chunk-KIVNILBF.mjs";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-J5LGTIGS.mjs";
@@ -94,4 +94,4 @@ export {
94
94
  user_exports,
95
95
  api_exports
96
96
  };
97
- //# sourceMappingURL=chunk-AZCOCC5H.mjs.map
97
+ //# sourceMappingURL=chunk-YJV23RET.mjs.map
@@ -4638,7 +4638,7 @@ function WalletContent2({
4638
4638
  const [error, setError] = (0, import_react33.useState)("");
4639
4639
  (0, import_react33.useEffect)(() => {
4640
4640
  const init = async () => {
4641
- if (wallet) {
4641
+ if (tonConnectUI.connected) {
4642
4642
  await tonConnectUI.disconnect();
4643
4643
  }
4644
4644
  open();
@@ -4759,7 +4759,7 @@ function WalletContent2({
4759
4759
  setVisible: async (v) => {
4760
4760
  console.log("setVisible", v);
4761
4761
  if (v) {
4762
- if (wallet) {
4762
+ if (tonConnectUI.connected) {
4763
4763
  await tonConnectUI.disconnect();
4764
4764
  }
4765
4765
  setStatus("");