@h3ravel/mail 11.0.11 → 11.0.13

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.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  /// <reference path="./app.globals.d.ts" />
2
2
  import { SendMailOptions as SendMailOptions$1, SentMessageInfo } from "nodemailer";
3
- import * as nodemailer_lib_ses_transport0 from "nodemailer/lib/ses-transport";
4
3
  import SESConnection from "nodemailer/lib/ses-transport";
5
4
  import SMTPConnection from "nodemailer/lib/smtp-connection";
6
5
  import * as nodemailer_lib_sendmail_transport0 from "nodemailer/lib/sendmail-transport";
7
6
  import SendmailTransport from "nodemailer/lib/sendmail-transport";
7
+ import * as nodemailer_lib_smtp_pool0 from "nodemailer/lib/smtp-pool";
8
8
  import * as nodemailer_lib_smtp_transport0 from "nodemailer/lib/smtp-transport";
9
9
  import { Application, ServiceProvider } from "@h3ravel/core";
10
10
 
@@ -75,7 +75,7 @@ declare class SendMailDriver implements MailDriverContract {
75
75
  declare class SESDriver implements MailDriverContract {
76
76
  private transporter;
77
77
  constructor(config: SESConfig);
78
- send(options: SendMailOptions$1): Promise<nodemailer_lib_ses_transport0.SentMessageInfo>;
78
+ send(options: SendMailOptions$1): Promise<nodemailer_lib_smtp_pool0.SentMessageInfo>;
79
79
  }
80
80
  //#endregion
81
81
  //#region src/Drivers/SMTPDriver.d.ts
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  /// <reference path="./app.globals.d.ts" />
2
2
  import { SendMailOptions as SendMailOptions$1, SentMessageInfo } from "nodemailer";
3
3
  import { Application, ServiceProvider } from "@h3ravel/core";
4
- import * as nodemailer_lib_ses_transport0 from "nodemailer/lib/ses-transport";
5
4
  import SESConnection from "nodemailer/lib/ses-transport";
6
5
  import SMTPConnection from "nodemailer/lib/smtp-connection";
7
6
  import * as nodemailer_lib_sendmail_transport0 from "nodemailer/lib/sendmail-transport";
8
7
  import SendmailTransport from "nodemailer/lib/sendmail-transport";
8
+ import * as nodemailer_lib_smtp_pool0 from "nodemailer/lib/smtp-pool";
9
9
  import * as nodemailer_lib_smtp_transport0 from "nodemailer/lib/smtp-transport";
10
10
 
11
11
  //#region src/Contracts/Mailer.d.ts
@@ -75,7 +75,7 @@ declare class SendMailDriver implements MailDriverContract {
75
75
  declare class SESDriver implements MailDriverContract {
76
76
  private transporter;
77
77
  constructor(config: SESConfig);
78
- send(options: SendMailOptions$1): Promise<nodemailer_lib_ses_transport0.SentMessageInfo>;
78
+ send(options: SendMailOptions$1): Promise<nodemailer_lib_smtp_pool0.SentMessageInfo>;
79
79
  }
80
80
  //#endregion
81
81
  //#region src/Drivers/SMTPDriver.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/mail",
3
- "version": "11.0.11",
3
+ "version": "11.0.13",
4
4
  "description": "Mail drivers and templates system for H3ravel.",
5
5
  "h3ravel": {
6
6
  "providers": [
@@ -8,13 +8,13 @@
8
8
  ]
9
9
  },
10
10
  "type": "module",
11
- "main": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "module": "./dist/index.js",
11
+ "main": "./dist/index.mjs",
12
+ "types": "./dist/index.d.mts",
13
+ "module": "./dist/index.mjs",
14
14
  "exports": {
15
15
  ".": {
16
- "types": "./dist/index.d.ts",
17
- "import": "./dist/index.js",
16
+ "types": "./dist/index.d.mts",
17
+ "import": "./dist/index.mjs",
18
18
  "require": "./dist/index.cjs"
19
19
  }
20
20
  },
@@ -31,7 +31,7 @@
31
31
  "directory": "packages/mail"
32
32
  },
33
33
  "peerDependencies": {
34
- "@h3ravel/core": "^1.21.1"
34
+ "@h3ravel/core": "^1.21.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/nodemailer": "^6.4.17",
@@ -42,10 +42,9 @@
42
42
  "nodemailer": "^7.0.5"
43
43
  },
44
44
  "scripts": {
45
- "barrel": "barrelsby --directory src --delete --singleQuotes",
46
45
  "build": "tsdown --config-loader unconfig",
47
46
  "dev": "tsx watch src/index.ts",
48
- "start": "node dist/index.js",
47
+ "start": "node dist/index.mjs",
49
48
  "lint": "eslint . --ext .ts",
50
49
  "test": "jest --passWithNoTests",
51
50
  "version-patch": "pnpm version patch"