smtp-server
Advanced tools
Comparing version 2.0.2 to 2.0.3
# Changelog | ||
## v2.0.3 2017-02-17 | ||
* Expose `secure` state in session | ||
## v2.0.2 2017-02-17 | ||
@@ -4,0 +8,0 @@ |
@@ -59,3 +59,3 @@ 'use strict'; | ||
// If true, then the connection is using TLS | ||
this.secure = !!this._server.options.secure; | ||
this.session.secure = this.secure = !!this._server.options.secure; | ||
@@ -1013,3 +1013,3 @@ this.tlsOptions = this.secure ? this._socket.getCipher() : false; | ||
secureSocket.on('secure', () => { | ||
this.secure = true; | ||
this.session.secure = this.secure = true; | ||
this._socket = secureSocket; | ||
@@ -1016,0 +1016,0 @@ this._upgrading = false; |
{ | ||
"name": "smtp-server", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Create custom SMTP servers on the fly", | ||
@@ -5,0 +5,0 @@ "main": "lib/smtp-server.js", |
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
168622