notification-processor 4.18.1 → 4.18.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.
@@ -27,8 +27,8 @@
27
27
  nonRetryable: nonRetryable,
28
28
  notificationApiUrl: notificationApiUrl
29
29
  });
30
- return function (it) {
31
- return jobProcesor.process(it);
30
+ return function (it, context, executionId) {
31
+ return jobProcesor.process(it, context, executionId);
32
32
  };
33
33
  };
34
34
  }).call(undefined);
@@ -61,12 +61,12 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
61
61
 
62
62
  _createClass(JobProcessor, [{
63
63
  key: "process",
64
- value: function process(notification) {
64
+ value: function process(notification, context, executionId) {
65
65
  var _this2 = this;
66
66
 
67
67
  boundMethodCheck(this, JobProcessor);
68
68
  return this._ifJobIsNotStopped(notification.message, function () {
69
- return _get(JobProcessor.prototype.__proto__ || Object.getPrototypeOf(JobProcessor.prototype), "process", _this2).call(_this2, notification).thenReturn();
69
+ return _get(JobProcessor.prototype.__proto__ || Object.getPrototypeOf(JobProcessor.prototype), "process", _this2).call(_this2, notification, context, executionId).thenReturn();
70
70
  });
71
71
  }
72
72
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notification-processor",
3
- "version": "4.18.1",
3
+ "version": "4.18.2",
4
4
  "description": "notification-processor",
5
5
  "main": "index.js",
6
6
  "scripts": {