@adobe/helix-rum-enhancer 2.4.0 → 2.4.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.4.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.4.0...v2.4.1) (2024-04-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * broken code in the utm tracking ([d1695dd](https://github.com/adobe/helix-rum-enhancer/commit/d1695ddf62b316d3cc06c75c444f859a271cff2e))
7
+
1
8
  # [2.4.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.3.1...v2.4.0) (2024-03-22)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "jsdoc-to-markdown": "8.0.1",
43
43
  "junit-report-builder": "3.2.1",
44
44
  "lint-staged": "15.2.2",
45
- "mocha": "10.3.0",
45
+ "mocha": "10.4.0",
46
46
  "mocha-multi-reporters": "1.5.1",
47
47
  "semantic-release": "22.0.12"
48
48
  },
package/src/index.js CHANGED
@@ -228,7 +228,7 @@ function addUTMParametersTracking() {
228
228
  const usp = new URLSearchParams(window.location.search);
229
229
  [...usp.entries()]
230
230
  .filter(([key]) => key.startsWith('utm_'))
231
- .filter(([key]) => key !== 'utm_id');
231
+ .filter(([key]) => key !== 'utm_id')
232
232
  .forEach(([source, target]) => sampleRUM('utm', { source, target }));
233
233
  }
234
234