@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user