@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
21 lines (20 loc) • 802 B
text/typescript
import { DidResolutionOptions, DidResolutionResult, ParsedDid } from "../types.mjs";
import { AgentContext } from "../../../agent/context/AgentContext.mjs";
import "../../../agent/index.mjs";
//#region src/modules/dids/domain/DidResolver.d.ts
interface DidResolver {
readonly supportedMethods: string[];
readonly allowsCaching: boolean;
/**
* Whether the resolver allows using a local created did document from
* a did record to resolve the did document.
*
* @default false
* @todo make required in 0.6.0
*/
readonly allowsLocalDidRecord?: boolean;
resolve(agentContext: AgentContext, did: string, parsed: ParsedDid, didResolutionOptions: DidResolutionOptions): Promise<DidResolutionResult>;
}
//#endregion
export { DidResolver };
//# sourceMappingURL=DidResolver.d.mts.map