@xuda.io/account_module 1.2.819 → 1.2.821

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1518,7 +1518,7 @@ export const get_pending_share_contact_in = async function (uid, _id) {
1518
1518
 
1519
1519
  const get_user_contact = async function (uid, uid_query) {
1520
1520
  const account_info = (await get_account_name({ uid_query })).data;
1521
- let doc = { docType: 'contact', account_type: account_info.account_type, date_created: Date.now(), email: account_info.email, my_contact: uid === uid_query, contact_uid: uid_query };
1521
+ let doc = { docType: 'contact', account_type: account_info.account_type, date_created: Date.now(), email: account_info.email, my_contact: uid === uid_query, contact_uid: uid_query, username: account_info.username };
1522
1522
 
1523
1523
  doc.name = account_info?.account_type === 'business' ? account_info.business_name : `${account_info.first_name} ${account_info.last_name}`;
1524
1524
  doc.profile_avatar = account_info.profile_avatar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.819",
3
+ "version": "1.2.821",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {