mail-time 4.1.0 → 5.0.0
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/README.md +70 -18
- package/helpers.js +19 -0
- package/index.cjs +442 -119
- package/index.d.cts +50 -7
- package/index.d.ts +50 -7
- package/index.js +423 -118
- package/package.json +19 -4
- package/presets.js +2 -2
package/package.json
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mail-time",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "📮 Email queue extending nodemailer with multi-SMTP transports and horizontally scaled apps support",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"adapters/mongo.d.ts",
|
|
10
|
+
"adapters/mongo.js",
|
|
11
|
+
"adapters/postgres.d.ts",
|
|
12
|
+
"adapters/postgres.js",
|
|
13
|
+
"adapters/redis.d.ts",
|
|
14
|
+
"adapters/redis.js",
|
|
15
|
+
"helpers.js",
|
|
16
|
+
"index.cjs",
|
|
17
|
+
"index.d.cts",
|
|
18
|
+
"index.d.ts",
|
|
19
|
+
"index.js",
|
|
20
|
+
"presets.d.ts",
|
|
21
|
+
"presets.js"
|
|
22
|
+
],
|
|
8
23
|
"exports": {
|
|
9
24
|
".": {
|
|
10
25
|
"import": {
|
|
@@ -125,16 +140,16 @@
|
|
|
125
140
|
}
|
|
126
141
|
},
|
|
127
142
|
"dependencies": {
|
|
128
|
-
"josk": "^6.
|
|
143
|
+
"josk": "^6.3.0"
|
|
129
144
|
},
|
|
130
145
|
"devDependencies": {
|
|
131
146
|
"@jest/globals": "^30.4.1",
|
|
132
147
|
"@types/node": "^25.9.0",
|
|
133
148
|
"chai": "^6.2.2",
|
|
134
149
|
"jest": "^30.4.2",
|
|
135
|
-
"mocha": "^11.
|
|
150
|
+
"mocha": "^11.8.0",
|
|
136
151
|
"mongodb": "^7.2.0",
|
|
137
|
-
"nodemailer": "^
|
|
152
|
+
"nodemailer": "^9.0.5",
|
|
138
153
|
"pg": "^8.21.0",
|
|
139
154
|
"redis": "^5.12.1",
|
|
140
155
|
"rollup": "^4.60.4",
|
package/presets.js
CHANGED
|
@@ -73,7 +73,7 @@ const PRESETS = Object.freeze({
|
|
|
73
73
|
retries: 5,
|
|
74
74
|
retryDelay: 2000,
|
|
75
75
|
revolvingInterval: 1024,
|
|
76
|
-
sendingTimeout:
|
|
76
|
+
sendingTimeout: 120_000,
|
|
77
77
|
mode: 'batch',
|
|
78
78
|
concurrency: 4,
|
|
79
79
|
onError: defaultPresetOnError,
|
|
@@ -126,7 +126,7 @@ const PRESETS = Object.freeze({
|
|
|
126
126
|
retries: 20,
|
|
127
127
|
retryDelay: 5000,
|
|
128
128
|
revolvingInterval: 1024,
|
|
129
|
-
sendingTimeout:
|
|
129
|
+
sendingTimeout: 120_000,
|
|
130
130
|
mode: 'batch',
|
|
131
131
|
concurrency: 2,
|
|
132
132
|
onError: defaultPresetOnError,
|