UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

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