@supabase/storage-js 1.6.0 → 1.6.1
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.
|
@@ -95,7 +95,7 @@ export declare class StorageFileApi {
|
|
|
95
95
|
/**
|
|
96
96
|
* Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
|
|
97
97
|
*
|
|
98
|
-
* @param paths The file paths to be downloaded, including the current file names. For example [
|
|
98
|
+
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
99
99
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
100
100
|
*/
|
|
101
101
|
createSignedUrls(paths: string[], expiresIn: number): Promise<{
|
|
@@ -177,7 +177,7 @@ class StorageFileApi {
|
|
|
177
177
|
/**
|
|
178
178
|
* Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
|
|
179
179
|
*
|
|
180
|
-
* @param paths The file paths to be downloaded, including the current file names. For example [
|
|
180
|
+
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
181
181
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
182
182
|
*/
|
|
183
183
|
createSignedUrls(paths, expiresIn) {
|
|
@@ -95,7 +95,7 @@ export declare class StorageFileApi {
|
|
|
95
95
|
/**
|
|
96
96
|
* Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
|
|
97
97
|
*
|
|
98
|
-
* @param paths The file paths to be downloaded, including the current file names. For example [
|
|
98
|
+
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
99
99
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
100
100
|
*/
|
|
101
101
|
createSignedUrls(paths: string[], expiresIn: number): Promise<{
|
|
@@ -171,7 +171,7 @@ export class StorageFileApi {
|
|
|
171
171
|
/**
|
|
172
172
|
* Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
|
|
173
173
|
*
|
|
174
|
-
* @param paths The file paths to be downloaded, including the current file names. For example [
|
|
174
|
+
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
175
175
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
176
176
|
*/
|
|
177
177
|
createSignedUrls(paths, expiresIn) {
|
package/package.json
CHANGED
|
@@ -241,7 +241,7 @@ export class StorageFileApi {
|
|
|
241
241
|
/**
|
|
242
242
|
* Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds.
|
|
243
243
|
*
|
|
244
|
-
* @param paths The file paths to be downloaded, including the current file names. For example [
|
|
244
|
+
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
245
245
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
246
246
|
*/
|
|
247
247
|
async createSignedUrls(
|