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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abmp-npm",
3
- "version": "1.1.30",
3
+ "version": "1.1.32",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -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}`, location);
371
+ logMessage(`SDK location inside getAndSetUserLocation in ${renderingEnv}` + location);
372
372
 
373
373
  const veloLocation = await veloGetCurrentGeolocation();
374
- logMessage(`veloLocation inside getAndSetUserLocation in ${renderingEnv}`, veloLocation);
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}`, error);
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
  }