mailpit-api 1.3.0 → 1.3.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/dist/cjs/index.d.ts +11 -0
- package/dist/mjs/index.d.ts +11 -0
- package/package.json +7 -8
- package/src/index.ts +11 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -138,6 +138,17 @@ export interface MailpitMessageSummaryResponse {
|
|
|
138
138
|
ID: string;
|
|
139
139
|
/** Inline message attachements */
|
|
140
140
|
Inline: MailpitEmailAddressResponse[];
|
|
141
|
+
/** ListUnsubscribe contains a summary of List-Unsubscribe & List-Unsubscribe-Post headers including validation of the link structure */
|
|
142
|
+
ListUnsubscribe: {
|
|
143
|
+
/** Validation errors (if any) */
|
|
144
|
+
Errors: string;
|
|
145
|
+
/** List-Unsubscrobe header value */
|
|
146
|
+
Header: string;
|
|
147
|
+
/** List-Unsubscribe-Post valie (if set) */
|
|
148
|
+
HeaderPost: string;
|
|
149
|
+
/** Detected links, maximum one email and one HTTP(S) link */
|
|
150
|
+
Links: string[];
|
|
151
|
+
};
|
|
141
152
|
/** Message ID */
|
|
142
153
|
MessageID: string;
|
|
143
154
|
/** ReplyTo addresses */
|
package/dist/mjs/index.d.ts
CHANGED
|
@@ -138,6 +138,17 @@ export interface MailpitMessageSummaryResponse {
|
|
|
138
138
|
ID: string;
|
|
139
139
|
/** Inline message attachements */
|
|
140
140
|
Inline: MailpitEmailAddressResponse[];
|
|
141
|
+
/** ListUnsubscribe contains a summary of List-Unsubscribe & List-Unsubscribe-Post headers including validation of the link structure */
|
|
142
|
+
ListUnsubscribe: {
|
|
143
|
+
/** Validation errors (if any) */
|
|
144
|
+
Errors: string;
|
|
145
|
+
/** List-Unsubscrobe header value */
|
|
146
|
+
Header: string;
|
|
147
|
+
/** List-Unsubscribe-Post valie (if set) */
|
|
148
|
+
HeaderPost: string;
|
|
149
|
+
/** Detected links, maximum one email and one HTTP(S) link */
|
|
150
|
+
Links: string[];
|
|
151
|
+
};
|
|
141
152
|
/** Message ID */
|
|
142
153
|
MessageID: string;
|
|
143
154
|
/** ReplyTo addresses */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mailpit-api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A NodeJS client library, written in TypeScript, to interact with the Mailpit API.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,20 +35,19 @@
|
|
|
35
35
|
"author": "Matthew Spahr",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"axios": "^1.
|
|
38
|
+
"axios": "^1.9.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@eslint/js": "^9.
|
|
42
|
-
"@types/
|
|
43
|
-
"
|
|
44
|
-
"eslint": "^9.25.1",
|
|
41
|
+
"@eslint/js": "^9.27.0",
|
|
42
|
+
"@types/node": "^22.15.18",
|
|
43
|
+
"eslint": "^9.27.0",
|
|
45
44
|
"jest": "^29.7.0",
|
|
46
45
|
"prettier": "3.5.3",
|
|
47
46
|
"tsx": "^4.19.4",
|
|
48
|
-
"typedoc": "^0.28.
|
|
47
|
+
"typedoc": "^0.28.4",
|
|
49
48
|
"typedoc-github-wiki-theme": "^2.1.0",
|
|
50
49
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
51
50
|
"typescript": "^5.8.3",
|
|
52
|
-
"typescript-eslint": "^8.
|
|
51
|
+
"typescript-eslint": "^8.32.1"
|
|
53
52
|
}
|
|
54
53
|
}
|
package/src/index.ts
CHANGED
|
@@ -156,6 +156,17 @@ export interface MailpitMessageSummaryResponse {
|
|
|
156
156
|
ID: string;
|
|
157
157
|
/** Inline message attachements */
|
|
158
158
|
Inline: MailpitEmailAddressResponse[];
|
|
159
|
+
/** ListUnsubscribe contains a summary of List-Unsubscribe & List-Unsubscribe-Post headers including validation of the link structure */
|
|
160
|
+
ListUnsubscribe: {
|
|
161
|
+
/** Validation errors (if any) */
|
|
162
|
+
Errors: string;
|
|
163
|
+
/** List-Unsubscrobe header value */
|
|
164
|
+
Header: string;
|
|
165
|
+
/** List-Unsubscribe-Post valie (if set) */
|
|
166
|
+
HeaderPost: string;
|
|
167
|
+
/** Detected links, maximum one email and one HTTP(S) link */
|
|
168
|
+
Links: string[];
|
|
169
|
+
};
|
|
159
170
|
/** Message ID */
|
|
160
171
|
MessageID: string;
|
|
161
172
|
/** ReplyTo addresses */
|