@adobe/spacecat-shared-rum-api-client 2.20.0 → 2.20.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-rum-api-client-v2.20.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.20.1...@adobe/spacecat-shared-rum-api-client-v2.20.2) (2025-02-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#587](https://github.com/adobe/spacecat-shared/issues/587)) ([14cce0a](https://github.com/adobe/spacecat-shared/commit/14cce0aa900b4a1b3bbec2d48e6d37766c7769ee))
7
+
8
+ # [@adobe/spacecat-shared-rum-api-client-v2.20.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.20.0...@adobe/spacecat-shared-rum-api-client-v2.20.1) (2025-02-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **rum-api-client:** suppress rum logs ([#586](https://github.com/adobe/spacecat-shared/issues/586)) ([7cfe551](https://github.com/adobe/spacecat-shared/commit/7cfe55138c89bb21c8e16c59a7bfa26ff2cf8e80))
14
+
1
15
  # [@adobe/spacecat-shared-rum-api-client-v2.20.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.19.1...@adobe/spacecat-shared-rum-api-client-v2.20.0) (2025-02-06)
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.20.0",
3
+ "version": "2.20.2",
4
4
  "description": "Shared modules of the Spacecat Services - Rum API client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "chai": "5.1.2",
48
48
  "chai-as-promised": "8.0.1",
49
- "nock": "14.0.0",
49
+ "nock": "14.0.1",
50
50
  "sinon": "19.0.2",
51
51
  "sinon-chai": "4.0.0",
52
52
  "typescript": "5.7.3"
@@ -193,8 +193,6 @@ async function fetchBundles(opts, log) {
193
193
  // eslint-disable-next-line no-loop-func
194
194
  const responses = await Promise.all(chunk.map(async (url) => {
195
195
  const response = await fetch(url);
196
- const xCache = response.headers.get('x-cache')?.toLowerCase().includes('hit');
197
- log.info(`Retrieving RUM bundles. Source: ${xCache ? 'CDN' : 'ORIGIN'}. Granularity: ${granularity}. Domain: ${domain}`);
198
196
  totalTransferSize += parseInt(response.headers.get('content-length'), 10);
199
197
  return response;
200
198
  }));