@adobe/helix-admin-support 2.2.21 → 2.3.1
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
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.3.1](https://github.com/adobe/helix-admin-support/compare/v2.3.0...v2.3.1) (2023-11-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([#202](https://github.com/adobe/helix-admin-support/issues/202)) ([2a1e8fb](https://github.com/adobe/helix-admin-support/commit/2a1e8fbe3cf8b3f66010b965b1fd6547b306556d))
|
|
7
|
+
|
|
8
|
+
# [2.3.0](https://github.com/adobe/helix-admin-support/compare/v2.2.21...v2.3.0) (2023-11-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add defaultRole ([#201](https://github.com/adobe/helix-admin-support/issues/201)) ([5115488](https://github.com/adobe/helix-admin-support/commit/5115488c6ef639cf7dac3e8ff2129ee3abecd44e))
|
|
14
|
+
|
|
1
15
|
## [2.2.21](https://github.com/adobe/helix-admin-support/compare/v2.2.20...v2.2.21) (2023-11-04)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-admin-support",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Helix Admin Support Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@adobe/fetch": "4.1.1",
|
|
38
38
|
"@adobe/helix-shared-config": "10.3.6",
|
|
39
39
|
"@adobe/helix-shared-utils": "3.0.0",
|
|
40
|
-
"@aws-sdk/client-s3": "3.
|
|
41
|
-
"@aws-sdk/client-sqs": "3.
|
|
40
|
+
"@aws-sdk/client-s3": "3.449.0",
|
|
41
|
+
"@aws-sdk/client-sqs": "3.449.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.370.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"jsdoc-to-markdown": "8.0.0",
|
|
54
54
|
"json-schema-to-typescript": "13.1.1",
|
|
55
55
|
"junit-report-builder": "3.1.0",
|
|
56
|
-
"lint-staged": "15.0
|
|
56
|
+
"lint-staged": "15.1.0",
|
|
57
57
|
"mocha": "10.2.0",
|
|
58
58
|
"mocha-multi-reporters": "1.5.1",
|
|
59
59
|
"nock": "13.3.8",
|
|
@@ -157,7 +157,7 @@ export class BatchedQueueClient {
|
|
|
157
157
|
const result = await sqs.send(new DeleteMessageBatchCommand({
|
|
158
158
|
QueueUrl: this.inQueue,
|
|
159
159
|
Entries: batch.map((msg, idx) => ({
|
|
160
|
-
Id: idx
|
|
160
|
+
Id: `msg${idx}`,
|
|
161
161
|
ReceiptHandle: msg.ReceiptHandle,
|
|
162
162
|
})),
|
|
163
163
|
}));
|
|
@@ -241,7 +241,7 @@ export class BatchedQueueClient {
|
|
|
241
241
|
const result = await sqs.send(new SendMessageBatchCommand({
|
|
242
242
|
QueueUrl: this.outQueue,
|
|
243
243
|
Entries: batch.map((data, idx) => ({
|
|
244
|
-
Id: idx
|
|
244
|
+
Id: `msg${idx}`,
|
|
245
245
|
...data,
|
|
246
246
|
})),
|
|
247
247
|
}));
|
|
@@ -156,6 +156,20 @@
|
|
|
156
156
|
}
|
|
157
157
|
]
|
|
158
158
|
},
|
|
159
|
+
"defaultRole": {
|
|
160
|
+
"description": "the default roles assigned to the users. defaults to `basic_publish` for unauthenticated setups.",
|
|
161
|
+
"oneOf": [
|
|
162
|
+
{
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"type": "string"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
159
173
|
"apiKeyId": {
|
|
160
174
|
"description": "the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.",
|
|
161
175
|
"oneOf": [
|
|
@@ -153,6 +153,10 @@ export interface AdminConfig {
|
|
|
153
153
|
* Enforce authentication if set to true. If set to 'auto' it will enforce authentication if a role mapping is defined. defaults to 'auto'.
|
|
154
154
|
*/
|
|
155
155
|
requireAuth?: boolean | 'auto';
|
|
156
|
+
/**
|
|
157
|
+
* the default roles assigned to the users. defaults to `basic_publish` for unauthenticated setups.
|
|
158
|
+
*/
|
|
159
|
+
defaultRole?: string | string[];
|
|
156
160
|
/**
|
|
157
161
|
* the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
158
162
|
*/
|