ac-sqs 2.0.2 → 2.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/index.js +2 -1
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ <a name="2.0.3"></a>
2
+
3
+ ## [2.0.3](https://github.com/admiralcloud/ac-sqs/compare/v2.0.2..v2.0.3) (2023-09-06 09:29:40)
4
+
5
+
6
+ ### Bug Fix
7
+
8
+ * **App:** Allow suffix for lists | MP | [5b2395593896a83dd8bbd6a558e589c8d0a2f0c7](https://github.com/admiralcloud/ac-sqs/commit/5b2395593896a83dd8bbd6a558e589c8d0a2f0c7)
9
+ Allow suffix for lists
10
+ Related issues: [undefined/undefined#master](undefined/browse/master)
11
+ ### Chores
12
+
13
+ * **App:** Updated packages | MP | [0a96ae8df4a46863bd8faeccdfde674b37338055](https://github.com/admiralcloud/ac-sqs/commit/0a96ae8df4a46863bd8faeccdfde674b37338055)
14
+ Updated packages
15
+ Related issues: [undefined/undefined#master](undefined/browse/master)
1
16
  <a name="2.0.2"></a>
2
17
 
3
18
  ## [2.0.2](https://github.com/admiralcloud/ac-sqs/compare/v2.0.1..v2.0.2) (2023-08-26 14:18:17)
package/index.js CHANGED
@@ -48,11 +48,12 @@ class ACSQS {
48
48
  return response
49
49
  }
50
50
 
51
- async getQueueUrl({ name, fifo, localPrefix }) {
51
+ async getQueueUrl({ name, fifo, localPrefix, suffix }) {
52
52
  let queueUrl = `https://sqs.${this.region}.amazonaws.com/${this.account}/`
53
53
  if (localPrefix) queueUrl += `local_${localPrefix}_`
54
54
  if (process.env['NODE_ENV'] === 'test') queueUrl += 'test_'
55
55
  queueUrl += name
56
+ if (suffix) queueUrl += suffix
56
57
  if (fifo) queueUrl += '.fifo'
57
58
  return queueUrl
58
59
  }
package/package.json CHANGED
@@ -3,11 +3,11 @@
3
3
  "author": "Mark Poepping (https://www.admiralcloud.com)",
4
4
  "license": "MIT",
5
5
  "repository": "admiralcloud/ac-sqs",
6
- "version": "2.0.2",
6
+ "version": "2.0.3",
7
7
  "dependencies": {
8
- "@aws-sdk/client-s3": "^3.400.0",
9
- "@aws-sdk/client-sqs": "^3.398.0",
10
- "@aws-sdk/credential-providers": "^3.398.0",
8
+ "@aws-sdk/client-s3": "^3.405.0",
9
+ "@aws-sdk/client-sqs": "^3.405.0",
10
+ "@aws-sdk/credential-providers": "^3.405.0",
11
11
  "lodash": "^4.17.21",
12
12
  "uuid": "^9.0.0"
13
13
  },