@@ -5,7 +5,6 @@ import { ExpirableValue } from './ExpirableValue';
55import { TRANSFORM_METHOD_BINARY , TRANSFORM_METHOD_JSON } from './constants' ;
66import { GetParameterError , TransformParameterError } from './Exceptions' ;
77import type { BaseProviderInterface , GetMultipleOptionsInterface , GetOptionsInterface , TransformOptions } from './types' ;
8- import type { SecretsGetOptionsInterface } from './types/SecretsProvider' ;
98
109// These providers are dinamycally intialized on first use of the helper functions
1110const DEFAULT_PROVIDERS : Record < string , BaseProvider > = { } ;
@@ -39,9 +38,8 @@ abstract class BaseProvider implements BaseProviderInterface {
3938 * this should be an acceptable tradeoff.
4039 *
4140 * @param {string } name - Parameter name
42- * @param {GetOptionsInterface|SecretsGetOptionsInterface } options - Options to configure maximum age, trasformation, AWS SDK options, or force fetch
41+ * @param {GetOptionsInterface } options - Options to configure maximum age, trasformation, AWS SDK options, or force fetch
4342 */
44- public async get ( name : string , options ?: SecretsGetOptionsInterface ) : Promise < undefined | string | Uint8Array | Record < string , unknown > > ;
4543 public async get ( name : string , options ?: GetOptionsInterface ) : Promise < undefined | string | Uint8Array | Record < string , unknown > > {
4644 const configs = new GetOptions ( options ) ;
4745 const key = [ name , configs . transform ] . toString ( ) ;
0 commit comments