@xuda.io/ai_module 1.1.4612 → 1.1.4613

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -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.4613",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",