@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.
- package/dist/{chunk-2Q5NZXUB.mjs → chunk-WNDUHFQX.mjs} +6 -4
- package/dist/chunk-WNDUHFQX.mjs.map +1 -0
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +5 -3
- 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 +3 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-qKVfqZ0X.d.ts → index-C7a1Hfcx.d.ts} +1 -1
- package/dist/{index-CBDXC17Y.d.mts → index-CaMDtQcV.d.mts} +5 -1
- package/dist/{index-DgPcDFXk.d.ts → index-DQjZSiFX.d.ts} +1 -1
- package/dist/{index-D5ql_Egx.d.mts → index-Dee6qqWc.d.mts} +1 -1
- package/dist/{index-ijV5Kx6q.d.ts → index-DqIQL1Es.d.ts} +5 -1
- package/dist/{index-DjctI-Fl.d.mts → index-rk7ZjmRF.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/ui/index.d.mts +2 -2
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +3 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2Q5NZXUB.mjs.map +0 -1
package/dist/hooks/api/index.js
CHANGED
|
@@ -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 {
|
|
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,
|
|
1778
|
+
queryKey: ["matchid-contacts-list", type, address],
|
|
1779
1779
|
initialPageParam: 1,
|
|
1780
1780
|
queryFn: async (args) => {
|
|
1781
1781
|
console.log(args);
|