UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 235 B
"use strict";var e=require("./embedded-wallets.js");exports.getAllUserEmbeddedSolanaWallets=l=>l?l.linked_accounts.filter(e.isEmbeddedWalletAccount).filter((e=>"solana"===e.chain_type)).sort(((e,l)=>e.wallet_index-l.wallet_index)):[];