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

26 lines (25 loc) • 996 B
import { JsonObject, SingleOrArray } from "../../../../types.mjs"; import { W3cVerifiableCredential } from "../credential/W3cVerifiableCredential.mjs"; import { W3cJsonPresentation } from "./W3cJsonPresentation.mjs"; import { W3cHolder, W3cHolderOptions } from "./W3cHolder.mjs"; //#region src/modules/vc/models/presentation/W3cPresentation.d.ts interface W3cPresentationOptions { id?: string; context?: Array<string | JsonObject>; type?: Array<string>; verifiableCredential: SingleOrArray<W3cVerifiableCredential>; holder?: string | W3cHolderOptions; } declare class W3cPresentation { constructor(options: W3cPresentationOptions); context: Array<string | JsonObject>; id?: string; type: Array<string>; holder?: string | W3cHolder; verifiableCredential: SingleOrArray<W3cVerifiableCredential>; get holderId(): string | null; toJSON(): W3cJsonPresentation; } //#endregion export { W3cPresentation, W3cPresentationOptions }; //# sourceMappingURL=W3cPresentation.d.mts.map