@cesdk/cesdk-js 1.67.0-nightly.20260105 → 1.67.0-nightly.20260106

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/index.d.ts CHANGED
@@ -6978,9 +6978,9 @@ export declare class UtilsAPI {
6978
6978
  returnType?: T;
6979
6979
  }): Promise<T extends 'dataURL' ? string : T extends 'text' ? string : T extends 'blob' ? Blob : T extends 'arrayBuffer' ? ArrayBuffer : T extends 'objectURL' ? string : File>;
6980
6980
  /**
6981
- * Downloads a blob or string as a file to the user's device
6981
+ * Downloads a blob, string, or OPFS path as a file to the user's device
6982
6982
  *
6983
- * @param file - The content to download (Blob or string)
6983
+ * @param file - The content to download (Blob, string content, or opfs:// path)
6984
6984
  * @param mimeType - The MIME type of the content
6985
6985
  *
6986
6986
  * @example
@@ -6991,6 +6991,9 @@ export declare class UtilsAPI {
6991
6991
  * // Download a blob
6992
6992
  * const blob = new Blob(['content'], { type: 'text/plain' });
6993
6993
  * await cesdk.utils.downloadFile(blob, 'text/plain');
6994
+ *
6995
+ * // Download from OPFS path
6996
+ * await cesdk.utils.downloadFile('opfs://cesdk/buffer/file.mp4', 'video/mp4');
6994
6997
  * ```
6995
6998
  * @public
6996
6999
  */