@remit/ui 0.0.241 → 0.0.242

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.
@@ -1,5 +1,6 @@
1
1
  const REASON_SENTENCES = {
2
2
  DmarcFail: "It failed the sender domain's DMARC check.",
3
+ DkimDmarcFail: "The sender's domain did not sign it, and its authentication failed.",
3
4
  SignerMismatch: "It was signed by a different domain than its sender.",
4
5
  ReplyToMismatch: "Replies would go to a different domain than the sender's.",
5
6
  LinkTextMismatch: "A link's text shows one domain and opens another.",
@@ -20,6 +20,7 @@ export const warnSpamVerdict = {
20
20
  action: "Warn",
21
21
  kind: "Spam",
22
22
  modelOutcome: "OutOfBand",
23
+ decidedBy: "Rspamd",
23
24
  reasons: [
24
25
  reason("LinkTextMismatch", 0.3, ["bank.example -> login-check.example"]),
25
26
  reason("FirstContactDomain", 0.25, ["sender-domain.example"]),
@@ -32,6 +33,7 @@ export const warnPhishingVerdict = {
32
33
  action: "Warn",
33
34
  kind: "Phishing",
34
35
  modelOutcome: "OutOfBand",
36
+ decidedBy: "Rspamd",
35
37
  reasons: [
36
38
  reason("DisplayNameForeignAddress", 0.4, [
37
39
  '"support@bank.example" <x@other.example>',
@@ -54,6 +56,7 @@ export const modelJudgedVerdict = {
54
56
  action: "Warn",
55
57
  kind: "Spam",
56
58
  modelOutcome: "Answered",
59
+ decidedBy: "Model",
57
60
  reasons: [
58
61
  reason("RecentlyRegisteredDomain", 0.35, ["registered 2026-11-02"]),
59
62
  reason("ModelSpam", 0.2, [
@@ -72,6 +75,7 @@ export const warnOnlyAboveJunkVerdict = {
72
75
  action: "Warn",
73
76
  kind: "Spam",
74
77
  modelOutcome: "Answered",
78
+ decidedBy: "Model",
75
79
  reasons: [
76
80
  reason("LinkTextMismatch", 0.5, ["bank.example -> login-check.example"]),
77
81
  reason("FirstContactDomain", 0.4, ["sender-domain.example"]),
@@ -83,6 +87,7 @@ export const unknownReasonVerdict = {
83
87
  action: "Warn",
84
88
  kind: "Spam",
85
89
  modelOutcome: "Answered",
90
+ decidedBy: "Model",
86
91
  reasons: [
87
92
  reason("ProviderSpam", 0.3),
88
93
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/ui",
3
- "version": "0.0.241",
3
+ "version": "0.0.242",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",