mailpit-api 1.5.0 → 1.5.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/README.md +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +18 -11
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mailpit-api)
|
|
4
4
|
[](https://github.com/mpspahr/mailpit-api/actions/workflows/npm-publish.yml)
|
|
5
|
-
[](https://codecov.io/gh/mpspahr/mailpit-api)
|
|
6
6
|
[](https://mpspahr.github.io/mailpit-api/)
|
|
7
7
|
|
|
8
8
|
A TypeScript client for interacting with [Mailpit](https://mailpit.axllent.org/)'s [REST API](https://mailpit.axllent.org/docs/api-v1/view.html#get-/api/v1/info). Ideal for automating your email testing.
|
package/dist/index.d.mts
CHANGED
|
@@ -114,6 +114,8 @@ interface MailpitConfigurationResponse {
|
|
|
114
114
|
Enabled: boolean;
|
|
115
115
|
/** Overrides the "From" address for all relayed messages */
|
|
116
116
|
OverrideFrom: string;
|
|
117
|
+
/** Preserve the original Message-IDs when relaying messages */
|
|
118
|
+
PreserveMessageIDs: boolean;
|
|
117
119
|
/** @deprecated Refer to `AllowedRecipients` instead. No longer documented upstream */
|
|
118
120
|
RecipientAllowlist: string;
|
|
119
121
|
/** Enforced Return-Path (if set) for relay bounces */
|
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,8 @@ interface MailpitConfigurationResponse {
|
|
|
114
114
|
Enabled: boolean;
|
|
115
115
|
/** Overrides the "From" address for all relayed messages */
|
|
116
116
|
OverrideFrom: string;
|
|
117
|
+
/** Preserve the original Message-IDs when relaying messages */
|
|
118
|
+
PreserveMessageIDs: boolean;
|
|
117
119
|
/** @deprecated Refer to `AllowedRecipients` instead. No longer documented upstream */
|
|
118
120
|
RecipientAllowlist: string;
|
|
119
121
|
/** Enforced Return-Path (if set) for relay bounces */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mailpit-api",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "A TypeScript client for interacting with Mailpit's REST API.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/mpspahr/mailpit-api/issues"
|
|
12
12
|
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"registry": "https://registry.npmjs.org/",
|
|
15
|
+
"provenance": true
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18.0.0"
|
|
19
|
+
},
|
|
13
20
|
"main": "dist/index.js",
|
|
14
21
|
"module": "dist/index.mjs",
|
|
15
22
|
"exports": {
|
|
@@ -52,23 +59,23 @@
|
|
|
52
59
|
"author": "Matthew Spahr",
|
|
53
60
|
"license": "MIT",
|
|
54
61
|
"dependencies": {
|
|
55
|
-
"axios": "^1.
|
|
62
|
+
"axios": "^1.10.0"
|
|
56
63
|
},
|
|
57
64
|
"devDependencies": {
|
|
58
|
-
"@eslint/js": "^9.
|
|
59
|
-
"@jest/globals": "^
|
|
60
|
-
"@types/node": "^22.15.
|
|
65
|
+
"@eslint/js": "^9.29.0",
|
|
66
|
+
"@jest/globals": "^30.0.0",
|
|
67
|
+
"@types/node": "^22.15.31",
|
|
61
68
|
"dotenv": "^16.5.0",
|
|
62
|
-
"eslint": "^9.
|
|
63
|
-
"eslint-plugin-jest": "^28.
|
|
64
|
-
"jest": "^
|
|
69
|
+
"eslint": "^9.29.0",
|
|
70
|
+
"eslint-plugin-jest": "^28.14.0",
|
|
71
|
+
"jest": "^30.0.0",
|
|
65
72
|
"prettier": "3.5.3",
|
|
66
|
-
"ts-jest": "^29.
|
|
73
|
+
"ts-jest": "^29.4.0",
|
|
67
74
|
"tsup": "^8.5.0",
|
|
68
|
-
"tsx": "^4.
|
|
75
|
+
"tsx": "^4.20.3",
|
|
69
76
|
"typedoc": "^0.28.5",
|
|
70
77
|
"typedoc-github-theme": "^0.3.0",
|
|
71
78
|
"typescript": "^5.8.3",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.34.0"
|
|
73
80
|
}
|
|
74
81
|
}
|