@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.
@@ -13,7 +13,7 @@ import {
13
13
  useTransaction,
14
14
  useUserInfo,
15
15
  useWallet
16
- } from "../chunk-L6N4WRWG.mjs";
16
+ } from "../chunk-ZPBHHXEE.mjs";
17
17
  import "../chunk-UA6XHZHX.mjs";
18
18
  import "../chunk-IZOOVZAD.mjs";
19
19
  import "../chunk-JX73EY6V.mjs";
package/dist/index.js CHANGED
@@ -5939,10 +5939,10 @@ function useContactSearch(keyword, options) {
5939
5939
  });
5940
5940
  }
5941
5941
  function useContactInfo(options) {
5942
- const { token } = useUserInfo();
5942
+ const { address } = useUserInfo();
5943
5943
  return (0, import_react_query6.useQuery)({
5944
- queryKey: ["matchid-contacts-info", token],
5945
- enabled: !!token,
5944
+ queryKey: ["matchid-contacts-info", address],
5945
+ enabled: !!address,
5946
5946
  queryFn: async () => {
5947
5947
  return (await getContractsInfoApi()).data;
5948
5948
  },