import { PublicKey } from '@solana/web3.js' ; import { GetDIDRequest } from '../../lib/util' ; import { get as getDID } from '../../lib/did/get' ; import { DIDDocument } from 'did-resolver' ; param request export const get = async ( request ) : Promise < DIDDocument > => getDID ( new PublicKey ( request . owner ) , request . cluster ) ;