@adobe/helix-rum-enhancer
Advanced tools
Comparing version 1.11.1 to 1.12.0
@@ -0,1 +1,8 @@ | ||
# [1.12.0](https://github.com/adobe/helix-rum-enhancer/compare/v1.11.1...v1.12.0) (2024-03-04) | ||
### Features | ||
* **resources:** add missingresource checkpoint behind feature toggle ([204af90](https://github.com/adobe/helix-rum-enhancer/commit/204af900ddcd58fc68ecf57593a98dddec12f36d)) | ||
## [1.11.1](https://github.com/adobe/helix-rum-enhancer/compare/v1.11.0...v1.11.1) (2024-02-28) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-rum-enhancer", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"description": "Helix RUM Enhancer", | ||
@@ -35,13 +35,13 @@ "main": "src/index.js", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/npm": "11.0.2", | ||
"c8": "9.0.0", | ||
"@semantic-release/npm": "11.0.3", | ||
"c8": "9.1.0", | ||
"codecov": "3.8.3", | ||
"eslint": "8.56.0", | ||
"eslint": "8.57.0", | ||
"eslint-plugin-header": "3.1.1", | ||
"eslint-plugin-import": "2.29.1", | ||
"husky": "8.0.3", | ||
"jsdoc-to-markdown": "8.0.0", | ||
"junit-report-builder": "3.1.0", | ||
"lint-staged": "15.2.0", | ||
"mocha": "10.2.0", | ||
"jsdoc-to-markdown": "8.0.1", | ||
"junit-report-builder": "3.2.1", | ||
"lint-staged": "15.2.2", | ||
"mocha": "10.3.0", | ||
"mocha-multi-reporters": "1.5.1", | ||
@@ -48,0 +48,0 @@ "semantic-release": "22.0.12" |
@@ -170,3 +170,11 @@ /* | ||
}); | ||
if (window.origin === 'business.adobe.com') { | ||
// feature flagged for now | ||
list.getEntries() | ||
.filter((entry) => entry.responseStatus === 404) | ||
.forEach((entry) => { | ||
sampleRUM('missingresource', { source: entry.name, target: entry.hostname }); | ||
}); | ||
} | ||
}); | ||
observer.observe({ type: 'resource', buffered: true }); |
39718
223