@s25digital/aa-central-registry
Version:
A package to work with Sahamati Central Registry in AA ecosystem
15 lines (12 loc) • 416 B
TypeScript
import { Axios } from "axios";
import { ICache } from "./cache";
import CentralRegistry from "./client";
interface IOptions {
cache?: ICache;
loggerLevel?: "debug" | "info" | "error" | "silent";
httpClient?: Axios
}
export default function getCRClient(options?: IOptions): CentralRegistry;
export function getRedisCache(url: string): Promise<ICache>;
export * from "./client";
export * from "./cache";