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

31 lines • 1.58 kB
import { JsonLd, jsonld_d_exports } from "./jsonld.mjs"; import { defaultDocumentLoader } from "./documentLoader.mjs"; import { JsonLdModuleConfig, JsonLdModuleConfigOptions } from "./JsonLdModuleConfig.mjs"; import { jsonld_signatures_adapter_d_exports } from "../linked-data-proofs/adapters/jsonld-signatures-adapter.mjs"; import { VC, W3cVerifyCredentialResult, W3cVerifyPresentationResult, vc_adapter_d_exports } from "../linked-data-proofs/adapters/vc-adapter.mjs"; import { JsonLdModule } from "./JsonLdModule.mjs"; //#region src/modules/vc/jsonld/index.d.ts export declare const vcLibraries: { jsonldSignatures: typeof jsonld_signatures_adapter_d_exports; 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; default: JsonLd; }; vc: { issue(options: any): Promise<Record<string, unknown>>; verifyCredential(options: any): Promise<W3cVerifyCredentialResult>; createPresentation(options: any): Promise<Record<string, unknown>>; signPresentation(options: any): Promise<Record<string, unknown>>; verify(options: any): Promise<W3cVerifyPresentationResult>; default: VC; }; }; //#endregion export { JsonLdModule, JsonLdModuleConfig, JsonLdModuleConfigOptions, defaultDocumentLoader }; //# sourceMappingURL=index.d.mts.map