@adobe/helix-admin-support 3.1.35 → 3.1.36

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,10 @@
1
+ ## [3.1.36](https://github.com/adobe/helix-admin-support/compare/v3.1.35...v3.1.36) (2025-03-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * provide default `key` if none provided ([#378](https://github.com/adobe/helix-admin-support/issues/378)) ([a2a7254](https://github.com/adobe/helix-admin-support/commit/a2a7254c5ab8a8811ed4f1895972d468c5f5c596))
7
+
1
8
  ## [3.1.35](https://github.com/adobe/helix-admin-support/compare/v3.1.34...v3.1.35) (2025-03-25)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-admin-support",
3
- "version": "3.1.35",
3
+ "version": "3.1.36",
4
4
  "description": "Helix Admin Support Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -179,7 +179,7 @@ export class BatchedQueueClient {
179
179
  async serialize(msg) {
180
180
  const { log } = this;
181
181
  const oldBody = JSON.parse(msg.MessageBody);
182
- const { owner, repo, key } = oldBody;
182
+ const { owner, repo, key = `${owner}/${repo}` } = oldBody;
183
183
  const swapKey = `${this.swapPrefix}/${key}-${Date.now()}.json`;
184
184
  await this.s3.send(new PutObjectCommand({
185
185
  Body: msg.MessageBody,