@xuda.io/account_module 1.2.1680 → 1.2.1682
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1268,7 +1268,7 @@ function formatPhoneWithFlag(phoneString, country = 'US') {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
1270
|
export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
1271
|
-
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1271
|
+
// const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1272
1272
|
let doc = contact_doc;
|
|
1273
1273
|
if (_id) {
|
|
1274
1274
|
doc = await get_contact(uid, _id);
|
|
@@ -1285,7 +1285,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1285
1285
|
const counts_ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_item_counts', {
|
|
1286
1286
|
reduce: true,
|
|
1287
1287
|
group_level: 1,
|
|
1288
|
-
|
|
1288
|
+
|
|
1289
1289
|
startkey: [doc._id, ''],
|
|
1290
1290
|
endkey: [doc._id, 'zzzzzz'],
|
|
1291
1291
|
});
|
|
@@ -1374,7 +1374,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1374
1374
|
// }
|
|
1375
1375
|
// doc.contact_mood_level = chat_doc.mood_level || 0;
|
|
1376
1376
|
// }
|
|
1377
|
-
console.log('contact_mood_level', doc._id, doc.contact_mood_level);
|
|
1377
|
+
// console.log('contact_mood_level', doc._id, doc.contact_mood_level);
|
|
1378
1378
|
doc.card_background = get_contact_background(doc);
|
|
1379
1379
|
|
|
1380
1380
|
doc.border = get_contact_border(doc);
|