@matchain/matchid-sdk-react 0.1.53-alpha.21 → 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.
@@ -25,7 +25,7 @@ import {
25
25
  UsernameModal,
26
26
  WalletAsset,
27
27
  WalletModal
28
- } from "../chunk-2Q5NZXUB.mjs";
28
+ } from "../chunk-WNDUHFQX.mjs";
29
29
  import "../chunk-JX73EY6V.mjs";
30
30
  import "../chunk-IZOOVZAD.mjs";
31
31
  import "../chunk-UA6XHZHX.mjs";
@@ -1771,11 +1771,11 @@ var import_react_query15 = require("@tanstack/react-query");
1771
1771
  var import_last2 = __toESM(require("lodash/last"));
1772
1772
  var import_react47 = require("react");
1773
1773
  function useContactList(page_size = 10, type = "Friend") {
1774
- const { token } = useLocalStore_default();
1774
+ const { address } = useUserInfo();
1775
1775
  const limitIdRef = (0, import_react47.useRef)(0);
1776
1776
  const queryClient2 = (0, import_react_query15.useQueryClient)();
1777
1777
  const contactQuery = (0, import_react_query15.useInfiniteQuery)({
1778
- queryKey: ["matchid-contacts-list", type, token],
1778
+ queryKey: ["matchid-contacts-list", type, address],
1779
1779
  initialPageParam: 1,
1780
1780
  queryFn: async (args) => {
1781
1781
  console.log(args);