@incanta/config
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -22,3 +22,3 @@ export interface IConfigOptions { | ||
getWithSecrets<T>(key: string): Promise<T>; | ||
private processSecrets; | ||
processSecrets<T>(v: T): Promise<T>; | ||
normalizeString(value: string, currentPath: string[]): string; | ||
@@ -25,0 +25,0 @@ normalizeArray(arr: any[], currentPath: string[]): any[]; |
{ | ||
"name": "@incanta/config", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -199,3 +199,3 @@ import merge from "lodash.merge"; | ||
private async processSecrets<T>(v: T): Promise<T> { | ||
public async processSecrets<T>(v: T): Promise<T> { | ||
if (typeof v === "string" && v.startsWith("secret|")) { | ||
@@ -202,0 +202,0 @@ const secretKey = v.slice(7); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72753