@xuda.io/ai_module 1.1.4942 → 1.1.4943

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 +10 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -10709,5 +10709,14 @@ export const get_person_info = async function (uid, name, email, account_profile
10709
10709
  export const open_ai_alive_check = async function () {};
10710
10710
 
10711
10711
  const get_active_account_profile_info = async function (uid) {
10712
- const account_profile_info = await account_ms.get_active_account_profile_info(uid);
10712
+ const key = ``;
10713
+
10714
+ let account_profile_info;
10715
+ try {
10716
+ account_profile_info = db_module.get_memcached_doc(key);
10717
+ } catch (error) {
10718
+ account_profile_info = await account_ms.get_active_account_profile_info(uid);
10719
+ }
10720
+
10721
+ return account_profile_info;
10713
10722
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4942",
3
+ "version": "1.1.4943",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",