@xuda.io/account_module 1.2.2111 → 1.2.2113

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1716,7 +1716,8 @@ export const get_user_name = async function (uid) {
1716
1716
  }
1717
1717
  };
1718
1718
 
1719
- export const get_user_card = async function (uid, uid_query) {
1719
+ export const get_user_card = async function (req) {
1720
+ const { uid, uid_query } = req;
1720
1721
  if (uid === uid_query) return await get_user_contact(uid, uid_query);
1721
1722
 
1722
1723
  let user_contact_obj;
@@ -1967,7 +1968,7 @@ setTimeout(async () => {
1967
1968
  const uid = 'd39126e0e2c51ffbd1aad10709fc8335';
1968
1969
 
1969
1970
  let ret;
1970
- ret = await get_account_ai_usage({ uid }, 111);
1971
+ // ret = await get_account_ai_usage({ uid }, 111);
1971
1972
  // ret = await set_deep_research_contact({ uid, contact_id: 'cnt_c07049718613a11d164e90450d5f9902' });
1972
1973
  // ret = await generate_contact_avatar({ uid, contact_id: 'cnt_c07049718613a11d164e90450d5f2742' });
1973
1974
  // ret = await not_spam_contact({ uid, contact_id: 'cnt_c07049718613a11d164e90450d5f2742' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2111",
3
+ "version": "1.2.2113",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {