@cedarjs/mailer-handler-nodemailer 7.0.1-next.314 → 7.0.1-next.466
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.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { SendMailOptions, Transporter } from 'nodemailer';
|
|
2
2
|
import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js';
|
|
3
3
|
import { AbstractMailHandler } from '@cedarjs/mailer-core';
|
|
4
4
|
import type { MailRenderedContent, MailResult, MailSendOptionsComplete } from '@cedarjs/mailer-core';
|
|
@@ -6,15 +6,15 @@ export type HandlerConfig = {
|
|
|
6
6
|
transport: SMTPTransport | SMTPTransport.Options | string;
|
|
7
7
|
defaults?: SMTPTransport.Options;
|
|
8
8
|
};
|
|
9
|
-
export type HandlerOptions =
|
|
9
|
+
export type HandlerOptions = SendMailOptions;
|
|
10
10
|
export declare class NodemailerMailHandler extends AbstractMailHandler {
|
|
11
11
|
protected config: HandlerConfig;
|
|
12
|
-
protected transporter:
|
|
12
|
+
protected transporter: Transporter;
|
|
13
13
|
constructor(config: HandlerConfig);
|
|
14
14
|
send(renderedContent: MailRenderedContent, sendOptions: MailSendOptionsComplete, handlerOptions?: HandlerOptions): Promise<MailResult>;
|
|
15
15
|
internal(): {
|
|
16
16
|
config: HandlerConfig;
|
|
17
|
-
transporter:
|
|
17
|
+
transporter: Transporter;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,KAAK,aAAa,MAAM,wCAAwC,CAAA;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EACV,mBAAmB,EACnB,UAAU,EACV,uBAAuB,EACxB,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,aAAa,GAAG,aAAa,CAAC,OAAO,GAAG,MAAM,CAAA;IACzD,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,eAAe,CAAA;AAE5C,qBAAa,qBAAsB,SAAQ,mBAAmB;IAGhD,SAAS,CAAC,MAAM,EAAE,aAAa;IAF3C,SAAS,CAAC,WAAW,EAAE,WAAW,CAAA;gBAEZ,MAAM,EAAE,aAAa;IAUrC,IAAI,CACR,eAAe,EAAE,mBAAmB,EACpC,WAAW,EAAE,uBAAuB,EACpC,cAAc,CAAC,EAAE,cAAc,GAC9B,OAAO,CAAC,UAAU,CAAC;IAqBtB,QAAQ;;;;CAMT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/mailer-handler-nodemailer",
|
|
3
|
-
"version": "7.0.1-next.
|
|
3
|
+
"version": "7.0.1-next.466",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"prepublishOnly": "NODE_ENV=production yarn build"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@cedarjs/mailer-core": "7.0.1-next.
|
|
25
|
-
"nodemailer": "
|
|
24
|
+
"@cedarjs/mailer-core": "7.0.1-next.466",
|
|
25
|
+
"nodemailer": "10.1.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@cedarjs/framework-tools": "7.0.1-next.
|
|
28
|
+
"@cedarjs/framework-tools": "7.0.1-next.466",
|
|
29
29
|
"@types/nodemailer": "^6",
|
|
30
30
|
"typescript": "5.9.3"
|
|
31
31
|
},
|