@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.
@@ -6558,10 +6558,10 @@ function useContactSearch(keyword, options) {
6558
6558
  });
6559
6559
  }
6560
6560
  function useContactInfo(options) {
6561
- const { token } = useUserInfo();
6561
+ const { address } = useUserInfo();
6562
6562
  return (0, import_react_query13.useQuery)({
6563
- queryKey: ["matchid-contacts-info", token],
6564
- enabled: !!token,
6563
+ queryKey: ["matchid-contacts-info", address],
6564
+ enabled: !!address,
6565
6565
  queryFn: async () => {
6566
6566
  return (await getContractsInfoApi()).data;
6567
6567
  },