Comparing version 1.0.18 to 1.0.19
@@ -86,3 +86,2 @@ 'use strict'; | ||
} catch (err) { | ||
console.log(err); | ||
if (err.code === 'ENOTFOUND' || err.code === 'ENODATA') { | ||
@@ -101,2 +100,3 @@ continue; | ||
response.status.header.d = d.split('._bimi.').pop(); | ||
response.rr = record; | ||
break; | ||
@@ -103,0 +103,0 @@ } else if (txt) { |
@@ -132,2 +132,5 @@ 'use strict'; | ||
status.header = status.header || {}; | ||
status.header.d = domain.split('_dmarc.').pop(); | ||
status.comment = [] | ||
@@ -134,0 +137,0 @@ .concat(dmarcRecord.p ? `p=${dmarcRecord.p.toUpperCase()}` : []) |
{ | ||
"name": "mailauth", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "Email authentication library for Node.js", | ||
@@ -31,3 +31,3 @@ "main": "lib/mailauth.js", | ||
"chai": "4.2.0", | ||
"eslint": "7.13.0", | ||
"eslint": "7.14.0", | ||
"eslint-config-nodemailer": "1.2.0", | ||
@@ -34,0 +34,0 @@ "eslint-config-prettier": "6.15.0", |
228967
3682