@xuda.io/ai_module 1.1.4863 → 1.1.4865

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 +2 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6065,7 +6065,9 @@ export const is_spam_email = async function (uid, email, subject, account_profil
6065
6065
  email,
6066
6066
  stat: 3,
6067
6067
  },
6068
+ limit: 1,
6068
6069
  });
6070
+ if (spam_whitelists.docs.length) return false;
6069
6071
 
6070
6072
  const is_spam_ret = await submit_chat_gpt_prompt({
6071
6073
  uid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4863",
3
+ "version": "1.1.4865",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",