ac-sqs 4.0.8 → 4.0.9
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/.ncurc.js +1 -1
- package/CHANGELOG.md +8 -0
- package/index.js +3 -3
- package/package.json +2 -3
package/.ncurc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [4.0.9](https://github.com/admiralcloud/ac-sqs/compare/v4.0.8..v4.0.9) (2026-04-24 19:01:18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fix
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **App:** Package updates | Replaced uuid package with built-in function | MP | [b91ecb3be31a2c1f9296595e1fc36f55a26cd725](https://github.com/admiralcloud/ac-sqs/commit/b91ecb3be31a2c1f9296595e1fc36f55a26cd725)
|
|
8
|
+
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
1
9
|
## [4.0.8](https://github.com/admiralcloud/ac-sqs/compare/v4.0.7..v4.0.8) (2026-04-24 18:57:41)
|
|
2
10
|
|
|
3
11
|
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const _ = require('lodash')
|
|
2
|
-
const {
|
|
2
|
+
const { randomUUID } = require('crypto')
|
|
3
3
|
const { setTimeout: sleep } = require('timers/promises')
|
|
4
4
|
|
|
5
5
|
const { SQSClient, SendMessageCommand, SendMessageBatchCommand, ReceiveMessageCommand, DeleteMessageBatchCommand, GetQueueAttributesCommand, ChangeMessageVisibilityBatchCommand, GetQueueUrlCommand, CreateQueueCommand } = require('@aws-sdk/client-sqs')
|
|
@@ -405,7 +405,7 @@ class ACSQS {
|
|
|
405
405
|
|
|
406
406
|
if (this.useS3 && message.length > messageThreshold) {
|
|
407
407
|
// store message in S3
|
|
408
|
-
const key =
|
|
408
|
+
const key = randomUUID()
|
|
409
409
|
const input = {
|
|
410
410
|
Bucket: this.bucket,
|
|
411
411
|
Key: key,
|
|
@@ -451,7 +451,7 @@ class ACSQS {
|
|
|
451
451
|
|
|
452
452
|
let processedBody = messageBody
|
|
453
453
|
if (this.useS3 && messageBody.length > this.messageThreshold) {
|
|
454
|
-
const key =
|
|
454
|
+
const key = randomUUID()
|
|
455
455
|
const input = {
|
|
456
456
|
Bucket: this.bucket,
|
|
457
457
|
Key: key,
|
package/package.json
CHANGED
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
"author": "Mark Poepping (https://www.admiralcloud.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "admiralcloud/ac-sqs",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.9",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@aws-sdk/client-s3": "^3.1036.0",
|
|
9
9
|
"@aws-sdk/client-sqs": "^3.1036.0",
|
|
10
|
-
"lodash": "^4.18.1"
|
|
11
|
-
"uuid": "^11.1.0"
|
|
10
|
+
"lodash": "^4.18.1"
|
|
12
11
|
},
|
|
13
12
|
"devDependencies": {
|
|
14
13
|
"ac-semantic-release": "^1.0.2",
|