@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/index.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5939,10 +5939,10 @@ function useContactSearch(keyword, options) {
|
|
|
5939
5939
|
});
|
|
5940
5940
|
}
|
|
5941
5941
|
function useContactInfo(options) {
|
|
5942
|
-
const {
|
|
5942
|
+
const { address } = useUserInfo();
|
|
5943
5943
|
return (0, import_react_query6.useQuery)({
|
|
5944
|
-
queryKey: ["matchid-contacts-info",
|
|
5945
|
-
enabled: !!
|
|
5944
|
+
queryKey: ["matchid-contacts-info", address],
|
|
5945
|
+
enabled: !!address,
|
|
5946
5946
|
queryFn: async () => {
|
|
5947
5947
|
return (await getContractsInfoApi()).data;
|
|
5948
5948
|
},
|