@xuda.io/account_module 1.2.178 → 1.2.180

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 +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1149,7 +1149,7 @@ export const delete_contact = async function (req) {
1149
1149
  // );
1150
1150
 
1151
1151
  export const add_contact = async function (req) {
1152
- const { uid, email, name, stat, contact_uid, req_id, profile_picture } = req;
1152
+ const { uid, email, name, stat, contact_uid, req_id, profile_picture, context } = req;
1153
1153
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
1154
1154
 
1155
1155
  if (!contact_ret.rows.length) {
@@ -1165,6 +1165,9 @@ export const add_contact = async function (req) {
1165
1165
  req_id,
1166
1166
  profile_picture,
1167
1167
  });
1168
+
1169
+ const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1170
+
1168
1171
  return ret;
1169
1172
  }
1170
1173
  return { code: -1, data: 'contact already exist active or deleted' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.178",
3
+ "version": "1.2.180",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {