@cesdk/cesdk-js 1.66.0-rc.0 → 1.66.0-rc.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.
- package/assets/core/{cesdk-v1.66.0-rc.0-4RYHWSRW.wasm → cesdk-v1.66.0-rc.1-JWS4ESBS.wasm} +0 -0
- package/assets/core/worker-host-v1.66.0-rc.1.js +1 -0
- package/cesdk.umd.js +1 -1
- package/index.d.ts +1 -10
- package/index.js +1 -1
- package/package.json +2 -14
- package/assets/core/worker-host-v1.66.0-rc.0.js +0 -1
- package/configs/index.d.ts +0 -74
- package/configs/index.js +0 -1
- package/plugins/index.d.ts +0 -231
- package/plugins/index.js +0 -1
- /package/assets/core/{cesdk-v1.66.0-rc.0-44YCFRT6.data → cesdk-v1.66.0-rc.1-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -6938,9 +6938,7 @@ export declare class UtilsAPI {
|
|
|
6938
6938
|
* Opens a file picker dialog for the user to select a file
|
|
6939
6939
|
*
|
|
6940
6940
|
* @param options - Options for the file load operation
|
|
6941
|
-
* @returns The loaded file content in the requested format
|
|
6942
|
-
* if the file is eligible for OPFS storage and the feature is enabled, returns the
|
|
6943
|
-
* OPFS URL (opfs://...) instead of a data URL.
|
|
6941
|
+
* @returns The loaded file content in the requested format
|
|
6944
6942
|
*
|
|
6945
6943
|
* @example
|
|
6946
6944
|
* ```typescript
|
|
@@ -6956,13 +6954,6 @@ export declare class UtilsAPI {
|
|
|
6956
6954
|
* returnType: 'blob'
|
|
6957
6955
|
* });
|
|
6958
6956
|
*
|
|
6959
|
-
* // Load a file with OPFS support (returns opfs:// URL for eligible files)
|
|
6960
|
-
* const url = await cesdk.utils.loadFile({
|
|
6961
|
-
* accept: 'video/*',
|
|
6962
|
-
* returnType: 'dataURL'
|
|
6963
|
-
* });
|
|
6964
|
-
* // For eligible files: "opfs://cesdk-1234567890-video.mp4"
|
|
6965
|
-
* // For non-eligible files: "data:video/mp4;base64,..."
|
|
6966
6957
|
* // Load a file as object URL (blob URL)
|
|
6967
6958
|
* const objectURL = await cesdk.utils.loadFile({
|
|
6968
6959
|
* accept: '.zip',
|