@adobe/spacecat-shared-rum-api-client 2.27.0 → 2.27.2
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 +14 -0
- package/package.json +2 -2
- package/src/functions/form-vitals.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-rum-api-client-v2.27.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.27.1...@adobe/spacecat-shared-rum-api-client-v2.27.2) (2025-05-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* disregarding CTAs without a valid source for low nav opportunities ([#769](https://github.com/adobe/spacecat-shared/issues/769)) ([1dc5d30](https://github.com/adobe/spacecat-shared/commit/1dc5d30ddaa4291061ea29c52c797aa6cfdca670))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-rum-api-client-v2.27.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.27.0...@adobe/spacecat-shared-rum-api-client-v2.27.1) (2025-05-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update adobe fixes ([#763](https://github.com/adobe/spacecat-shared/issues/763)) ([643b396](https://github.com/adobe/spacecat-shared/commit/643b396130e9144f87099935204927b5522aff68))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-rum-api-client-v2.27.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.26.0...@adobe/spacecat-shared-rum-api-client-v2.27.0) (2025-05-26)
|
|
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.27.
|
|
3
|
+
"version": "2.27.2",
|
|
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.2",
|
|
39
39
|
"@adobe/helix-shared-wrap": "2.0.2",
|
|
40
|
-
"@adobe/helix-universal": "5.2.
|
|
40
|
+
"@adobe/helix-universal": "5.2.2",
|
|
41
41
|
"@adobe/spacecat-shared-utils": "1.26.4",
|
|
42
42
|
"@adobe/rum-distiller": "1.16.3",
|
|
43
43
|
"aws4": "1.13.2",
|
|
@@ -114,7 +114,7 @@ function findFormCTAForInternalNavigation(bundles, formVitals) {
|
|
|
114
114
|
totalClickOnPage += bundle.weight;
|
|
115
115
|
const clickCheckpoint = bundle.events.find((e) => e.checkpoint === 'click' && e.target === url);
|
|
116
116
|
|
|
117
|
-
if (clickCheckpoint) {
|
|
117
|
+
if (clickCheckpoint && clickCheckpoint.source) {
|
|
118
118
|
const { source } = clickCheckpoint;
|
|
119
119
|
// Retrieves the existing CTA object if it exists; otherwise,
|
|
120
120
|
// initializes a new one with default values.
|