@cesdk/engine 1.51.0-nightly.20250504 → 1.51.0-nightly.20250506
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/ThirdPartyLicenses.md +27 -0
- package/assets/core/{cesdk-v1.51.0-nightly.20250504-4V7YB62W.wasm → cesdk-v1.51.0-nightly.20250506-CPSPUVEY.wasm} +0 -0
- package/assets/core/{worker-host-v1.51.0-nightly.20250504.js → worker-host-v1.51.0-nightly.20250506.js} +1 -1
- package/index.d.ts +7 -0
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.51.0-nightly.20250504-44YCFRT6.data → cesdk-v1.51.0-nightly.20250506-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -661,6 +661,13 @@ export declare class BlockAPI {
|
|
|
661
661
|
* @returns The created fill's handle.
|
|
662
662
|
*/
|
|
663
663
|
createFill(type: FillType): DesignBlockId;
|
|
664
|
+
/**
|
|
665
|
+
* Creates new caption blocks from the given file.
|
|
666
|
+
* @param uri - The URI for the captions file to load. Supported file formats are: SRT and VTT.
|
|
667
|
+
* @param callback - synchronously called when the captions have been created. Returns a list of caption blocks on
|
|
668
|
+
* @returns The created fill's handle.
|
|
669
|
+
*/
|
|
670
|
+
createCaptionsFromURI(uri: string): Promise<DesignBlockId[]>;
|
|
664
671
|
/**
|
|
665
672
|
* Get the type of the given block, fails if the block is invalid.
|
|
666
673
|
* @param id - The block to query.
|