@adobe/helix-rum-enhancer 2.27.0 → 2.28.0

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.28.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.27.0...v2.28.0) (2025-01-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * remove (deprecated) FID ex-CWV ([58e39ae](https://github.com/adobe/helix-rum-enhancer/commit/58e39ae3eae6315562ab9c7aec479e9da2737e7d))
7
+
1
8
  # [2.27.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.26.4...v2.27.0) (2024-12-20)
2
9
 
3
10
 
package/modules/index.js CHANGED
@@ -90,7 +90,7 @@ function addCWVTracking() {
90
90
 
91
91
  // When loading `web-vitals` using a classic script, all the public
92
92
  // methods can be found on the `webVitals` global namespace.
93
- ['FID', 'INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => {
93
+ ['INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => {
94
94
  const metricFn = window.webVitals[`on${metric}`];
95
95
  if (typeof metricFn === 'function') {
96
96
  let opts = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -51,10 +51,10 @@
51
51
  "husky": "9.1.7",
52
52
  "jsdoc-to-markdown": "9.1.1",
53
53
  "junit-report-builder": "5.1.1",
54
- "lint-staged": "15.2.11",
54
+ "lint-staged": "15.3.0",
55
55
  "mocha": "11.0.1",
56
56
  "mocha-multi-reporters": "1.5.1",
57
- "rollup": "4.28.1",
57
+ "rollup": "4.29.1",
58
58
  "rollup-plugin-checksum": "1.0.1",
59
59
  "rollup-plugin-cleanup": "3.2.1",
60
60
  "rollup-plugin-eslint-bundle": "9.0.0",
package/src/index.js CHANGED
@@ -248,7 +248,7 @@
248
248
  sampleRUM('cwv', data);
249
249
  };
250
250
  const isEager = (metric) => ['CLS', 'LCP'].includes(metric);
251
- ['FID', 'INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => {
251
+ ['INP', 'TTFB', 'CLS', 'LCP'].forEach((metric) => {
252
252
  const metricFn = window.webVitals[`on${metric}`];
253
253
  if (typeof metricFn === 'function') {
254
254
  let opts = {};
package/src/index.md5 CHANGED
@@ -1 +1 @@
1
- 04eb0119fbaa5f7d37e24a608bbb8195
1
+ 2b54b4b328b08aa2e60c2ffb42edd06b