@xuda.io/account_module 1.2.2254 → 1.2.2255

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 CHANGED
@@ -3238,11 +3238,11 @@ export const get_account_profiles = async function (req) {
3238
3238
  let profile_docs = { docs: [], total_docs: profiles.total_docs };
3239
3239
  for await (let doc of profiles.docs) {
3240
3240
  doc = await get_account_profile_info(uid, doc);
3241
- if (doc.main) {
3242
- profile_docs.docs.unshift(doc);
3243
- } else {
3244
- profile_docs.docs.push(doc);
3245
- }
3241
+ // if (doc.main) {
3242
+ // profile_docs.docs.unshift(doc);
3243
+ // } else {
3244
+ profile_docs.docs.push(doc);
3245
+ // }
3246
3246
  }
3247
3247
 
3248
3248
  if (!profile_id) {
package/index_ms.mjs CHANGED
@@ -65,14 +65,14 @@ export const get_active_account_profile_info = async function (...args) {
65
65
  return await broker.send_to_queue("get_active_account_profile_info", ...args);
66
66
  };
67
67
 
68
- export const get_account_name = async function (...args) {
69
- return await broker.send_to_queue("get_account_name", ...args);
70
- };
71
-
72
68
  export const get_account_profile_group_member_uids = async function (...args) {
73
69
  return await broker.send_to_queue("get_account_profile_group_member_uids", ...args);
74
70
  };
75
71
 
72
+ export const get_account_name = async function (...args) {
73
+ return await broker.send_to_queue("get_account_name", ...args);
74
+ };
75
+
76
76
  export const account_validate_username = async function (...args) {
77
77
  return await broker.send_to_queue("account_validate_username", ...args);
78
78
  };
package/index_msa.mjs CHANGED
@@ -65,6 +65,10 @@ export const get_active_account_profile_info = function (...args) {
65
65
  broker.send_to_queue_async("get_active_account_profile_info", ...args);
66
66
  };
67
67
 
68
+ export const get_account_profile_group_member_uids = function (...args) {
69
+ broker.send_to_queue_async("get_account_profile_group_member_uids", ...args);
70
+ };
71
+
68
72
  export const get_account_name = function (...args) {
69
73
  broker.send_to_queue_async("get_account_name", ...args);
70
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2254",
3
+ "version": "1.2.2255",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {