@adobe/spacecat-shared-rum-api-client 2.37.5 → 2.37.7

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.37.7](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.37.6...@adobe/spacecat-shared-rum-api-client-v2.37.7) (2025-09-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove unnecessary logs to reduce Coralogix usage ([#947](https://github.com/adobe/spacecat-shared/issues/947)) ([c93fa4f](https://github.com/adobe/spacecat-shared/commit/c93fa4f69238106caa0f8150df029e4535c99e39))
7
+
8
+ # [@adobe/spacecat-shared-rum-api-client-v2.37.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.37.5...@adobe/spacecat-shared-rum-api-client-v2.37.6) (2025-09-16)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-universal to v5.2.3 ([#963](https://github.com/adobe/spacecat-shared/issues/963)) ([6a433ea](https://github.com/adobe/spacecat-shared/commit/6a433ea495c0a68cb3129a51beed9388af277952))
14
+
1
15
  # [@adobe/spacecat-shared-rum-api-client-v2.37.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.37.4...@adobe/spacecat-shared-rum-api-client-v2.37.5) (2025-09-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.37.5",
3
+ "version": "2.37.7",
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.3",
39
39
  "@adobe/helix-shared-wrap": "2.0.2",
40
- "@adobe/helix-universal": "5.2.2",
40
+ "@adobe/helix-universal": "5.2.3",
41
41
  "@adobe/rum-distiller": "1.19.0",
42
42
  "@adobe/spacecat-shared-utils": "1.48.0",
43
43
  "aws4": "1.13.2",
@@ -302,11 +302,11 @@ async function fetchBundles(opts, log) {
302
302
  const currentCheckpoint = Math.floor(result.length / 50000);
303
303
 
304
304
  if (currentCheckpoint > lastCheckpoint) {
305
- log.info(`Checkpoint: Fetched ${result.length} bundles; resuming...`);
305
+ log.debug(`Checkpoint: Fetched ${result.length} bundles; resuming...`);
306
306
  lastCheckpoint = currentCheckpoint;
307
307
  }
308
308
  }
309
- log.info(`Retrieved all RUM bundles. Total transfer size (in KB): ${(totalTransferSize / 1024).toFixed(2)}`);
309
+ log.info(`Retrieved all RUM bundles. Total transfer size (in KB): ${(totalTransferSize / 1024).toFixed(2)}`); // if rum dashboards are no longer in use, remove this
310
310
 
311
311
  // Add failedUrls to opts object for access by callers
312
312
  if (failedUrls.length > 0) {
@@ -363,7 +363,7 @@ function createBundleStream(opts, log) {
363
363
  const currentCheckpoint = Math.floor(bundlesCount / 50000);
364
364
 
365
365
  if (currentCheckpoint > lastCheckpoint) {
366
- log.info(`Checkpoint: Fetched ${bundlesCount} bundles; resuming...`);
366
+ log.debug(`Checkpoint: Fetched ${bundlesCount} bundles; resuming...`);
367
367
  lastCheckpoint = currentCheckpoint;
368
368
  }
369
369
 
@@ -385,7 +385,7 @@ function createBundleStream(opts, log) {
385
385
 
386
386
  await Promise.all(workers);
387
387
 
388
- log.info(`Retrieved all RUM bundles. Total transfer size (in KB): ${(totalTransferSize / 1024).toFixed(2)}`);
388
+ log.info(`Retrieved all RUM bundles. Total transfer size (in KB): ${(totalTransferSize / 1024).toFixed(2)}`); // if rum dashboards are no longer in use, remove this
389
389
 
390
390
  // Add failedUrls to opts object for access by callers
391
391
  if (failedUrls.length > 0) {
package/src/index.js CHANGED
@@ -134,7 +134,7 @@ export default class RUMAPIClient {
134
134
  checkpoints,
135
135
  }, this.log);
136
136
 
137
- this.log.info(`Query "${query}" fetched ${bundles.length} bundles`);
137
+ this.log.debug(`Query "${query}" fetched ${bundles.length} bundles`); // maybe even remove?
138
138
  return handler(bundles, opts);
139
139
  } catch (e) {
140
140
  throw new Error(`Query '${query}' failed. Opts: ${JSON.stringify(sanitize(opts))}. Reason: ${e.message}`);
@@ -168,7 +168,7 @@ export default class RUMAPIClient {
168
168
  }, this.log);
169
169
 
170
170
  const results = {};
171
- this.log.info(`Multi query ${JSON.stringify(queries.join(', '))} fetched ${bundles.length} bundles`);
171
+ this.log.debug(`Multi query ${JSON.stringify(queries.join(', '))} fetched ${bundles.length} bundles`); // maybe even remove?
172
172
 
173
173
  // Execute each query handler sequentially
174
174
  for (const { query, handler } of queryHandlers) {