@xuda.io/account_module 1.2.2026 → 1.2.2028
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -42,6 +42,7 @@ const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi
|
|
|
42
42
|
// Module Paths
|
|
43
43
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|
|
44
44
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
45
|
+
const ai_ms = await import(`${module_path}/db_module/index_ms.mjs`);
|
|
45
46
|
|
|
46
47
|
export const update_account_info = async function (req, job_id, headers) {
|
|
47
48
|
const marketplace_module = await import(`${module_path}/marketplace_module/index.mjs`);
|
|
@@ -1292,7 +1293,6 @@ function formatPhoneWithFlag(phoneString, country = 'US') {
|
|
|
1292
1293
|
}
|
|
1293
1294
|
|
|
1294
1295
|
export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
1295
|
-
// const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1296
1296
|
let doc = contact_doc;
|
|
1297
1297
|
if (_id) {
|
|
1298
1298
|
doc = await get_contact(uid, _id);
|
|
@@ -3180,7 +3180,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
3180
3180
|
|
|
3181
3181
|
// doc.border = account_info_ret.data.active_account_profile_id === doc._id ? 'yellow' : ''; //'#1a3557';
|
|
3182
3182
|
// doc.border = stringToColour(doc.shared_from_uid || doc.uid);
|
|
3183
|
-
|
|
3183
|
+
debugger;
|
|
3184
3184
|
const chats_ret = await ai_module.get_ai_chats({ uid, reference_id: doc._id });
|
|
3185
3185
|
|
|
3186
3186
|
doc.card_background = `linear-gradient(145deg, #242480 0%, #060619 100%)`;
|