Releases: bormando/gmail-getter
2.3.1
Resolved audit issues caused by these:
2.3.0
Previously, checkInbox returned a union type - Email | Email[] | null and it has to be then casted into preferable type (f.e., Email).
From now on, this function returns either Email or Email[], depending on all option.
Also updated packages and resolved audit issues.
2.2.0
We're getting rid of some logs noise in this update.
Now you can use logs param in checkInbox function to control whether you want unsuccessful email fetch attempts to be logged or not.
Previously, these logs appeared almost all the time, because it usually takes some time for email to appear in your inbox.
2.1.0
A couple of things to highlight:
- Removed
findElementByRegexpas it did whatparseHtmlFromEmaildoes plus regex search. Basically, end user can simply useparseHtmlFromEmailand find what they need from its output by regex. - Updated README and jsdoc.
- Updated dependencies - resolved all npm audit issues.
- Adjusted error tracing - the errors now are more descriptive. More logs added as well.
Bumping version to 2.1.0, instead of 3.0.0, as it's a maintenance update mostly (though a breaking chance introduced -- removed one of the helpers).
2.0.0
This is a quality update mostly.
It provides:
- updated function names for better comprehension
- eslint integration
- improved error tracing
- up-to-date README
- ability to select if you want to fetch a single email or multiple emails.
It is a major release, which will break existing integrations of this package.