@upyo/smtp 0.4.0-dev.77 → 0.5.0-dev.81
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/README.md +9 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
SMTP transport implementation for the [Upyo] email library.
|
|
10
10
|
|
|
11
|
-
[JSR]: https://jsr.io/@upyo/smtp
|
|
12
11
|
[JSR badge]: https://jsr.io/badges/@upyo/smtp
|
|
13
|
-
[
|
|
12
|
+
[JSR]: https://jsr.io/@upyo/smtp
|
|
14
13
|
[npm badge]: https://img.shields.io/npm/v/@upyo/smtp?logo=npm
|
|
14
|
+
[npm]: https://www.npmjs.com/package/@upyo/smtp
|
|
15
15
|
[Upyo]: https://upyo.org/
|
|
16
16
|
|
|
17
17
|
|
|
@@ -101,7 +101,7 @@ Configuration options
|
|
|
101
101
|
### `SmtpConfig`
|
|
102
102
|
|
|
103
103
|
| Option | Type | Default | Description |
|
|
104
|
-
|
|
104
|
+
| ------------------- | ---------------- | ------------- | -------------------------------- |
|
|
105
105
|
| `host` | `string` | | SMTP server hostname |
|
|
106
106
|
| `port` | `number` | `587` | SMTP server port |
|
|
107
107
|
| `secure` | `boolean` | `true` | Use TLS/SSL connection |
|
|
@@ -117,7 +117,7 @@ Configuration options
|
|
|
117
117
|
### `SmtpAuth`
|
|
118
118
|
|
|
119
119
|
| Option | Type | Default | Description |
|
|
120
|
-
|
|
120
|
+
| -------- | ---------------------------------- | --------- | ----------- |
|
|
121
121
|
| `user` | `string` | | Username |
|
|
122
122
|
| `pass` | `string` | | Password |
|
|
123
123
|
| `method` | `"plain" \| "login" \| "cram-md5"` | `"plain"` | Auth method |
|
|
@@ -151,15 +151,15 @@ const transport = new SmtpTransport({
|
|
|
151
151
|
|
|
152
152
|
### `DkimConfig`
|
|
153
153
|
|
|
154
|
-
| Option | Type
|
|
155
|
-
|
|
156
|
-
| `signatures` | `DkimSignature[]`
|
|
157
|
-
| `onSigningFailure` | `"throw" \| "send-unsigned"`
|
|
154
|
+
| Option | Type | Default | Description |
|
|
155
|
+
| ------------------ | ---------------------------- | --------- | ------------------------------- |
|
|
156
|
+
| `signatures` | `DkimSignature[]` | | Array of DKIM signature configs |
|
|
157
|
+
| `onSigningFailure` | `"throw" \| "send-unsigned"` | `"throw"` | Action when signing fails |
|
|
158
158
|
|
|
159
159
|
### `DkimSignature`
|
|
160
160
|
|
|
161
161
|
| Option | Type | Default | Description |
|
|
162
|
-
|
|
162
|
+
| ------------------ | ---------------------------------- | ------------------- | --------------------------------------- |
|
|
163
163
|
| `signingDomain` | `string` | | Domain for DKIM key (d= tag) |
|
|
164
164
|
| `selector` | `string` | | DKIM selector (s= tag) |
|
|
165
165
|
| `privateKey` | `string \| CryptoKey` | | Private key (PEM string or `CryptoKey`) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upyo/smtp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-dev.81+b3482a5e",
|
|
4
4
|
"description": "SMTP transport for Upyo email library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@upyo/core": "0.
|
|
56
|
+
"@upyo/core": "0.5.0-dev.81+b3482a5e"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@dotenvx/dotenvx": "^1.47.3",
|