@bobfrankston/mailx-store 0.1.114 → 0.1.117

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/package.json +5 -5
  2. package/store.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-store",
3
- "version": "0.1.114",
3
+ "version": "0.1.117",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -9,8 +9,8 @@
9
9
  },
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
- "@bobfrankston/mailx-types": "^0.1.82",
13
- "@bobfrankston/mailx-settings": "^0.1.76",
12
+ "@bobfrankston/mailx-types": "^0.1.86",
13
+ "@bobfrankston/mailx-settings": "^0.1.80",
14
14
  "@bobfrankston/mailx-bus": "^0.1.2",
15
15
  "mailparser": "^3.7.2"
16
16
  },
@@ -29,8 +29,8 @@
29
29
  },
30
30
  ".transformedSnapshot": {
31
31
  "dependencies": {
32
- "@bobfrankston/mailx-types": "^0.1.82",
33
- "@bobfrankston/mailx-settings": "^0.1.76",
32
+ "@bobfrankston/mailx-types": "^0.1.86",
33
+ "@bobfrankston/mailx-settings": "^0.1.80",
34
34
  "@bobfrankston/mailx-bus": "^0.1.2",
35
35
  "mailparser": "^3.7.2"
36
36
  }
package/store.js CHANGED
@@ -575,6 +575,9 @@ export class Store {
575
575
  senderTrusted,
576
576
  bodyHtml,
577
577
  bodyText,
578
+ // Services the reader trusts to relay on others' behalf; counts
579
+ // only when the service provably handled the message (2026-09-08).
580
+ trustedIntermediaries: (allowList.trustedIntermediaries || []).map((d) => (d || "").toLowerCase()),
578
581
  };
579
582
  const trust = assessMessageTrust(trustInput);
580
583
  // The server's score travels separately from the findings: a finding is