@lacrous/omnicloud 0.2.28 → 0.2.30
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.
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/server/index.js +1 -1
- package/server/web/assets/{index-Dn6lUGQf.js → index-Cimv9hDI.js} +1 -1
- package/server/web/index.html +1 -1
package/dist/index.cjs
CHANGED
|
@@ -439,6 +439,13 @@ var FilesApi = class {
|
|
|
439
439
|
);
|
|
440
440
|
return file;
|
|
441
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* Buffers the entire file in memory. Use `downloadToFile` or `downloadStream` for
|
|
444
|
+
* large files.
|
|
445
|
+
*
|
|
446
|
+
* @deprecated Loads the whole file into memory. Use `downloadToFile` (Node) or
|
|
447
|
+
* `downloadStream` (any runtime) for large files.
|
|
448
|
+
*/
|
|
442
449
|
async download(id, onProgress) {
|
|
443
450
|
return this.client.requestBinary(`/api/files/${id}/download`, onProgress);
|
|
444
451
|
}
|