@remit/ui 0.0.90 → 0.0.91

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/ui",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -13,7 +13,7 @@ const base: IntelligenceData = {
13
13
  verdict: "aligned",
14
14
  fromDomain: "example.com",
15
15
  dkimDomain: "example.com",
16
- summary: "We verified this message was really sent by example.com.",
16
+ summary: "This message was signed by example.com.",
17
17
  },
18
18
  category: { value: "Personal" },
19
19
  similar: [],
@@ -66,10 +66,13 @@ export const SignedButUnrecognised: Story = {
66
66
  authenticity: {
67
67
  verdict: "caution",
68
68
  fromDomain: "serviceupdatebank.atlassian.net",
69
+ // Deliberately a different domain than fromDomain: the display-name
70
+ // check compared "InfoMedics" against the sender's own domain, never
71
+ // this one, so the summary must name serviceupdatebank.atlassian.net.
69
72
  dkimDomain: "custmx.one.com",
70
73
  claimedBrand: "InfoMedics",
71
74
  summary:
72
- 'This message really was sent by serviceupdatebank.atlassian.net. The name it shows, "InfoMedics", has nothing to do with that domain. Its links go to betaal-vordering.example.',
75
+ 'The name it shows, "InfoMedics", has nothing to do with serviceupdatebank.atlassian.net. Its links go to betaal-vordering.example.',
73
76
  },
74
77
  },
75
78
  },
@@ -92,7 +95,7 @@ export const SignedButLookalikeName: Story = {
92
95
  dkimDomain: "1nfomedics.nl",
93
96
  claimedBrand: "InfoMedics",
94
97
  summary:
95
- 'This message really was sent by 1nfomedics.nl. The name it shows, "InfoMedics", only looks like that domain.',
98
+ 'The name it shows, "InfoMedics", only looks like 1nfomedics.nl.',
96
99
  },
97
100
  },
98
101
  },