abmp-npm 1.1.30 → 1.1.32
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.
- package/package.json +1 -1
- package/public/Utils/homePage.js +3 -3
package/package.json
CHANGED
package/public/Utils/homePage.js
CHANGED
|
@@ -368,10 +368,10 @@ const createHomepageUtils = (_$w, filterProfiles, veloGetCurrentGeolocation, log
|
|
|
368
368
|
location = await wixWindow.getCurrentGeolocation();
|
|
369
369
|
const renderingEnv = await rendering.env();
|
|
370
370
|
|
|
371
|
-
logMessage(`SDK location inside getAndSetUserLocation in ${renderingEnv}
|
|
371
|
+
logMessage(`SDK location inside getAndSetUserLocation in ${renderingEnv}` + location);
|
|
372
372
|
|
|
373
373
|
const veloLocation = await veloGetCurrentGeolocation();
|
|
374
|
-
logMessage(`veloLocation inside getAndSetUserLocation in ${renderingEnv}
|
|
374
|
+
logMessage(`veloLocation inside getAndSetUserLocation in ${renderingEnv}` + veloLocation);
|
|
375
375
|
console.log('location inside getAndSetUserLocation', location);
|
|
376
376
|
const userLat = location.coords?.latitude ?? 0;
|
|
377
377
|
const userLong = location.coords?.longitude ?? 0;
|
|
@@ -388,7 +388,7 @@ const createHomepageUtils = (_$w, filterProfiles, veloGetCurrentGeolocation, log
|
|
|
388
388
|
return { success: true, filter };
|
|
389
389
|
} catch (error) {
|
|
390
390
|
const renderingEnv = await rendering.env();
|
|
391
|
-
logMessage(`error inside getAndSetUserLocation in ${renderingEnv}
|
|
391
|
+
logMessage(`error inside getAndSetUserLocation in ${renderingEnv}` + error);
|
|
392
392
|
console.warn('Failed to get user location in getAndSetUserLocation', error);
|
|
393
393
|
return { success: false, filter };
|
|
394
394
|
}
|