@adobe/spacecat-shared-rum-api-client 2.38.2 → 2.38.4

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.38.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.38.3...@adobe/spacecat-shared-rum-api-client-v2.38.4) (2025-10-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **traffic-attribution:** handle non standard referrers ([#1040](https://github.com/adobe/spacecat-shared/issues/1040)) ([d0451f5](https://github.com/adobe/spacecat-shared/commit/d0451f58fd1afd46d00652b754924da62c4203d1))
7
+
8
+ # [@adobe/spacecat-shared-rum-api-client-v2.38.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.38.2...@adobe/spacecat-shared-rum-api-client-v2.38.3) (2025-10-18)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/rum-distiller to v1.20.8 ([#1033](https://github.com/adobe/spacecat-shared/issues/1033)) ([e3a0b99](https://github.com/adobe/spacecat-shared/commit/e3a0b99c9464d542631e6dd744a2d9c214eda314))
14
+
1
15
  # [@adobe/spacecat-shared-rum-api-client-v2.38.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.38.1...@adobe/spacecat-shared-rum-api-client-v2.38.2) (2025-10-15)
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.38.2",
3
+ "version": "2.38.4",
4
4
  "description": "Shared modules of the Spacecat Services - Rum API client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "@adobe/fetch": "4.2.3",
39
39
  "@adobe/helix-shared-wrap": "2.0.2",
40
40
  "@adobe/helix-universal": "5.2.3",
41
- "@adobe/rum-distiller": "1.20.0",
41
+ "@adobe/rum-distiller": "1.20.8",
42
42
  "@adobe/spacecat-shared-utils": "1.48.0",
43
43
  "aws4": "1.13.2",
44
44
  "urijs": "1.19.11"
@@ -11,7 +11,7 @@
11
11
  */
12
12
  /* eslint-disable object-curly-newline */
13
13
 
14
- import { hasText } from '@adobe/spacecat-shared-utils';
14
+ import { hasText, prependSchema } from '@adobe/spacecat-shared-utils';
15
15
  import URI from 'urijs';
16
16
 
17
17
  /**
@@ -26,7 +26,7 @@ import URI from 'urijs';
26
26
  */
27
27
  export function getSecondLevelDomain(url) {
28
28
  if (!hasText(url)) return url;
29
- const uri = new URI(url);
29
+ const uri = new URI(prependSchema(url));
30
30
  const tld = uri.tld();
31
31
  return uri.hostname().split(`.${tld}`)[0];
32
32
  }