@xuda.io/account_module 1.2.783 → 1.2.785

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
@@ -1372,7 +1372,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
1372
1372
  doc.connection_stat = 0;
1373
1373
  }
1374
1374
  }
1375
-
1375
+ doc.avatar_source = account_info_ret.data.avatar_source;
1376
1376
  doc.icon_pattern = await get_contact_pattern(doc);
1377
1377
  doc.username = account_info_ret.data.username;
1378
1378
  doc.business_name = account_info_ret.data.business_name;
@@ -1428,6 +1428,7 @@ export const get_pending_contact_out = async function (uid, _id) {
1428
1428
  if (account_info_ret.code < 0) {
1429
1429
  continue; // throw new Error(`account ${contact_uid} not found`);
1430
1430
  }
1431
+ doc.avatar_source = account_info_ret.data.avatar_source;
1431
1432
  doc.profile_avatar = account_info_ret.data.profile_avatar;
1432
1433
  doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
1433
1434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.783",
3
+ "version": "1.2.785",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {