@xuda.io/account_module 1.2.786 → 1.2.787

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 +1 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1499,6 +1499,7 @@ const get_user_contact = async function (uid, uid_query) {
1499
1499
  doc.name = account_info?.account_type === 'business' ? account_info.business_name : `${account_info.first_name} ${account_info.last_name}`;
1500
1500
  doc.profile_avatar = account_info.profile_avatar;
1501
1501
  doc.profile_picture = account_info.profile_picture;
1502
+ doc.avatar_source = account_info.data.avatar_source;
1502
1503
  doc.card_background = get_contact_background(doc);
1503
1504
  doc.icon_pattern = await get_contact_pattern(doc);
1504
1505
  doc.border = get_contact_border(doc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.786",
3
+ "version": "1.2.787",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {