@cirrobio/sdk 0.2.10 → 0.2.12

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.
@@ -11,5 +11,6 @@ export interface GetSignedUrlOptions {
11
11
  }
12
12
  /**
13
13
  * Get a signed URL for a file in S3 given its S3 URI.
14
+ * Defaults to a 5 minute timeout.
14
15
  */
15
16
  export declare function getSignedUrl({ url, credentials, ...params }: GetFileUrlParams): Promise<string>;
@@ -7,6 +7,7 @@ const s3_client_1 = require("../util/s3-client");
7
7
  const s3_utils_1 = require("../util/s3-utils");
8
8
  /**
9
9
  * Get a signed URL for a file in S3 given its S3 URI.
10
+ * Defaults to a 5 minute timeout.
10
11
  */
11
12
  function getSignedUrl({ url, credentials, ...params }) {
12
13
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/sdk",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "SDK for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -18,6 +18,7 @@ export interface GetSignedUrlOptions {
18
18
 
19
19
  /**
20
20
  * Get a signed URL for a file in S3 given its S3 URI.
21
+ * Defaults to a 5 minute timeout.
21
22
  */
22
23
  export function getSignedUrl({ url, credentials, ...params }: GetFileUrlParams): Promise<string> {
23
24
  const client = createS3Client(credentials);