mailpit-api 1.5.1 → 1.5.2

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/index.d.mts CHANGED
@@ -171,6 +171,8 @@ interface MailpitMessageSummaryResponse {
171
171
  Text: string;
172
172
  /** To addresses */
173
173
  To: MailpitEmailAddressResponse[];
174
+ /** Username used for authentication (if provided) with the SMTP or {@link MailpitClient.sendMessage| sendMessage} */
175
+ Username?: string;
174
176
  }
175
177
  /** Response for the {@link MailpitClient.listMessages| listMessages()} API containing the summary of multiple messages. */
176
178
  interface MailpitMessagesSummaryResponse {
@@ -204,6 +206,8 @@ interface MailpitMessagesSummaryResponse {
204
206
  Tags: string[];
205
207
  /** To addresses */
206
208
  To: MailpitEmailAddressResponse[];
209
+ /** Username used for authentication (if provided) with the SMTP or {@link MailpitClient.sendMessage| sendMessage} */
210
+ Username?: string;
207
211
  }[];
208
212
  /** Total number of messages matching the current query */
209
213
  messages_count: number;
package/dist/index.d.ts CHANGED
@@ -171,6 +171,8 @@ interface MailpitMessageSummaryResponse {
171
171
  Text: string;
172
172
  /** To addresses */
173
173
  To: MailpitEmailAddressResponse[];
174
+ /** Username used for authentication (if provided) with the SMTP or {@link MailpitClient.sendMessage| sendMessage} */
175
+ Username?: string;
174
176
  }
175
177
  /** Response for the {@link MailpitClient.listMessages| listMessages()} API containing the summary of multiple messages. */
176
178
  interface MailpitMessagesSummaryResponse {
@@ -204,6 +206,8 @@ interface MailpitMessagesSummaryResponse {
204
206
  Tags: string[];
205
207
  /** To addresses */
206
208
  To: MailpitEmailAddressResponse[];
209
+ /** Username used for authentication (if provided) with the SMTP or {@link MailpitClient.sendMessage| sendMessage} */
210
+ Username?: string;
207
211
  }[];
208
212
  /** Total number of messages matching the current query */
209
213
  messages_count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailpit-api",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "A TypeScript client for interacting with Mailpit's REST API.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,19 +63,19 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@eslint/js": "^9.29.0",
66
- "@jest/globals": "^30.0.0",
67
- "@types/node": "^22.15.31",
66
+ "@jest/globals": "^30.0.2",
67
+ "@types/node": "^22.15.32",
68
68
  "dotenv": "^16.5.0",
69
69
  "eslint": "^9.29.0",
70
- "eslint-plugin-jest": "^28.14.0",
71
- "jest": "^30.0.0",
72
- "prettier": "3.5.3",
70
+ "eslint-plugin-jest": "^29.0.1",
71
+ "jest": "^30.0.2",
72
+ "prettier": "3.6.0",
73
73
  "ts-jest": "^29.4.0",
74
74
  "tsup": "^8.5.0",
75
75
  "tsx": "^4.20.3",
76
76
  "typedoc": "^0.28.5",
77
77
  "typedoc-github-theme": "^0.3.0",
78
78
  "typescript": "^5.8.3",
79
- "typescript-eslint": "^8.34.0"
79
+ "typescript-eslint": "^8.34.1"
80
80
  }
81
81
  }