@cesdk/engine 1.59.0-nightly.20250819 → 1.59.0-nightly.20250821
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.59.0-nightly.20250819-NJUULYFV.wasm → cesdk-v1.59.0-nightly.20250821-GR6AM3QU.wasm} +0 -0
- package/assets/core/{worker-host-v1.59.0-nightly.20250819.js → worker-host-v1.59.0-nightly.20250821.js} +1 -1
- package/index.d.ts +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.59.0-nightly.20250819-44YCFRT6.data → cesdk-v1.59.0-nightly.20250821-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -5455,7 +5455,7 @@ declare class CreativeEngine {
|
|
|
5455
5455
|
* @category Engine Management
|
|
5456
5456
|
* @param plugin - The plugin to add and initialize.
|
|
5457
5457
|
*/
|
|
5458
|
-
addPlugin(plugin: EnginePlugin): void
|
|
5458
|
+
addPlugin(plugin: EnginePlugin): Promise<void>;
|
|
5459
5459
|
/**
|
|
5460
5460
|
* Configure the timeout for video export inactivity detection.
|
|
5461
5461
|
*
|
|
@@ -6535,14 +6535,14 @@ export declare type EffectTypeShorthand = 'adjustments' | 'cross_cut' | 'dot_pat
|
|
|
6535
6535
|
* Defines the structure of an engine plugin, including its name, version, and initialization function.
|
|
6536
6536
|
* - 'name': The name of the plugin.
|
|
6537
6537
|
* - 'version': The version of the plugin.
|
|
6538
|
-
* - 'initialize': The function to initialize the plugin with the provided context.
|
|
6538
|
+
* - 'initialize': The function to initialize the plugin with the provided context. Can be synchronous or asynchronous.
|
|
6539
6539
|
*
|
|
6540
6540
|
* @public
|
|
6541
6541
|
*/
|
|
6542
6542
|
export declare interface EnginePlugin {
|
|
6543
6543
|
name: string;
|
|
6544
6544
|
version: string;
|
|
6545
|
-
initialize: (context: EnginePluginContext) => void
|
|
6545
|
+
initialize: (context: EnginePluginContext) => void | Promise<void>;
|
|
6546
6546
|
}
|
|
6547
6547
|
|
|
6548
6548
|
/**
|