@adobe/spacecat-shared-rum-api-client 2.24.1 → 2.24.3

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,17 @@
1
+ # [@adobe/spacecat-shared-rum-api-client-v2.24.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.24.2...@adobe/spacecat-shared-rum-api-client-v2.24.3) (2025-05-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * detect iframe forms; bug fix for duplicated iframes with # ([#736](https://github.com/adobe/spacecat-shared/issues/736)) ([5243220](https://github.com/adobe/spacecat-shared/commit/524322096233e393f59899deb9de24bdab201275))
7
+
8
+ # [@adobe/spacecat-shared-rum-api-client-v2.24.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.24.1...@adobe/spacecat-shared-rum-api-client-v2.24.2) (2025-05-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update adobe fixes ([#728](https://github.com/adobe/spacecat-shared/issues/728)) ([ff65d76](https://github.com/adobe/spacecat-shared/commit/ff65d76ff0be4dd734c3e47a94d542a492cf13fb))
14
+
1
15
  # [@adobe/spacecat-shared-rum-api-client-v2.24.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.24.0...@adobe/spacecat-shared-rum-api-client-v2.24.1) (2025-05-10)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-rum-api-client",
3
- "version": "2.24.1",
3
+ "version": "2.24.3",
4
4
  "description": "Shared modules of the Spacecat Services - Rum API client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@adobe/fetch": "4.2.1",
39
39
  "@adobe/helix-shared-wrap": "2.0.2",
40
- "@adobe/helix-universal": "5.2.0",
40
+ "@adobe/helix-universal": "5.2.1",
41
41
  "@adobe/spacecat-shared-utils": "1.26.4",
42
42
  "@adobe/rum-distiller": "1.16.3",
43
43
  "aws4": "1.13.2",
@@ -214,6 +214,17 @@ function handler(bundles) {
214
214
  });
215
215
  });
216
216
 
217
+ // remove duplicate urls with '#'
218
+ const iframeParentMapWithoutDuplicates = Object.fromEntries(
219
+ Object.entries(iframeParentMap).filter(([key]) => {
220
+ if (key.endsWith('#')) {
221
+ const baseUrl = key.slice(0, -1);
222
+ return !Object.prototype.hasOwnProperty.call(iframeParentMap, baseUrl);
223
+ }
224
+ return true;
225
+ }),
226
+ );
227
+
217
228
  // traffic acquisition data per url - uncomment this when required
218
229
  // const trafficByUrl = trafficAcquisition.handler(bundles);
219
230
  // const trafficByUrlMap = Object.fromEntries(
@@ -256,7 +267,7 @@ function handler(bundles) {
256
267
  const iframeParentVitalsMap = getParentPageVitalsGroupedByIFrame(
257
268
  bundles,
258
269
  dataChunks,
259
- iframeParentMap,
270
+ iframeParentMapWithoutDuplicates,
260
271
  );
261
272
 
262
273
  // populate internal navigation data