Comparing version 1.4.0 to 1.5.0
@@ -19,7 +19,9 @@ export interface SecretKMSConfig { | ||
export interface SecretKMSInstance { | ||
encrypt: (secret: string, keyName: string, version: string | undefined) => Secret; | ||
decrypt: (data: string, keyName: string, version: string | undefined) => string; | ||
encrypt: (secret: any, keyName: string, version?: string) => Secret; | ||
decrypt: (data: string, keyName: string, version?: string) => string; | ||
} | ||
export default (config: SecretKMSConfig) => SecretKMSInstance; | ||
export type SecretKMSSetup = (config: SecretKMSConfig) => SecretKMSInstance; | ||
export default SecretKMSSetup; | ||
{ | ||
"name": "secretkms", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "scripts": { |
20861
427