@xuda.io/account_module 1.2.933 → 1.2.934

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 +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1907,6 +1907,9 @@ export const add_contact = async function (req, job_id, headers) {
1907
1907
  throw new Error(`account ${contact_uid} not found`);
1908
1908
  }
1909
1909
  } else {
1910
+ if (subject && !metadata.is_sent) {
1911
+ const is_spam = await ai_module.is_spam_email(uid, email_address, subject);
1912
+ }
1910
1913
  }
1911
1914
  const d = Date.now();
1912
1915
  const doc = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.933",
3
+ "version": "1.2.934",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {