@xuda.io/ai_module 1.1.4397 → 1.1.4399

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5675,7 +5675,7 @@ export const create_avatar = async function (req, job_id, headers) {
5675
5675
  throw new Error('invalid url');
5676
5676
  }
5677
5677
 
5678
- const account_profile_info = await get_active_account_profile_info(uid);
5678
+ const account_profile_info = await account_module.get_active_account_profile_info(uid);
5679
5679
 
5680
5680
  const account_obj = await db_module.get_couch_doc_native('xuda_accounts', uid);
5681
5681
  const account_info = account_obj.account_info;
@@ -5694,7 +5694,7 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
5694
5694
  const tempDir = os.tmpdir();
5695
5695
  const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
5696
5696
  const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
5697
-
5697
+ debugger;
5698
5698
  const detect_real_person_in_image = async function (base64) {
5699
5699
  const ret = await submit_chat_gpt_prompt({
5700
5700
  uid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4397",
3
+ "version": "1.1.4399",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",