UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 286 B
import{isEmbeddedWalletAccount as t}from"./embedded-wallets.mjs";const e=e=>e?e.linked_accounts.filter(t).filter(i).sort(((t,e)=>t.wallet_index-e.wallet_index)):[];let i=t=>"bitcoin-segwit"===t.chain_type||"bitcoin-taproot"===t.chain_type;export{e as getAllUserEmbeddedBitcoinWallets};