ac-sqs 2.0.1 → 2.0.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 +15 -0
- package/index.js +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
<a name="2.0.2"></a>
|
|
2
|
+
|
|
3
|
+
## [2.0.2](https://github.com/admiralcloud/ac-sqs/compare/v2.0.1..v2.0.2) (2023-08-26 14:18:17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fix
|
|
7
|
+
|
|
8
|
+
* **App:** Don't create an error mapping a non existing result when receiving messages | MP | [f24ac7d20edff29e8ded7f2eb8728910046ce62e](https://github.com/admiralcloud/ac-sqs/commit/f24ac7d20edff29e8ded7f2eb8728910046ce62e)
|
|
9
|
+
My commit description
|
|
10
|
+
Related issues: [admiralcloud/ac-sqs#1](https://github.com/admiralcloud/ac-sqs/issues/1) [admiralcloud/ac-api-server#340](https://github.com/admiralcloud/ac-api-server/issues/340)
|
|
11
|
+
### Chores
|
|
12
|
+
|
|
13
|
+
* **App:** Updated packages | MP | [818c035b3375f2222d1b316d64273e48286b6aaf](https://github.com/admiralcloud/ac-sqs/commit/818c035b3375f2222d1b316d64273e48286b6aaf)
|
|
14
|
+
Updated packages
|
|
15
|
+
Related issues: [admiralcloud/ac-sqs#1](https://github.com/admiralcloud/ac-sqs/issues/1) [admiralcloud/ac-api-server#340](https://github.com/admiralcloud/ac-api-server/issues/340)
|
|
1
16
|
<a name="2.0.1"></a>
|
|
2
17
|
|
|
3
18
|
## [2.0.1](https://github.com/admiralcloud/ac-sqs/compare/v2.0.0..v2.0.1) (2023-07-02 13:28:31)
|
package/index.js
CHANGED
|
@@ -131,6 +131,7 @@ class ACSQS {
|
|
|
131
131
|
const command = new ReceiveMessageCommand(sqsParams)
|
|
132
132
|
try {
|
|
133
133
|
const result = await this.sqs.send(command)
|
|
134
|
+
if (!_.size(result.Messages)) return
|
|
134
135
|
const messages = await Promise.all(result.Messages.map(async message => {
|
|
135
136
|
if (message.Body.startsWith('s3:')) {
|
|
136
137
|
const key = message.Body.replace('s3:', '')
|
package/package.json
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
"author": "Mark Poepping (https://www.admiralcloud.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "admiralcloud/ac-sqs",
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.2",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@aws-sdk/client-s3": "^3.
|
|
9
|
-
"@aws-sdk/client-sqs": "^3.
|
|
10
|
-
"@aws-sdk/credential-providers": "^3.
|
|
8
|
+
"@aws-sdk/client-s3": "^3.400.0",
|
|
9
|
+
"@aws-sdk/client-sqs": "^3.398.0",
|
|
10
|
+
"@aws-sdk/credential-providers": "^3.398.0",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"uuid": "^9.0.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"ac-semantic-release": "^0.4.
|
|
16
|
-
"chai": "^4.3.
|
|
17
|
-
"eslint": "^8.
|
|
15
|
+
"ac-semantic-release": "^0.4.2",
|
|
16
|
+
"chai": "^4.3.8",
|
|
17
|
+
"eslint": "^8.48.0",
|
|
18
18
|
"mocha": "^10.x"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|