@matchain/matchid-sdk-react 0.1.53-alpha.26 → 0.1.53-alpha.27

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.
@@ -24,7 +24,7 @@ import {
24
24
  UsernameModal,
25
25
  WalletAsset,
26
26
  WalletModal
27
- } from "../chunk-L6N4WRWG.mjs";
27
+ } from "../chunk-ZPBHHXEE.mjs";
28
28
  import "../chunk-UA6XHZHX.mjs";
29
29
  import "../chunk-IZOOVZAD.mjs";
30
30
  import "../chunk-JX73EY6V.mjs";
@@ -1827,10 +1827,10 @@ function useContactSearch(keyword, options) {
1827
1827
  });
1828
1828
  }
1829
1829
  function useContactInfo(options) {
1830
- const { token } = useUserInfo();
1830
+ const { address } = useUserInfo();
1831
1831
  return (0, import_react_query13.useQuery)({
1832
- queryKey: ["matchid-contacts-info", token],
1833
- enabled: !!token,
1832
+ queryKey: ["matchid-contacts-info", address],
1833
+ enabled: !!address,
1834
1834
  queryFn: async () => {
1835
1835
  return (await getContractsInfoApi()).data;
1836
1836
  },