@postalsys/email-ai-tools 2.4.3 → 3.0.1
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 +18 -0
- package/README.md +1 -1
- package/dist/cjs/package-info.d.ts +1 -1
- package/dist/cjs/package-info.js +1 -1
- package/dist/esm/package-info.d.ts +1 -1
- package/dist/esm/package-info.js +1 -1
- package/package.json +14 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.0.1](https://github.com/postalsys/email-ai-tools/compare/v3.0.0...v3.0.1) (2026-11-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update dependencies ([e914d06](https://github.com/postalsys/email-ai-tools/commit/e914d060141ec2eef0666759527113360064a4ad))
|
|
9
|
+
|
|
10
|
+
## [3.0.0](https://github.com/postalsys/email-ai-tools/compare/v2.4.3...v3.0.0) (2026-11-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* Node.js 22.22.2, 24.15.0 or newer is required (engines.node ^22.22.2 || ^24.15.0 || >=26.0.0).
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* require Node.js 22, move to undici 8 and email-text-tools 3 ([f8cd424](https://github.com/postalsys/email-ai-tools/commit/f8cd424e977c03b3451142280064e735554163c1))
|
|
20
|
+
|
|
3
21
|
## [2.4.3](https://github.com/postalsys/email-ai-tools/compare/v2.4.2...v2.4.3) (2026-11-10)
|
|
4
22
|
|
|
5
23
|
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Summarize and risk-score email messages with an OpenAI-compatible chat model. Th
|
|
|
8
8
|
npm install @postalsys/email-ai-tools
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Node.js
|
|
11
|
+
Node.js 22.22.2, 24.15.0 or later, no native dependencies. Ships ES module and CommonJS builds with type declarations: `import { generateSummary } from '@postalsys/email-ai-tools'` and `require('@postalsys/email-ai-tools')` both work.
|
|
12
12
|
|
|
13
13
|
## generateSummary(message, apiToken, options)
|
|
14
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@postalsys/email-ai-tools";
|
|
2
|
-
export declare const version = "
|
|
2
|
+
export declare const version = "3.0.1";
|
package/dist/cjs/package-info.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@postalsys/email-ai-tools";
|
|
2
|
-
export declare const version = "
|
|
2
|
+
export declare const version = "3.0.1";
|
package/dist/esm/package-info.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postalsys/email-ai-tools",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Summarize and risk-score email messages with an OpenAI-compatible chat model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -76,26 +76,30 @@
|
|
|
76
76
|
},
|
|
77
77
|
"homepage": "https://github.com/postalsys/email-ai-tools#readme",
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@types/node": "20.
|
|
79
|
+
"@types/node": "22.20.5",
|
|
80
80
|
"c8": "12.0.0",
|
|
81
|
-
"eslint": "10.
|
|
81
|
+
"eslint": "10.15.0",
|
|
82
82
|
"eslint-config-prettier": "10.1.8",
|
|
83
83
|
"globals": "17.14.0",
|
|
84
|
-
"mailparser": "3.14.
|
|
85
|
-
"prettier": "3.
|
|
84
|
+
"mailparser": "3.14.4",
|
|
85
|
+
"prettier": "3.10.1",
|
|
86
86
|
"typescript": "6.0.3",
|
|
87
87
|
"typescript-eslint": "8.72.2"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@postalsys/email-text-tools": "
|
|
90
|
+
"@postalsys/email-text-tools": "3.0.1",
|
|
91
91
|
"dom-serializer": "2.0.0",
|
|
92
92
|
"domutils": "3.2.2",
|
|
93
93
|
"htmlparser2": "10.1.0",
|
|
94
|
-
"libmime": "5.6.
|
|
95
|
-
"tldts": "7.4
|
|
96
|
-
"undici": "
|
|
94
|
+
"libmime": "5.6.5",
|
|
95
|
+
"tldts": "7.5.4",
|
|
96
|
+
"undici": "8.12.4"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
|
-
"node": ">=
|
|
99
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
100
|
+
},
|
|
101
|
+
"overrides": {
|
|
102
|
+
"glob": "14.0.6",
|
|
103
|
+
"minimatch": "11.0.8"
|
|
100
104
|
}
|
|
101
105
|
}
|