@lacrous/omnicloud 0.2.29 → 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 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
  }