notification-processor 5.0.1 → 5.0.3
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
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## [5.0.3](https://github.com/Parsimotion/notification-processor/compare/v5.0.2...v5.0.3) (2025-07-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **release:** download build output ([28b6978](https://github.com/Parsimotion/notification-processor/commit/28b69781cef0bbc5983e15d5c184b214f5df6824))
|
|
7
|
+
|
|
8
|
+
## [5.0.2](https://github.com/Parsimotion/notification-processor/compare/v5.0.1...v5.0.2) (2025-07-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* agrego dequeuecount ([96b4b81](https://github.com/Parsimotion/notification-processor/commit/96b4b81797993a2a395a99cc38d8952976fef85f))
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
module.exports = {
|
|
10
10
|
newNotification: function newNotification(_ref) {
|
|
11
|
-
var
|
|
11
|
+
var context = _ref.context,
|
|
12
|
+
message = _ref.message;
|
|
12
13
|
|
|
13
14
|
return {
|
|
14
15
|
message: !_.isObject(message.Message) ? JSON.parse(message.Message) : message.Message,
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
} else {
|
|
27
28
|
return Value;
|
|
28
29
|
}
|
|
29
|
-
})
|
|
30
|
+
}),
|
|
31
|
+
dequeueCount: _.get(context, "bindingData.approximateReceiveCount")
|
|
30
32
|
},
|
|
31
33
|
type: "sqs"
|
|
32
34
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notification-processor",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "notification-processor",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "grunt test",
|
|
8
|
-
"build": "grunt build"
|
|
9
|
-
"prepublishOnly": "grunt build"
|
|
8
|
+
"build": "grunt build"
|
|
10
9
|
},
|
|
11
10
|
"repository": {
|
|
12
11
|
"type": "git",
|
|
@@ -30,7 +29,14 @@
|
|
|
30
29
|
"url-safe-base64": "^1.1.0",
|
|
31
30
|
"uuid": "^3.1.0"
|
|
32
31
|
},
|
|
32
|
+
"husky": {
|
|
33
|
+
"hooks": {
|
|
34
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
33
37
|
"devDependencies": {
|
|
38
|
+
"@commitlint/cli": "^11.0.0",
|
|
39
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
34
40
|
"babel-core": "^6.26.3",
|
|
35
41
|
"babel-preset-env": "^1.7.0",
|
|
36
42
|
"coffeescript": "^2.3.1",
|
|
@@ -38,6 +44,7 @@
|
|
|
38
44
|
"grunt-contrib-clean": "1.0.0",
|
|
39
45
|
"grunt-exec": "^3.0.0",
|
|
40
46
|
"grunt-mocha-test": "0.13.2",
|
|
47
|
+
"husky": "^4.3.8",
|
|
41
48
|
"mocha": "^5.2.0",
|
|
42
49
|
"nock": "^9.0.11",
|
|
43
50
|
"proxyquire": "^1.7.11",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
Note: This is just a template, so feel free to use/remove the unnecessary things
|
|
2
|
-
|
|
3
|
-
### Description
|
|
4
|
-
- Type: Bug | Enhancement | Question
|
|
5
|
-
- Related Issue: `#abc`
|
|
6
|
-
|
|
7
|
-
---------------------------------------------------------------
|
|
8
|
-
## Bug
|
|
9
|
-
**Expected Behavior**
|
|
10
|
-
|
|
11
|
-
**Actual Behavior**
|
|
12
|
-
|
|
13
|
-
**Steps to Reproduce**
|
|
14
|
-
|
|
15
|
-
----------------------------------------------------------------
|
|
16
|
-
## Enhancement
|
|
17
|
-
|
|
18
|
-
**Reason to enhance/problem with existing solution**
|
|
19
|
-
|
|
20
|
-
**Suggested enhancement**
|
|
21
|
-
|
|
22
|
-
**Pros**
|
|
23
|
-
|
|
24
|
-
**Cons**
|
|
25
|
-
|
|
26
|
-
-----------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
## Question
|
|
29
|
-
|
|
30
|
-
**How to?**
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"folders": [
|
|
3
|
-
{
|
|
4
|
-
"follow_symlinks": true,
|
|
5
|
-
"path": ".",
|
|
6
|
-
"folder_exclude_patterns": [".*", "ci", "dist", "node_modules", "client/bower_components"],
|
|
7
|
-
"file_exclude_patterns": [".*", "*.sublime-workspace"]
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"settings": {
|
|
11
|
-
"tab_size": 2,
|
|
12
|
-
"translate_tabs_to_spaces": true
|
|
13
|
-
}
|
|
14
|
-
}
|