@bobfrankston/mailx-types 0.1.67 → 0.1.69

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 (3) hide show
  1. package/package.json +1 -1
  2. package/trust.d.ts +7 -1
  3. package/trust.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.67",
3
+ "version": "0.1.69",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/trust.d.ts CHANGED
@@ -93,8 +93,14 @@ export interface SpamScore {
93
93
  * the chip stays visible and says so, rather than going red at a number
94
94
  * and teaching the reader to ignore it. (Claude Code 2026-08-27) */
95
95
  kind: "forgery" | "association" | "bulk" | "unclassified";
96
- /** The From domain passed DMARC, aligned, at the receiving server. */
96
+ /** The From line is proved provedBy says by what. */
97
97
  proved: boolean;
98
+ /** Which evidence: the server's DMARC verdict, a valid signature from the
99
+ * author's own domain, or never having crossed an untrusted host. The
100
+ * chip's tooltip has to say which one, or it asserts a DMARC pass that
101
+ * may not exist (Bob's own mail carries no Authentication-Results at
102
+ * all). */
103
+ provedBy: "dmarc" | "dkim" | "trusted" | "";
98
104
  /** Top scoring rules, named — "6.0 URIBL_SBL (Contains an URL's NS IP
99
105
  * listed in the Spamhaus SBL blocklist)". A number alone is unactionable;
100
106
  * this can be judged in a second. */
package/trust.js CHANGED
@@ -626,6 +626,7 @@ export function spamScoreOf(input) {
626
626
  flagged: a.flagged,
627
627
  kind: a.kind,
628
628
  proved: a.proved,
629
+ provedBy: a.provedBy,
629
630
  reasons: a.reasons,
630
631
  };
631
632
  }