@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.
- package/dist/{chunk-ZOBAUYIZ.mjs → chunk-WNDUHFQX.mjs} +3 -3
- package/dist/{chunk-ZOBAUYIZ.mjs.map → chunk-WNDUHFQX.mjs.map} +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
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 {
|
|
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,
|
|
5892
|
+
queryKey: ["matchid-contacts-list", type, address],
|
|
5893
5893
|
initialPageParam: 1,
|
|
5894
5894
|
queryFn: async (args) => {
|
|
5895
5895
|
console.log(args);
|