@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
20 lines • 873 B
text/typescript
import { DidResolver } from "../../domain/DidResolver.mjs";
import { DidResolutionResult } from "../../types.mjs";
import { AgentContext } from "../../../../agent/context/AgentContext.mjs";
import "../../../../agent/index.mjs";
//#region src/modules/dids/methods/peer/PeerDidResolver.d.ts
export declare class PeerDidResolver implements DidResolver {
readonly supportedMethods: string[];
/**
* No remote resolving done, did document is fetched from storage. To not pollute the cache we don't allow caching
*/
readonly allowsCaching = false;
/**
* Did peer records are often server from local did doucment, but it's easier to handle it in
* the peer did resolver.
*/
readonly allowsLocalDidRecord = false;
resolve(agentContext: AgentContext, did: string): Promise<DidResolutionResult>;
}
//#endregion
//# sourceMappingURL=PeerDidResolver.d.mts.map