@matchain/matchid-sdk-react 0.1.53-alpha.22 → 0.1.53-alpha.23

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.
@@ -7958,11 +7958,11 @@ import { useInfiniteQuery as useInfiniteQuery2, useQuery as useQuery12, useQuery
7958
7958
  import last2 from "lodash/last";
7959
7959
  import { useEffect as useEffect34, useMemo as useMemo21, useRef as useRef6 } from "react";
7960
7960
  function useContactList(page_size = 10, type = "Friend") {
7961
- const { token } = useLocalStore_default();
7961
+ const { address } = useUserInfo();
7962
7962
  const limitIdRef = useRef6(0);
7963
7963
  const queryClient2 = useQueryClient5();
7964
7964
  const contactQuery = useInfiniteQuery2({
7965
- queryKey: ["matchid-contacts-list", type, token],
7965
+ queryKey: ["matchid-contacts-list", type, address],
7966
7966
  initialPageParam: 1,
7967
7967
  queryFn: async (args) => {
7968
7968
  console.log(args);
@@ -8132,4 +8132,4 @@ export {
8132
8132
  MatchProvider,
8133
8133
  useMatch
8134
8134
  };
8135
- //# sourceMappingURL=chunk-ZOBAUYIZ.mjs.map
8135
+ //# sourceMappingURL=chunk-WNDUHFQX.mjs.map