From 6434c0ad282173119a0fe057a41857cf6c1ee83b Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Wed, 14 Feb 2018 15:43:02 -0600 Subject: [PATCH] [skip ci] (#194) [FIX] Change for typescript from TlsServerOptions to TlsOptions --- index.d.ts | 2 +- lib/nats.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 15c294cb..3cf387b9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -61,7 +61,7 @@ export interface ClientOpts { servers?: Array, noRandomize?: boolean, encoding?: BufferEncoding, - tls?: boolean | tls.TlsServerOptions, + tls?: boolean | tls.TlsOptions, name?: string, yieldTime?: number, waitOnFirstConnect?: boolean, diff --git a/lib/nats.js b/lib/nats.js index dc84d57c..20625025 100644 --- a/lib/nats.js +++ b/lib/nats.js @@ -21,7 +21,7 @@ var net = require('net'), /** * Constants */ -var VERSION = '0.7.27', +var VERSION = '0.7.29', DEFAULT_PORT = 4222, DEFAULT_PRE = 'nats://localhost:', diff --git a/package.json b/package.json index 5c6b768f..6816eafc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats", - "version": "0.7.27", + "version": "0.7.29", "description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system", "keywords": [ "nats",