diff --git a/README.md b/README.md index 111dc3b..9fc042a 100644 --- a/README.md +++ b/README.md @@ -696,7 +696,7 @@ ___ ##### generatePresignedUrlForDownloading -▸ **generatePresignedUrlForDownloading**(`s3`, `bucket`, `key`, `expiresIn`): `Promise`\<`string`\> +▸ **generatePresignedUrlForDownloading**(`s3`, `bucket`, `key`, `expiresIn`, `options?`): `Promise`\<`string`\> Generate a pre-signed URL for downloading the S3 object @@ -708,6 +708,7 @@ Generate a pre-signed URL for downloading the S3 object | `bucket` | `string` | Name of the bucket | | `key` | `string` | Key of the object | | `expiresIn` | `number` | The number of seconds before the presigned URL expires | +| `options?` | `Omit`\<`GetObjectCommandInput`, ``"Bucket"`` \| ``"Key"``\> | Additional options. For example, you can specify content-disposition and content-type in it. | ###### Returns diff --git a/package-lock.json b/package-lock.json index ab47f38..6a5d663 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@handy-common-utils/aws-utils", - "version": "2.9.0", + "version": "2.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@handy-common-utils/aws-utils", - "version": "2.9.0", + "version": "2.10.0", "bundleDependencies": [ "@unbounce/parse-aws-arn" ], diff --git a/package.json b/package.json index 114b298..cfb9edc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@handy-common-utils/aws-utils", - "version": "2.9.0", + "version": "2.10.0", "description": "AWS related utilities", "scripts": { "pretest": "eslint . --ext .ts",