@xuda.io/account_module 1.2.1754 → 1.2.1755

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2287,11 +2287,13 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2287
2287
  contact_id,
2288
2288
  {
2289
2289
  business_name: contact_obj?.business_info?.business_name,
2290
+ name: contact_obj.name,
2290
2291
  bio: contact_obj?.business_info?.bio || contact_obj?.personal_info?.bio,
2291
2292
  country: contact_obj?.business_info?.business_country || contact_obj?.person_info?.person_nationality,
2292
2293
  mainCategory: contact_obj?.business_info?.mainCategory,
2293
2294
  subCategory: contact_obj?.business_info?.subCategory,
2294
2295
  is_real_person: contact_obj?.account_type_info?.is_real_person && contact_obj?.person_info?.person_full_name !== 'Not available',
2296
+ person_nationality: contact_obj?.person_info?.person_nationality,
2295
2297
  },
2296
2298
  // { business_info: contact_obj.business_info, personal_info: contact_obj.personal_info, account_type_info: contact_obj.account_type_info },
2297
2299
  contact_obj?.business_info?.business_size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1754",
3
+ "version": "1.2.1755",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {