@xuda.io/account_module 1.2.1844 → 1.2.1846

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 +0 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2169,7 +2169,6 @@ export const add_contact = async function (req, job_id, headers) {
2169
2169
  if (is_business) {
2170
2170
  business_info = await ai_module.get_business_info(uid, '', email, account_profile_info);
2171
2171
  if (business_info.business_name !== 'Not available') {
2172
- //&& !identifyPersonalProvider(business_info.business_domain)
2173
2172
  business_has_person = await ai_module.is_business_contact_has_person(uid, email, name, metadata.subject, metadata.summarized_body, account_profile_info);
2174
2173
  } else {
2175
2174
  account_type = 'personal';
@@ -2178,7 +2177,6 @@ export const add_contact = async function (req, job_id, headers) {
2178
2177
  }
2179
2178
  if (_.isEmpty(cached_contact) && account_type === 'business' && !business_has_person) {
2180
2179
  if (!identifyPersonalProvider(business_info.business_domain)) {
2181
- // const domain = email.includes('@') ? email.split('@')[1] : '';
2182
2180
  cached_contact = await get_xuda_cache(uid, 'contact', business_info.business_domain, 'metadata');
2183
2181
  } else {
2184
2182
  cached_contact = await get_xuda_cache(uid, 'contact', business_info.business_name, 'metadata');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1844",
3
+ "version": "1.2.1846",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {