more api cleanup

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-18 14:11:45 +02:00
parent e195112c5c
commit 3f739be9d9
88 changed files with 358 additions and 594 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export type VaultBuilderReturn = {
// @public
export class VaultClient implements VaultApi {
constructor({ config }: { config: Config });
constructor(options: { config: Config });
// (undocumented)
getFrontendSecretsUrl(): string;
// (undocumented)
@@ -79,8 +79,8 @@ export class VaultClient implements VaultApi {
private vaultConfig: VaultConfig;
private readonly limit = plimit(5);
constructor({ config }: { config: Config }) {
this.vaultConfig = getVaultConfig(config);
constructor(options: { config: Config }) {
this.vaultConfig = getVaultConfig(options.config);
}
private async callApi<T>(