@adobe/spacecat-shared-rum-api-client 2.7.0 → 2.7.1

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
+ # [@adobe/spacecat-shared-rum-api-client-v2.7.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.7.0...@adobe/spacecat-shared-rum-api-client-v2.7.1) (2024-08-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * missing source in the experiment checkpoint ([#319](https://github.com/adobe/spacecat-shared/issues/319)) ([952a50a](https://github.com/adobe/spacecat-shared/commit/952a50a2d90bcbd6c4146460f0a51a178bf1e596))
7
+
1
8
  # [@adobe/spacecat-shared-rum-api-client-v2.7.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.6.0...@adobe/spacecat-shared-rum-api-client-v2.7.0) (2024-08-06)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-rum-api-client",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Shared modules of the Spacecat Services - Rum API client",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -95,7 +95,7 @@ function handler(bundles) {
95
95
  const experimentInsights = {};
96
96
  for (const bundle of bundles) {
97
97
  const experimentEvents = bundle.events?.filter(
98
- (e) => EXPERIMENT_CHECKPOINT.includes(e.checkpoint),
98
+ (e) => (EXPERIMENT_CHECKPOINT.includes(e.checkpoint) && e.source),
99
99
  );
100
100
  const { url, weight, time } = bundle;
101
101
  const metrics = calculateMetrics(bundle);