imapflow 1.0.77 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +5 -1
- package/lib/imap-flow.js +1 -0
- package/lib/types.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# ImapFlow
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
> Managing IMAP connections is cool but if you are only looking for an easy way to integrate email accounts, then ImapFlow was built for [EmailEngine Email API](https://emailengine.app/). It's a self hosted software that converts all IMAP accounts to easy to use REST interfaces.
|
|
6
|
+
|
|
7
|
+
---
|
|
4
8
|
|
|
5
9
|
The focus for ImapFlow is to provide easy to use API over IMAP. Using ImapFlow does not expect knowledge about specific IMAP details, general understanding is good enough.
|
|
6
10
|
|
package/lib/imap-flow.js
CHANGED
|
@@ -126,6 +126,7 @@ class ImapFlow extends EventEmitter {
|
|
|
126
126
|
* @param {Boolean} [options.logRaw=false] If true then log data read from and written to socket encoded in base64
|
|
127
127
|
* @param {Boolean} [options.emitLogs=false] If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data
|
|
128
128
|
* @param {Boolean} [options.verifyOnly=false] If `true` then logs out automatically after successful authentication
|
|
129
|
+
* @param {Boolean} [options.proxy] Optional proxy URL. Supports HTTP CONNECT (`http://`, `https://`) and SOCKS (`socks://`, `socks4://`, `socks5://`) proxies
|
|
129
130
|
*/
|
|
130
131
|
constructor(options) {
|
|
131
132
|
super();
|
package/lib/types.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare module "imapflow" {
|
|
|
26
26
|
* @param [options.logRaw = false] - If true then log data read from and written to socket encoded in base64
|
|
27
27
|
* @param [options.emitLogs = false] - If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data
|
|
28
28
|
* @param [options.verifyOnly = false] - If `true` then logs out automatically after successful authentication
|
|
29
|
+
* @param [options.proxy] - Optional proxy URL. Supports HTTP CONNECT (`http://`, `https://`) and SOCKS (`socks://`, `socks4://`, `socks5://`) proxies
|
|
29
30
|
*/
|
|
30
31
|
class ImapFlow extends EventEmitter {
|
|
31
32
|
constructor(options: {
|
|
@@ -50,6 +51,7 @@ declare module "imapflow" {
|
|
|
50
51
|
logRaw?: boolean;
|
|
51
52
|
emitLogs?: boolean;
|
|
52
53
|
verifyOnly?: boolean;
|
|
54
|
+
proxy?: boolean;
|
|
53
55
|
});
|
|
54
56
|
/**
|
|
55
57
|
* Current module version as a static class property
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.78",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"main": "./lib/imap-flow.js",
|
|
6
6
|
"scripts": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"libmime": "5.0.0",
|
|
50
50
|
"libqp": "1.1.0",
|
|
51
51
|
"mailsplit": "5.3.1",
|
|
52
|
-
"nodemailer": "6.7.
|
|
52
|
+
"nodemailer": "6.7.2",
|
|
53
53
|
"pino": "7.4.1",
|
|
54
54
|
"socks": "2.6.1"
|
|
55
55
|
}
|