UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 173 B
"use strict";exports.isCrossAppWalletSmart=function(s,t){return s.linked_accounts.filter((s=>"cross_app"===s.type)).flatMap((s=>s.smart_wallets)).some((s=>s.address===t))};