@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
1 lines • 931 B
Source Map (JSON)
{"version":3,"file":"JsonLdModuleConfig.mjs","names":[],"sources":["../../../../src/modules/vc/jsonld/JsonLdModuleConfig.ts"],"sourcesContent":["import type { DocumentLoaderWithContext } from './documentLoader'\nimport { defaultDocumentLoader } from './documentLoader'\n\nexport interface JsonLdModuleConfigOptions {\n /**\n * Document loader to use for resolving JSON-LD objects.\n *\n * @default {@link defaultDocumentLoader}\n */\n documentLoader?: DocumentLoaderWithContext\n}\n\nexport class JsonLdModuleConfig {\n private options: JsonLdModuleConfigOptions\n\n public constructor(options?: JsonLdModuleConfigOptions) {\n this.options = options ?? {}\n }\n\n public get documentLoader() {\n return this.options.documentLoader ?? defaultDocumentLoader\n }\n}\n"],"mappings":";;AAYA,IAAa,qBAAb,MAAgC;CAG9B,YAAmB,SAAqC;EACtD,KAAK,UAAU,WAAW,CAAC;CAC7B;CAEA,IAAW,iBAAiB;EAC1B,OAAO,KAAK,QAAQ,kBAAkB;CACxC;AACF"}