@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/components/index.js
CHANGED
|
@@ -6558,10 +6558,10 @@ function useContactSearch(keyword, options) {
|
|
|
6558
6558
|
});
|
|
6559
6559
|
}
|
|
6560
6560
|
function useContactInfo(options) {
|
|
6561
|
-
const {
|
|
6561
|
+
const { address } = useUserInfo();
|
|
6562
6562
|
return (0, import_react_query13.useQuery)({
|
|
6563
|
-
queryKey: ["matchid-contacts-info",
|
|
6564
|
-
enabled: !!
|
|
6563
|
+
queryKey: ["matchid-contacts-info", address],
|
|
6564
|
+
enabled: !!address,
|
|
6565
6565
|
queryFn: async () => {
|
|
6566
6566
|
return (await getContractsInfoApi()).data;
|
|
6567
6567
|
},
|