@matchain/matchid-sdk-react 0.1.53-alpha.26 → 0.1.53-alpha.27
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-L6N4WRWG.mjs → chunk-ZPBHHXEE.mjs} +4 -4
- package/dist/{chunk-L6N4WRWG.mjs.map → chunk-ZPBHHXEE.mjs.map} +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js +3 -3
- 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 +3 -3
- 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/example/src/App.tsx +0 -6
- package/package.json +1 -1
package/dist/hooks/api/index.js
CHANGED
|
@@ -1827,10 +1827,10 @@ function useContactSearch(keyword, options) {
|
|
|
1827
1827
|
});
|
|
1828
1828
|
}
|
|
1829
1829
|
function useContactInfo(options) {
|
|
1830
|
-
const {
|
|
1830
|
+
const { address } = useUserInfo();
|
|
1831
1831
|
return (0, import_react_query13.useQuery)({
|
|
1832
|
-
queryKey: ["matchid-contacts-info",
|
|
1833
|
-
enabled: !!
|
|
1832
|
+
queryKey: ["matchid-contacts-info", address],
|
|
1833
|
+
enabled: !!address,
|
|
1834
1834
|
queryFn: async () => {
|
|
1835
1835
|
return (await getContractsInfoApi()).data;
|
|
1836
1836
|
},
|