ac-sqs 3.1.0 → 3.1.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 +23 -0
- package/index.js +3 -3
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
## [3.1.2](https://github.com/admiralcloud/ac-sqs/compare/v3.1.1..v3.1.2) (2025-04-23 07:40:43)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fix
|
|
6
|
+
|
|
7
|
+
* **App:** Typo fix | MP | [b489342c092aae0b00691c28c46bed733a4d4823](https://github.com/admiralcloud/ac-sqs/commit/b489342c092aae0b00691c28c46bed733a4d4823)
|
|
8
|
+
Fixed missing variable
|
|
9
|
+
Related issues:
|
|
10
|
+
### Chores
|
|
11
|
+
|
|
12
|
+
* **App:** Updated packages | MP | [b031aaae6dc266584668577c008e4fd22254fc98](https://github.com/admiralcloud/ac-sqs/commit/b031aaae6dc266584668577c008e4fd22254fc98)
|
|
13
|
+
Updated packages
|
|
14
|
+
Related issues:
|
|
15
|
+
|
|
16
|
+
## [3.1.1](https://github.com/admiralcloud/ac-sqs/compare/v3.1.0..v3.1.1) (2025-04-12 09:17:43)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fix
|
|
20
|
+
|
|
21
|
+
* **App:** Allow MessageId or Id for deletion requests | MP | [914e624a44c045771e3518eb94cb8dc6b8272bd4](https://github.com/admiralcloud/ac-sqs/commit/914e624a44c045771e3518eb94cb8dc6b8272bd4)
|
|
22
|
+
Allow MessageId or Id for deletion requests
|
|
23
|
+
Related issues:
|
|
1
24
|
|
|
2
25
|
# [3.1.0](https://github.com/admiralcloud/ac-sqs/compare/v3.0.0..v3.1.0) (2025-04-12 08:11:38)
|
|
3
26
|
|
package/index.js
CHANGED
|
@@ -110,7 +110,7 @@ class ACSQS {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
async extendVisibility({ name, message }) {
|
|
113
|
+
async extendVisibility({ name, message, throwError }) {
|
|
114
114
|
const config = _.find(this.availableLists, { name })
|
|
115
115
|
if (!config) {
|
|
116
116
|
this.logger.error('AWS | extendVisibility | configurationMissing | %s', name)
|
|
@@ -245,11 +245,11 @@ class ACSQS {
|
|
|
245
245
|
const entries = []
|
|
246
246
|
const s3keys = []
|
|
247
247
|
for (const item of items) {
|
|
248
|
-
|
|
248
|
+
const messageId = item.MessageId || item.Id
|
|
249
|
+
entries.push({ Id: messageId, ReceiptHandle: item.ReceiptHandle })
|
|
249
250
|
if (item.s3key) {
|
|
250
251
|
s3keys.push({ Key: item.s3key })
|
|
251
252
|
}
|
|
252
|
-
const messageId = item.Id
|
|
253
253
|
if (this.visibilityTimer[messageId]) {
|
|
254
254
|
this.deleteVisibilityTimer({ messageId })
|
|
255
255
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mark Poepping (https://www.admiralcloud.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "admiralcloud/ac-sqs",
|
|
6
|
-
"version": "3.1.
|
|
6
|
+
"version": "3.1.2",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@aws-sdk/client-s3": "^3.787.0",
|
|
9
9
|
"@aws-sdk/client-sqs": "^3.787.0",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"uuid": "^11.1.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"ac-semantic-release": "^0.4.
|
|
14
|
+
"ac-semantic-release": "^0.4.6",
|
|
15
15
|
"chai": "^4.5.0",
|
|
16
|
-
"eslint": "^9.
|
|
17
|
-
"mocha": "^11.
|
|
16
|
+
"eslint": "^9.25.1",
|
|
17
|
+
"mocha": "^11.2.2"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"test": "mocha --reporter spec"
|
|
@@ -24,5 +24,6 @@
|
|
|
24
24
|
},
|
|
25
25
|
"resolutions": {
|
|
26
26
|
"mocha/chokidar/braces": "^3.0.3"
|
|
27
|
-
}
|
|
27
|
+
},
|
|
28
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
28
29
|
}
|