UNPKG

@lodestar/api

Version:

A Typescript REST client for the Ethereum Consensus API

12 lines 493 B
import { HttpClient } from "../utils/client/index.js"; import * as keymanager from "./client.js"; export { DeleteRemoteKeyStatus, DeletionStatus, ImportRemoteKeyStatus, ImportStatus } from "./routes.js"; /** * REST HTTP client for keymanager routes */ export function getClient(opts, modules) { const { config } = modules; const httpClient = modules.httpClient ?? new HttpClient(opts, modules); return keymanager.getClient(config, httpClient); } //# sourceMappingURL=index.js.map