@xuda.io/ai_module 1.1.4333 → 1.1.4334

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6783,6 +6783,8 @@ const get_profile_image = async function (uid, account_type = 'business', name,
6783
6783
  url = await get_url();
6784
6784
  file = await return_image_blob_from_downloaded_image(url);
6785
6785
  } catch (err) {
6786
+ // create factual image
6787
+
6786
6788
  return console.error(err);
6787
6789
  }
6788
6790
  }
@@ -6821,7 +6823,8 @@ const get_profile_image = async function (uid, account_type = 'business', name,
6821
6823
 
6822
6824
  return drive_ret;
6823
6825
  } catch (err) {
6824
- return console.error(err);
6826
+ console.error(err);
6827
+ return '';
6825
6828
  }
6826
6829
  };
6827
6830
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4333",
3
+ "version": "1.1.4334",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",