import { getProfiles } from "thirdweb/wallets";
const profiles = await getProfiles({
client,
});
console.log(profiles[0].type); // will be "email", "phone", "google", "discord", etc
console.log(profiles[0].details.email);
console.log(profiles[0].details.phone);