Comparing version 0.3.4 to 0.3.5
@@ -0,1 +1,4 @@ | ||
0.3.5 - 2013-11-05 | ||
- Added non strict SSL option in case of missing root certificates | ||
0.3.4 - 2013-08-28 | ||
@@ -15,2 +18,2 @@ - added EJSON support (default is off) with a couple tests | ||
0.3.0 - 2013-03-18 | ||
- moved over to DDP-pre1 | ||
- moved over to DDP-pre1 |
@@ -18,2 +18,3 @@ var WebSocket = require('ws'), | ||
self.auto_reconnect_timer = ('auto_reconnect_timer' in opts) ? opts.auto_reconnect_timer : 500; | ||
self.use_ssl_strict = true; | ||
@@ -235,3 +236,3 @@ // add support for EJSON, off by default to avoid breaking change | ||
var protocol = self.use_ssl ? 'wss://' : 'ws://'; | ||
self.socket = new WebSocket(protocol + self.host + ':' + self.port + '/' + self.path); | ||
self.socket = new WebSocket(protocol + self.host + ':' + self.port + '/' + self.path, {rejectUnauthorized: self.use_ssl_strict}); | ||
self._prepareHandlers(); | ||
@@ -238,0 +239,0 @@ }; |
{ | ||
"name": "ddp", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Node.js module to connect to servers using DDP protocol.", | ||
@@ -40,2 +40,2 @@ "author": "Tom Coleman <tom@thesnail.org> (http://tom.thesnail.org)", | ||
"bugs": "https://github.com/oortcloud/node-ddp-client/issues" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17979
394
96
0