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

19 lines • 715 B
//#region src/modules/vc/data-integrity/libraries/jsonld.d.ts interface JsonLd { compact(document: any, context: any, options?: any): any; fromRDF(document: any): any; frame(document: any, revealDocument: any, options?: any): any; canonize(document: any, options?: any): any; expand(document: any, options?: any): any; getValues(document: any, key: string): any; addValue(document: any, key: string, value: any): void; } interface DocumentLoaderResult { contextUrl?: string | null; documentUrl: string; document: Record<string, unknown>; } type DocumentLoader = (url: string) => Promise<DocumentLoaderResult>; //#endregion export { DocumentLoader, JsonLd }; //# sourceMappingURL=jsonld.d.mts.map