Skip to content

Commit

Permalink
2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
james-hu committed Feb 21, 2024
1 parent 905fca9 commit f15cadb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit f15cadb

Please sign in to comment.