@adobe/helix-rum-enhancer
Advanced tools
Comparing version 1.16.0 to 1.17.0
@@ -0,1 +1,8 @@ | ||
# [1.17.0](https://github.com/adobe/helix-rum-enhancer/compare/v1.16.0...v1.17.0) (2024-05-07) | ||
### Features | ||
* enable reportAll for all projects ([0e295ff](https://github.com/adobe/helix-rum-enhancer/commit/0e295ffd65fa72962b397b85b0355fd066163086)) | ||
# [1.16.0](https://github.com/adobe/helix-rum-enhancer/compare/v1.15.3...v1.16.0) (2024-05-06) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-rum-enhancer", | ||
"version": "1.16.0", | ||
"version": "1.17.0", | ||
"description": "Helix RUM Enhancer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -110,3 +110,2 @@ /* | ||
const featureToggle = () => ['blog.adobe.com', 'www.revolt.tv'].includes(window.location.hostname); | ||
const isEager = (metric) => ['CLS', 'LCP'].includes(metric); | ||
@@ -119,3 +118,3 @@ | ||
if (typeof metricFn === 'function') { | ||
const opts = isEager(metric) ? { reportAllChanges: featureToggle() } : undefined; | ||
const opts = isEager(metric) ? { reportAllChanges: true } : undefined; | ||
metricFn(storeCWV, opts); | ||
@@ -122,0 +121,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43810
236