UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 250 B
const e=e=>e?e.linked_accounts.filter(t).sort(((e,t)=>e.wallet_index-t.wallet_index)):[];let t=e=>"wallet"===e.type&&"privy"===e.wallet_client_type&&"embedded"===e.connector_type&&"solana"===e.chain_type;export{e as getAllUserEmbeddedSolanaWallets};