@allthings/sdk
Advanced tools
Comparing version 6.2.0-1 to 6.2.0-2
@@ -8,5 +8,6 @@ import { DEFAULT_CLIENT_CONFIG as DEFAULT_PARAMETER_STORE_CLIENT_CONFIG, IParameterStore } from './parameterStore'; | ||
parameterStore: (userConfig: IParameterStore) => { | ||
getSecret: (param: string) => Promise<string>; | ||
getSecret: (param: string, defaultValue?: string | undefined) => Promise<string>; | ||
getSecrets: (params: string[], defaultValue?: string | undefined) => Promise<string[]>; | ||
}; | ||
}; | ||
export default _default; |
@@ -1,5 +0,4 @@ | ||
import { SSMClientConfig } from '@aws-sdk/client-ssm'; | ||
import { SSMClient, SSMClientConfig } from '@aws-sdk/client-ssm'; | ||
export interface IParameterStore { | ||
clientConfig?: SSMClientConfig; | ||
defaultValue?: string; | ||
logger?: (message: string) => void; | ||
@@ -10,5 +9,8 @@ onlyDefault?: boolean; | ||
export declare const DEFAULT_CLIENT_CONFIG: IParameterStore; | ||
declare const getSecrets: (ssm: SSMClient, config: IParameterStore, params: string[], defaultValue?: string) => Promise<string[]>; | ||
declare const getSecret: (ssm: SSMClient, config: IParameterStore, param: string, defaultValue?: string) => Promise<string>; | ||
declare const parameterStore: (userConfig: IParameterStore) => { | ||
getSecret: (param: string) => Promise<string>; | ||
getSecret: (param: string, defaultValue?: string) => Promise<string>; | ||
getSecrets: (params: string[], defaultValue?: string) => Promise<string[]>; | ||
}; | ||
export default parameterStore; |
{ | ||
"name": "@allthings/sdk", | ||
"version": "6.2.0-1", | ||
"version": "6.2.0-2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Allthings GmbH", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
942273
37902
12