@hediet/typed-json-rpc-websocket-server
Advanced tools
Comparing version
@@ -9,3 +9,3 @@ "use strict"; | ||
let opts = {}; | ||
if (options.port) { | ||
if (options.port !== undefined) { | ||
opts.port = options.port; | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@hediet/typed-json-rpc-websocket-server", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": { | ||
@@ -22,3 +22,3 @@ "name": "Henning Dieterichs", | ||
"@types/ws": "^6.0.1", | ||
"ws": "^6.1.3" | ||
"ws": "^6.2.0" | ||
}, | ||
@@ -25,0 +25,0 @@ "publishConfig": { |
@@ -11,3 +11,3 @@ import WebSocket = require("ws"); | ||
let opts: WebSocket.ServerOptions = {}; | ||
if (options.port) { | ||
if (options.port !== undefined) { | ||
opts.port = options.port; | ||
@@ -14,0 +14,0 @@ } |
Sorry, the diff of this file is not supported yet
6636
0.58%Updated