@xuda.io/ai_module 1.1.4864 → 1.1.4866

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6065,6 +6065,7 @@ 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
  });
6069
6070
  if (spam_whitelists.docs.length) return false;
6070
6071
 
@@ -6221,7 +6222,7 @@ export const get_profile_picture = async function (uid, account_type = 'business
6221
6222
  return photoURL;
6222
6223
  } catch (error) {
6223
6224
  if (error.code === 'auth/user-not-found') {
6224
- console.log(`No user found with email: ${email}`);
6225
+ console.log('getUserPhotoByEmail', `No user found with email: ${email}`);
6225
6226
  return null;
6226
6227
  }
6227
6228
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4864",
3
+ "version": "1.1.4866",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",