@xuda.io/account_module 1.2.1864 → 1.2.1866

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/index.mjs +7 -6
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3443,6 +3443,7 @@ export const process_accounts_emails = async function () {
3443
3443
  };
3444
3444
 
3445
3445
  function isLikelySpamEmail(email) {
3446
+ debugger;
3446
3447
  if (!email || typeof email !== 'string') return true; // Invalid input → treat as spam
3447
3448
 
3448
3449
  const lower = email.toLowerCase().trim();
@@ -3537,12 +3538,12 @@ function isLikelySpamEmail(email) {
3537
3538
  return false;
3538
3539
  }
3539
3540
 
3540
- // ────────────────────────────────────────────────
3541
- // 4. Very short / meaningless / bot-like local parts
3542
- // ────────────────────────────────────────────────
3543
- if (localPart.length < 3 || localPart.match(/^[a-z\d]{1,4}$/)) {
3544
- return true; // e.g. a1@b.com, xyz@temp.com
3545
- }
3541
+ // // ────────────────────────────────────────────────
3542
+ // // 4. Very short / meaningless / bot-like local parts
3543
+ // // ────────────────────────────────────────────────
3544
+ // if (localPart.length < 3 || localPart.match(/^[a-z\d]{1,4}$/)) {
3545
+ // return true; // e.g. a1@b.com, xyz@temp.com
3546
+ // }
3546
3547
 
3547
3548
  // ────────────────────────────────────────────────
3548
3549
  // 5. Suspicious TLDs sometimes used in spam (2026 context)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1864",
3
+ "version": "1.2.1866",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {