@incanta/config
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -16,2 +16,3 @@ export interface IConfigOptions { | ||
tryGet<T>(key: string): T | null; | ||
getJson(): any; | ||
set<T>(key: string, value: T): void; | ||
@@ -18,0 +19,0 @@ setWithParts<T>(keyParts: string[], value: T): void; |
@@ -145,2 +145,5 @@ "use strict"; | ||
} | ||
getJson() { | ||
return this.values; | ||
} | ||
set(key, value) { | ||
@@ -147,0 +150,0 @@ const parts = key.split("."); |
{ | ||
"name": "@incanta/config", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -185,2 +185,6 @@ import merge from "lodash.merge"; | ||
public getJson(): any { | ||
return this.values; | ||
} | ||
public set<T>(key: string, value: T): void { | ||
@@ -187,0 +191,0 @@ const parts = key.split("."); |
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
37179
663