@adobe/spacecat-shared-utils 1.23.4 → 1.23.6

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-utils-v1.23.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.23.5...@adobe/spacecat-shared-utils-v1.23.6) (2024-12-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **sqs-wrapper:** decrease error log level ([#483](https://github.com/adobe/spacecat-shared/issues/483)) ([2c7bc99](https://github.com/adobe/spacecat-shared/commit/2c7bc998d0d137b24ca84356a4445a76e63053e3))
7
+
8
+ # [@adobe/spacecat-shared-utils-v1.23.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.23.4...@adobe/spacecat-shared-utils-v1.23.5) (2024-12-07)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/fetch to v4.1.11 ([#478](https://github.com/adobe/spacecat-shared/issues/478)) ([5fb4270](https://github.com/adobe/spacecat-shared/commit/5fb427066dd20b9525ee3420c0546f7bcad2c914))
14
+
1
15
  # [@adobe/spacecat-shared-utils-v1.23.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.23.3...@adobe/spacecat-shared-utils-v1.23.4) (2024-12-07)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.23.4",
3
+ "version": "1.23.6",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "engines": {
@@ -44,7 +44,7 @@
44
44
  "sinon-chai": "4.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "@adobe/fetch": "4.1.10",
47
+ "@adobe/fetch": "4.1.11",
48
48
  "@aws-sdk/client-s3": "3.705.0",
49
49
  "@aws-sdk/client-sqs": "3.699.0",
50
50
  "@json2csv/plainjs": "7.0.6",
package/src/sqs.js CHANGED
@@ -96,7 +96,7 @@ export function sqsEventAdapter(fn) {
96
96
  message = JSON.parse(records[0]?.body);
97
97
  log.info(`Received message with id: ${records[0]?.messageId}`);
98
98
  } catch (e) {
99
- log.error('Function was not invoked properly, message body is not a valid JSON', e);
99
+ log.warn('Function was not invoked properly, message body is not a valid JSON', e);
100
100
  return new Response('', {
101
101
  status: 400,
102
102
  headers: {