arn-rawmime 0.1.5 → 0.1.6
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 +3 -2
- package/src/rawmimeBuilder.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arn-rawmime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "A lightweight, dependency-free raw MIME email builder with DKIM support.",
|
|
5
5
|
"author": "ARNDESK",
|
|
6
6
|
"type": "module",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"test": "test"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"arn-rawmime": "^0.1.4",
|
|
19
20
|
"he": "^1.2.0",
|
|
20
21
|
"html-to-text": "^10.0.0",
|
|
21
22
|
"mailparser": "^3.9.0",
|
|
@@ -31,4 +32,4 @@
|
|
|
31
32
|
"email"
|
|
32
33
|
],
|
|
33
34
|
"license": "ISC"
|
|
34
|
-
}
|
|
35
|
+
}
|
package/src/rawmimeBuilder.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export class MimeMessage {
|
|
|
64
64
|
addText(options: {
|
|
65
65
|
data: string | Buffer;
|
|
66
66
|
encoding?: "quoted-printable" | "base64" | "7bit" | "8bit";
|
|
67
|
-
charset?: "UTF-8" | "ISO-8859-1" | "US-ASCII" | (string & {});
|
|
67
|
+
charset?: "UTF-8" | "utf-8" | "ISO-8859-1" | "iso-8859-1" | "US-ASCII" | "us-ascii" | (string & {});
|
|
68
68
|
}): void;
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -79,7 +79,7 @@ export class MimeMessage {
|
|
|
79
79
|
* It will be converted to HTML, sanitized, and used to generate the body.
|
|
80
80
|
*/
|
|
81
81
|
markdownToHtml?: boolean;
|
|
82
|
-
charset?: "UTF-8" | "ISO-8859-1" | "US-ASCII" | (string & {});
|
|
82
|
+
charset?: "UTF-8" | "utf-8" | "ISO-8859-1" | "iso-8859-1" | "US-ASCII" | "us-ascii" | (string & {});
|
|
83
83
|
}): void;
|
|
84
84
|
|
|
85
85
|
/**
|