@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.
@@ -13,7 +13,7 @@ import {
13
13
  useTransaction,
14
14
  useUserInfo,
15
15
  useWallet
16
- } from "../chunk-ZOBAUYIZ.mjs";
16
+ } from "../chunk-WNDUHFQX.mjs";
17
17
  import "../chunk-JX73EY6V.mjs";
18
18
  import "../chunk-IZOOVZAD.mjs";
19
19
  import "../chunk-UA6XHZHX.mjs";
package/dist/index.js CHANGED
@@ -5885,11 +5885,11 @@ var import_react_query6 = require("@tanstack/react-query");
5885
5885
  var import_last = __toESM(require("lodash/last"));
5886
5886
  var import_react27 = require("react");
5887
5887
  function useContactList(page_size = 10, type = "Friend") {
5888
- const { token } = useLocalStore_default();
5888
+ const { address } = useUserInfo();
5889
5889
  const limitIdRef = (0, import_react27.useRef)(0);
5890
5890
  const queryClient2 = (0, import_react_query6.useQueryClient)();
5891
5891
  const contactQuery = (0, import_react_query6.useInfiniteQuery)({
5892
- queryKey: ["matchid-contacts-list", type, token],
5892
+ queryKey: ["matchid-contacts-list", type, address],
5893
5893
  initialPageParam: 1,
5894
5894
  queryFn: async (args) => {
5895
5895
  console.log(args);