UNPKG

iso-did

Version:

Isomorphic did core and did key tooling

31 lines 739 B
/** * @typedef {import('./types').DIDURLObject} DIDURLObject */ /** * DID Core * * @implements {DIDURLObject} */ export class DIDCore implements DIDURLObject { /** * Create a DIDCore from a DID string * * @param {string} did */ static fromString(did: string): DIDCore; /** * * @param {DIDURLObject} parsed */ constructor(parsed: DIDURLObject); did: import("./types").DID; didUrl: import("./types").DIDURL; method: string; id: string; path: string | undefined; fragment: string | undefined; query: string | undefined; toString(): import("./types").DIDURL; } export type DIDURLObject = import("./types").DIDURLObject; //# sourceMappingURL=core.d.ts.map