Skip to content

Expose noAliases config #14

@Fcmam5

Description

@Fcmam5

We currently have an unused noGmailAliases & noOutlookAliases params. We should consolidate them to a single noAliases param (default to false).

If noAliases === true, validation must fail if the provided email address is different than the normalized one (see getNormalizedAddress)

Test:

const jelban = new Jelban({noGmailAliases: true});

expect(jelban.isValid('[email protected]')).toBeFalsy();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions