@sebastianfoth/email-address-existence
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export { EmailValidationStatus } from './email-validation-status.enum'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './enums'; | ||
export * from './interfaces'; | ||
export { EmailAddressExistenceService } from './services/email-address-existence.service'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface EmailAddressExistenceOptions { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export { EmailAddressExistenceOptions } from './email-address-existence-options.interface'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { EmailAddressExistenceOptions } from '../interfaces'; |
@@ -81,11 +81,11 @@ "use strict"; | ||
if (response.startsWith('550')) { | ||
resolve(enums_1.EmailValidationStatus.NOT_FOUND); | ||
return resolve(enums_1.EmailValidationStatus.NOT_FOUND); | ||
} | ||
/* */ | ||
if (response.startsWith('553')) { | ||
resolve(enums_1.EmailValidationStatus.INVALID_SYNTAX); | ||
return resolve(enums_1.EmailValidationStatus.INVALID_SYNTAX); | ||
} | ||
/* */ | ||
if (response.startsWith('554')) { | ||
resolve(enums_1.EmailValidationStatus.BLOCKED_BY_PROVIDER); | ||
return resolve(enums_1.EmailValidationStatus.BLOCKED_BY_PROVIDER); | ||
} | ||
@@ -92,0 +92,0 @@ }); |
{ | ||
"name": "@sebastianfoth/email-address-existence", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A library written in Typescript which tries to check if an email address really exists", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/sebastianfoth/email-address-existence", |
@@ -0,0 +0,0 @@ # About |
12558