Comparing version 0.27.0 to 0.28.0
@@ -219,2 +219,3 @@ /** | ||
dst.HTTP = src.http; | ||
if (src.hasOwnProperty('tlsskipverify')) dst.TLSSkipVerify = src.tlsskipverify; | ||
} else if (src.tcp){ | ||
@@ -221,0 +222,0 @@ dst.TCP = src.tcp; |
{ | ||
"name": "consul", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"description": "Consul client", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
@@ -502,2 +502,3 @@ # Consul [![Build Status](https://travis-ci.org/silas/node-consul.png?branch=master)](https://travis-ci.org/silas/node-consul) | ||
* http (String): url to test, 2xx passes, 429 warns, and all others fail | ||
* tlsskipverify (Boolean, default: false): skip HTTPS verification | ||
* tcp (String): host:port to test, passes if connection is established, fails otherwise | ||
@@ -1918,3 +1919,3 @@ * script (String): path to check script, requires interval | ||
``` javascript | ||
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' }); | ||
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' }}); | ||
@@ -1921,0 +1922,0 @@ watch.on('change', function(data, res) { |
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
117085
2346
2001