fix(bucket): propagate S3 client errors instead of silently logging them; update build script, bump dev/dependencies, and refresh npmextra configuration

This commit is contained in:
2026-01-24 09:55:44 +00:00
parent bd73004bd6
commit 6760fd480d
8 changed files with 3062 additions and 2653 deletions

View File

@@ -31,13 +31,13 @@ export class Bucket {
public static async createBucketByName(smartbucketRef: SmartBucket, bucketName: string) {
const command = new plugins.s3.CreateBucketCommand({ Bucket: bucketName });
await smartbucketRef.s3Client.send(command).catch((e) => console.log(e));
await smartbucketRef.s3Client.send(command);
return new Bucket(smartbucketRef, bucketName);
}
public static async removeBucketByName(smartbucketRef: SmartBucket, bucketName: string) {
const command = new plugins.s3.DeleteBucketCommand({ Bucket: bucketName });
await smartbucketRef.s3Client.send(command).catch((e) => console.log(e));
await smartbucketRef.s3Client.send(command);
}
public smartbucketRef: SmartBucket;