@xuda.io/ai_module 1.1.4351 → 1.1.4352

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
@@ -6786,10 +6786,10 @@ const get_profile_image = async function (uid, account_type = 'business', name,
6786
6786
  try {
6787
6787
  // first attempt
6788
6788
  let url = await get_url();
6789
- if (!url.substr(0, 7, 'https://')) {
6789
+ if (url.substr(0, 7) !== 'https://') {
6790
6790
  // second attempt
6791
6791
  url = await get_url();
6792
- if (!url.substr(0, 7, 'https://')) {
6792
+ if (url.substr(0, 7) !== 'https://') {
6793
6793
  factual_image_mode = true;
6794
6794
  }
6795
6795
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4351",
3
+ "version": "1.1.4352",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",