UNPKG

@originvault/ov-id-sdk

Version:

A TypeScript SDK for managing decentralized identities (DIDs) and verifiable credentials (VCs)

12 lines 345 B
import { userAgent } from './userAgent.js'; export async function resolveDID(did) { try { const resolvedDid = await userAgent?.resolveDid({ didUrl: did }); return resolvedDid; } catch (error) { console.error("❌ Error resolving DID:", error); throw error; } } //# sourceMappingURL=resolver.js.map