@xuda.io/ai_module 1.1.4778 → 1.1.4780

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 +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -7045,10 +7045,11 @@ export const get_profile_picture = async function (uid, account_type = 'business
7045
7045
  console.error(err);
7046
7046
  return '';
7047
7047
  }
7048
- profile_picture_source = 'factual';
7049
- factual_image_mode = true;
7048
+ url = '';
7050
7049
  }
7051
- } else {
7050
+ }
7051
+
7052
+ if (!url) {
7052
7053
  // first attempt
7053
7054
  if (account_type === 'business') {
7054
7055
  url = await get_url();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4778",
3
+ "version": "1.1.4780",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",