@xuda.io/ai_module 1.1.4779 → 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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -7047,7 +7047,9 @@ export const get_profile_picture = async function (uid, account_type = 'business
7047
7047
  }
7048
7048
  url = '';
7049
7049
  }
7050
- } else {
7050
+ }
7051
+
7052
+ if (!url) {
7051
7053
  // first attempt
7052
7054
  if (account_type === 'business') {
7053
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.4779",
3
+ "version": "1.1.4780",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",