@xuda.io/ai_module 1.1.4612 → 1.1.4614

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
@@ -6408,7 +6408,7 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
6408
6408
  }
6409
6409
 
6410
6410
  const fileStream = await get_drive_file_stream('user', app_id, uid, path.join('/', 'Chat Attachments', filename));
6411
-
6411
+ debugger;
6412
6412
  let transcript;
6413
6413
  switch (validation_ret.category) {
6414
6414
  case 'audio':
@@ -7112,7 +7112,7 @@ export const get_name_from_email_addr = async function (uid, email, account_prof
7112
7112
  if (name_ret.code > -1) {
7113
7113
  const data = typeof name_ret.data === 'string' ? JSON.parse(name_ret.data) : name_ret.data;
7114
7114
 
7115
- return data;
7115
+ return data?.name;
7116
7116
  }
7117
7117
  } catch (error) {
7118
7118
  console.error('Error in get_name_from_email_addr:', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4612",
3
+ "version": "1.1.4614",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",