@adobe/helix-rum-enhancer 1.15.3 → 1.16.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
+ # [1.16.0](https://github.com/adobe/helix-rum-enhancer/compare/v1.15.3...v1.16.0) (2024-05-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * **missingresource:** remove feature flag (1.x) ([0bad440](https://github.com/adobe/helix-rum-enhancer/commit/0bad4407a2190eccb0298ce58b60b571aab3e9b3))
7
+
1
8
  ## [1.15.3](https://github.com/adobe/helix-rum-enhancer/compare/v1.15.2...v1.15.3) (2024-04-22)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "1.15.3",
3
+ "version": "1.16.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -182,14 +182,11 @@ new PerformanceObserver((list) => {
182
182
  .forEach((entry) => {
183
183
  sampleRUM('loadresource', { source: entry.name, target: Math.round(entry.duration) });
184
184
  });
185
- if (window.origin === 'business.adobe.com') {
186
- // feature flagged for now
187
- list.getEntries()
188
- .filter((entry) => entry.responseStatus === 404)
189
- .forEach((entry) => {
190
- sampleRUM('missingresource', { source: entry.name, target: entry.hostname });
191
- });
192
- }
185
+ list.getEntries()
186
+ .filter((entry) => entry.responseStatus === 404)
187
+ .forEach((entry) => {
188
+ sampleRUM('missingresource', { source: entry.name, target: entry.hostname });
189
+ });
193
190
  }).observe({ type: 'resource', buffered: true });
194
191
 
195
192
  [...new URLSearchParams(window.location.search).entries()]