@remit/smtp-service 0.0.12 → 0.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/smtp-service",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -20,6 +20,7 @@ const baseOutbox = (
20
20
  messageIdValue: "generated-id@example.com",
21
21
  references: [],
22
22
  status: "queued",
23
+ appendedUid: 0,
23
24
  createdAt: 1_700_000_000_000,
24
25
  updatedAt: 1_700_000_000_000,
25
26
  ...overrides,
@@ -31,22 +31,6 @@ export class SmtpConnectionError extends Error {
31
31
  }
32
32
  }
33
33
 
34
- /** Password-based SMTP auth (AUTH PLAIN/LOGIN) */
35
- export interface SmtpAuthPassword {
36
- type?: undefined;
37
- user: string;
38
- pass: string;
39
- }
40
-
41
- /** OAuth2 SMTP auth (XOAUTH2 / OAUTHBEARER) */
42
- export interface SmtpAuthOAuth2 {
43
- type: "OAUTH2";
44
- user: string;
45
- accessToken: string;
46
- }
47
-
48
- export type SmtpAuth = SmtpAuthPassword | SmtpAuthOAuth2;
49
-
50
34
  export interface SmtpConfig {
51
35
  host: string;
52
36
  port: number;