notification-processor 6.0.4 → 6.0.6-alpha.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,17 @@
1
+ ## [6.0.6-alpha.1](https://github.com/Parsimotion/notification-processor/compare/v6.0.5...v6.0.6-alpha.1) (2026-02-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * get message from Message object ([ebc26c0](https://github.com/Parsimotion/notification-processor/commit/ebc26c05af0098faa206b2b048e05156d0008fec))
7
+
8
+ ## [6.0.5](https://github.com/Parsimotion/notification-processor/compare/v6.0.4...v6.0.5) (2026-02-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add message error ([1a0f457](https://github.com/Parsimotion/notification-processor/commit/1a0f4573a2311c86804f72f12255d1cd56e1e062))
14
+
1
15
  ## [6.0.4](https://github.com/Parsimotion/notification-processor/compare/v6.0.3...v6.0.4) (2025-10-29)
2
16
 
3
17
 
@@ -94,7 +94,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
94
94
  key: "_sanitizeError_",
95
95
  value: function _sanitizeError_(err) {
96
96
  boundMethodCheck(this, JobProcessor);
97
- return _.pick(err, ["statusCode", "error"]);
97
+ return _.pick(err, ["statusCode", "error", "message"]);
98
98
  }
99
99
  }, {
100
100
  key: "_onMaxRetryExceeded_",
@@ -12,7 +12,7 @@
12
12
  message = _ref.message;
13
13
 
14
14
  return {
15
- message: message,
15
+ message: !_.isObject(message.Message) ? JSON.parse(message.Message) : message.Message,
16
16
  meta: {
17
17
  insertionTime: _.get(context, "bindingData.sentTimestamp"),
18
18
  dequeueCount: _.get(context, "bindingData.approximateReceiveCount"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notification-processor",
3
- "version": "6.0.4",
3
+ "version": "6.0.6-alpha.1",
4
4
  "description": "notification-processor",
5
5
  "main": "index.js",
6
6
  "scripts": {