smtp-server-as-promised
Advanced tools
Comparing version 2.0.3 to 2.0.4
# Changelog | ||
## v2.0.4 2017-10-24 | ||
* Typescript: typings from DefinitelyTyped. | ||
## v2.0.3 2017-10-20 | ||
@@ -4,0 +8,0 @@ |
/// <reference types="node" /> | ||
/// <reference types="nodemailer" /> | ||
/// <reference types="smtp-server" /> | ||
@@ -3,0 +5,0 @@ import * as net from 'net' |
@@ -19,4 +19,4 @@ 'use strict' | ||
options.onAuth = (auth, session, callback) => promise(auth, session) | ||
.then((response) => callback(null, response)) | ||
.catch((err) => callback(err)) | ||
.then((response) => callback(null, response)) | ||
.catch((err) => callback(err)) | ||
} | ||
@@ -23,0 +23,0 @@ if (options.onMailFrom) { |
{ | ||
"name": "smtp-server-as-promised", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Promisify smtp-server module", | ||
@@ -30,4 +30,5 @@ "main": "lib/smtp-server-as-promised.js", | ||
"devDependencies": { | ||
"@types/node": "^8.0.46", | ||
"@types/nodemailer": "^4.1.0", | ||
"@types/node": "^8.0.47", | ||
"@types/nodemailer": "^4.2.0", | ||
"@types/smtp-server": "^3.3.0", | ||
"chai": "^4.1.2", | ||
@@ -34,0 +35,0 @@ "chai-as-promised": "^7.1.1", |
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
13942
129
11