@logzio-node-toolbox/consul
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -1,2 +0,2 @@ | ||
import ConsulInstance from 'consul'; | ||
import ConsulInstance, { SetOptions } from 'consul'; | ||
@@ -16,7 +16,2 @@ interface AnyObject { | ||
export interface KeyValueOptions { | ||
key?: string; | ||
value: AnyObject | string; | ||
} | ||
export interface ValidateOptions { | ||
@@ -75,3 +70,3 @@ fail?: boolean; | ||
public get(key?: string): AnyObject; | ||
public set(options: KeyValueOptions): void; | ||
public set(options: SetOptions): void; | ||
public setString(options: KeyValueOptions): void; | ||
@@ -78,0 +73,0 @@ public keys(key?: string): AnyObject; |
{ | ||
"name": "@logzio-node-toolbox/consul", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "Consul easy use for json configs and service discovery", | ||
@@ -30,6 +30,4 @@ "main": "dist/index.cjs", | ||
}, | ||
"devDependencies": { | ||
"@types/consul": "0.23.34" | ||
}, | ||
"dependencies": { | ||
"@types/consul": "0.23.34", | ||
"async-retry": "1.3.1", | ||
@@ -36,0 +34,0 @@ "consul": "0.40.0", |
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
0
79812
4
2167
+ Added@types/consul@0.23.34
+ Added@types/consul@0.23.34(transitive)
+ Added@types/node@22.9.1(transitive)
+ Addedundici-types@6.19.8(transitive)