{"version":3,"file":"SdJwtVcModule.mjs","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":["import type { DependencyManager, Module } from '../../plugins'\nimport { SdJwtVcRepository } from './repository'\nimport { SdJwtVcApi } from './SdJwtVcApi'\nimport { SdJwtVcModuleConfig, type SdJwtVcModuleConfigOptions } from './SdJwtVcModuleConfig'\nimport { SdJwtVcService } from './SdJwtVcService'\n\n/**\n * @public\n */\nexport class SdJwtVcModule implements Module {\n  public readonly config: SdJwtVcModuleConfig\n\n  public readonly api = SdJwtVcApi\n\n  public constructor(options?: SdJwtVcModuleConfigOptions) {\n    this.config = new SdJwtVcModuleConfig(options)\n  }\n\n  /**\n   * Registers the dependencies of the sd-jwt-vc module on the dependency manager.\n   */\n  public register(dependencyManager: DependencyManager) {\n    // Config\n    dependencyManager.registerInstance(SdJwtVcModuleConfig, this.config)\n\n    // Services\n    dependencyManager.registerSingleton(SdJwtVcService)\n\n    // Repositories\n    dependencyManager.registerSingleton(SdJwtVcRepository)\n  }\n}\n"],"mappings":";;;;;;;;;;;;AASA,IAAa,gBAAb,MAA6C;CAK3C,AAAO,YAAY,SAAsC;OAFzC,MAAM;AAGpB,OAAK,SAAS,IAAI,oBAAoB,QAAQ;;;;;CAMhD,AAAO,SAAS,mBAAsC;AAEpD,oBAAkB,iBAAiB,qBAAqB,KAAK,OAAO;AAGpE,oBAAkB,kBAAkB,eAAe;AAGnD,oBAAkB,kBAAkB,kBAAkB"}