UNPKG

did-sdk-dev

Version:
25 lines (24 loc) 592 B
import { TProof } from "../utils"; export declare type TDocument = { '@context': string; id: string; version: string; created: string; updated: string; publicKey: { id: string; type: string; publicKeyHex: string; }[]; authentication: string[]; recovery: string[]; service: { id: string; type: string; serviceEndpoint: string; }[]; proof?: TProof; }; export declare const model: { didDodument: (did: string, serviceEndpoint: string, activeKey: any, ownerKey: any, time: Date) => TDocument; };