@novacraft-engineering/mailbox 0.4.20 → 0.4.21
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/lib/mailbox.ts +9 -4
- package/package.json +1 -1
package/lib/mailbox.ts
CHANGED
|
@@ -538,11 +538,16 @@ const THROWAWAY_TLDS_DEFAULT = new Set([
|
|
|
538
538
|
])
|
|
539
539
|
|
|
540
540
|
/** The shape of an advance-fee approach. Counted, never single-word: one alone is innocent. */
|
|
541
|
+
// Only wording that is odd in ordinary business correspondence belongs here. A single
|
|
542
|
+
// generic term is not evidence of anything: an insurance broker writes "beneficiary" and
|
|
543
|
+
// "bank draft" all day, a logistics firm writes "consignment", and every sales team sends
|
|
544
|
+
// a "business proposal". Add them per deployment through MAIL_SCAM_PHRASES if a mailbox
|
|
545
|
+
// genuinely never sees them.
|
|
541
546
|
const SCAM_PHRASES_DEFAULT = [
|
|
542
|
-
'next of kin', 'sole beneficiary', '
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
547
|
+
'next of kin', 'sole beneficiary', 'late client', 'deceased client',
|
|
548
|
+
'inheritance', 'died without', 'without a will', 'unclaimed inheritance',
|
|
549
|
+
'winning notification', 'lottery winner', 'western union', 'atm card',
|
|
550
|
+
'transfer to your account immediately', 'strictly confidential and urgent',
|
|
546
551
|
]
|
|
547
552
|
|
|
548
553
|
/** The registrable domain behind an address, for reputation to be keyed on. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novacraft-engineering/mailbox",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "A shared webmail app: one codebase, one deployment per mailbox. Threads, a rich composer with signatures, attachments on S3-compatible storage, sharing links, full-text search, web push and PWA install.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webmail",
|