import { inAppWallet } from "thirdweb/wallets"; const wallet = inAppWallet();wallet.connect({ strategy: "google" }); const profiles = await getProfiles(wallet); console.log(profiles[0].type);console.log(profiles[0].details.email);
function getProfiles( wallet: Wallet<"inApp">,): Promise<Array<Profile>>;
let wallet: Wallet<"inApp">;
let returnType: Promise<Array<Profile>>;
An array of accounts user profiles linked to the current wallet.