UNPKG

@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

25 lines (24 loc) • 855 B
import { JsonObject, JsonValue } from "../../../types.mjs"; import "./models/W3cJsonLdVerifiableCredential.mjs"; import "./models/GetProofsOptions.mjs"; import "./models/GetProofsResult.mjs"; import "./models/GetTypeOptions.mjs"; //#region src/modules/vc/data-integrity/jsonldUtil.d.ts type JsonLdDoc = Record<string, unknown>; interface VerificationMethod extends JsonObject { id: string; [key: string]: JsonValue; } interface Proof extends JsonObject { verificationMethod: string | VerificationMethod; [key: string]: JsonValue; } interface DocumentLoaderResult { contextUrl?: string | null; documentUrl: string; document: Record<string, unknown>; } type DocumentLoader = (url: string) => Promise<DocumentLoaderResult>; //#endregion export { DocumentLoader, JsonLdDoc, Proof, VerificationMethod }; //# sourceMappingURL=jsonldUtil.d.mts.map