@adobe/helix-rum-enhancer 2.8.0 → 2.9.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.9.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.8.0...v2.9.0) (2024-05-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * **missingresource:** remove feature flag (2.x) ([0905922](https://github.com/adobe/helix-rum-enhancer/commit/090592240fe2e6b05afc5044a20d11113b8d5f21))
7
+
1
8
  # [2.8.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.7.6...v2.8.0) (2024-05-24)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -203,15 +203,11 @@ function addLoadResourceTracking() {
203
203
  .forEach((entry) => {
204
204
  sampleRUM('loadresource', { source: entry.name, target: Math.round(entry.duration) });
205
205
  });
206
-
207
- if (window.origin === 'business.adobe.com') {
208
- // feature flagged for now
209
- list.getEntries()
210
- .filter((entry) => entry.responseStatus === 404)
211
- .forEach((entry) => {
212
- sampleRUM('missingresource', { source: entry.name, target: entry.hostname });
213
- });
214
- }
206
+ list.getEntries()
207
+ .filter((entry) => entry.responseStatus === 404)
208
+ .forEach((entry) => {
209
+ sampleRUM('missingresource', { source: entry.name, target: entry.hostname });
210
+ });
215
211
  } catch (error) {
216
212
  // something went wrong
217
213
  }