@bobfrankston/mailx-types 0.1.76 → 0.1.78

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.
Files changed (2) hide show
  1. package/index.d.ts +10 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -55,11 +55,17 @@ export interface AccountConfig {
55
55
  signature?: string; /** Legacy: HTML signature appended to all outgoing messages (new + reply + forward). Plain text or HTML allowed. Superseded by `sig`. */
56
56
  sig?: AccountSignature; /** Per-account signature object. Initially appended only to NEW messages; later options will cover replies/forwards. */
57
57
  }
58
- /** Signature configuration in accounts.jsonc. Initial shape carries `text`
59
- * only; `html: true` reserved for future support of raw HTML signatures. */
58
+ /** Signature configuration in accounts.jsonc. May be set per-account or once
59
+ * at the top level of the file, where it applies to every account that has
60
+ * no `sig` of its own. Appended by compose to new mail, replies and
61
+ * forwards; drafts already carry it in the saved body.
62
+ *
63
+ * 2026-09-02 — Claude Code (Opus 5), at Bob's direction: `html` is honoured
64
+ * (client/compose/compose.ts), not "reserved for future use" as this comment
65
+ * previously claimed. */
60
66
  export interface AccountSignature {
61
- text: string; /** Plain-text signature body. Newlines preserved. Appended to NEW messages with the standard "-- " RFC 3676 separator. */
62
- html?: boolean; /** Future flag: when true, `text` is treated as raw HTML rather than escaped plain text. Currently ignored. */
67
+ text: string; /** Signature body. Plain text unless `html` is set. Appended to NEW messages with the standard "-- " RFC 3676 separator. */
68
+ html?: boolean; /** When true, `text` is inserted as raw HTML write your own `<br>` for line breaks. When false/absent, `text` is HTML-escaped and newlines become `<br>`. */
63
69
  }
64
70
  /** Standard IMAP special-use folder types */
65
71
  export type SpecialUse = "inbox" | "sent" | "drafts" | "trash" | "junk" | "archive" | "all";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.76",
3
+ "version": "0.1.78",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",