@warlock.js/core 4.0.155 → 4.0.156
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/esm/mail/index.d.ts +1 -1
- package/esm/mail/index.d.ts.map +1 -1
- package/esm/mail/types.d.ts +3 -3
- package/package.json +7 -7
package/esm/mail/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export { renderReactMail } from "./react-mail";
|
|
|
5
5
|
export { sendMail } from "./send-mail";
|
|
6
6
|
export { Mail } from "./mail";
|
|
7
7
|
export { assertMailCount, assertMailSent, captureMail, clearTestMailbox, findMailsBySubject, findMailsTo, getLastMail, getMailboxSize, getTestMailbox, wasMailSentTo, wasMailSentWithSubject, } from "./test-mailbox";
|
|
8
|
-
export type { CapturedMail, MailAddress, MailAttachment, MailConfigurations, MailErrorCode, MailEvents, MailMode, MailOptions, MailPriority, MailResult, MailersConfig, NormalizedMail, } from "./types";
|
|
8
|
+
export type { CapturedMail, MailAddress, MailAttachment, MailConfigurations, MailErrorCode, MailEvents, MailMode, MailOptions, MailPriority, MailResult, MailersConfig, NormalizedMail, SESConfigurations, SMTPConfigurations, } from "./types";
|
|
9
9
|
export { MailError } from "./types";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/mail/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mail/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,GACZ,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,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AgB,CAAC;AAGxB,YAAY,EACV,YAAY,EACZ,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
|
package/esm/mail/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type React from "react";
|
|
|
4
4
|
/**
|
|
5
5
|
* AWS SES mail configuration
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type SESConfigurations = {
|
|
8
8
|
driver: "ses";
|
|
9
9
|
accessKeyId: string;
|
|
10
10
|
secretAccessKey: string;
|
|
@@ -14,7 +14,7 @@ export type SesConfigurations = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Any mail configuration (SMTP or SES)
|
|
16
16
|
*/
|
|
17
|
-
export type MailConfigurations =
|
|
17
|
+
export type MailConfigurations = SMTPConfigurations | SESConfigurations;
|
|
18
18
|
/**
|
|
19
19
|
* Mail mode determines how emails are handled
|
|
20
20
|
*/
|
|
@@ -111,7 +111,7 @@ export type MailAttachment = {
|
|
|
111
111
|
* });
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
|
-
export type
|
|
114
|
+
export type SMTPConfigurations = SMTPTransport.Options & {
|
|
115
115
|
/**
|
|
116
116
|
* Transport driver type
|
|
117
117
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warlock.js/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.156",
|
|
4
4
|
"description": "A robust nodejs framework for building blazing fast applications",
|
|
5
5
|
"main": "./esm/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"pluralize-esm": "^9.0.5",
|
|
32
32
|
"@mongez/supportive-is": "^2.0.4",
|
|
33
33
|
"@mongez/time-wizard": "^1.0.6",
|
|
34
|
-
"@warlock.js/auth": "4.0.
|
|
35
|
-
"@warlock.js/cache": "4.0.
|
|
36
|
-
"@warlock.js/cascade": "4.0.
|
|
37
|
-
"@warlock.js/context": "4.0.
|
|
38
|
-
"@warlock.js/logger": "4.0.
|
|
39
|
-
"@warlock.js/seal": "4.0.
|
|
34
|
+
"@warlock.js/auth": "4.0.156",
|
|
35
|
+
"@warlock.js/cache": "4.0.156",
|
|
36
|
+
"@warlock.js/cascade": "4.0.156",
|
|
37
|
+
"@warlock.js/context": "4.0.156",
|
|
38
|
+
"@warlock.js/logger": "4.0.156",
|
|
39
|
+
"@warlock.js/seal": "4.0.156",
|
|
40
40
|
"axios": "^1.14.0",
|
|
41
41
|
"chokidar": "^5.0.0",
|
|
42
42
|
"dayjs": "^1.11.19",
|