pb-sxp-ui 1.15.17 → 1.15.18

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.
@@ -366,7 +366,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
366
366
  return uri + separator + key + '=' + value;
367
367
  }
368
368
  }
369
- if ((pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
369
+ if (eventName === 'PageView') {
370
370
  const currentUrl = window.location.href;
371
371
  const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
372
372
  history.pushState({ path: newUrl }, '', newUrl);
@@ -369,7 +369,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
369
369
  return uri + separator + key + '=' + value;
370
370
  }
371
371
  }
372
- if ((pixelEventParamsJson === null || pixelEventParamsJson === void 0 ? void 0 : pixelEventParamsJson.event_name) === 'PageView') {
372
+ if (eventName === 'PageView') {
373
373
  const currentUrl = window.location.href;
374
374
  const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
375
375
  history.pushState({ path: newUrl }, '', newUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.15.17",
3
+ "version": "1.15.18",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",