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

25 lines (24 loc) • 834 B
import { LogLevel, Logger } from "../logger/Logger.mjs"; import { InitConfig } from "../types.mjs"; import { AgentDependencies } from "./AgentDependencies.mjs"; //#region src/agent/AgentConfig.d.ts declare class AgentConfig { private initConfig; logger: Logger; readonly agentDependencies: AgentDependencies; constructor(initConfig: InitConfig, agentDependencies: AgentDependencies); get allowInsecureHttpUrls(): boolean; get autoUpdateStorageOnStartup(): boolean; get validitySkewSeconds(): number; extend(config: Partial<InitConfig>): AgentConfig; toJSON(): { logger: LogLevel; agentDependencies: boolean; autoUpdateStorageOnStartup?: boolean; allowInsecureHttpUrls?: boolean; validitySkewSeconds?: number; }; } //#endregion export { AgentConfig }; //# sourceMappingURL=AgentConfig.d.mts.map