@rendley/sdk 1.4.1 → 1.4.3

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/Engine.d.ts CHANGED
@@ -36,7 +36,7 @@ type CustomClipConstructor<T extends CustomClip = CustomClip> = {
36
36
  new (...args: any[]): T;
37
37
  };
38
38
  export declare class Engine {
39
- private static instance;
39
+ private static instance?;
40
40
  private display;
41
41
  private timeline;
42
42
  private library;
@@ -54,7 +54,7 @@ export declare class Engine {
54
54
  hasInstance(): boolean;
55
55
  getFFmpeg(): import("./libs/ffmpeg").FFmpeg;
56
56
  init(options: EngineOptions): Promise<void>;
57
- destroy(): void;
57
+ destroy(everything?: boolean): Promise<void>;
58
58
  getProjectId(): string;
59
59
  getDisplay(): Display;
60
60
  getTimeline(): Timeline;
@@ -132,7 +132,9 @@ export declare class Engine {
132
132
  customData?: [string, unknown][] | undefined;
133
133
  }[];
134
134
  };
135
- subtitlesManager: {
135
+ version?: string | undefined;
136
+ projectId?: string | undefined;
137
+ subtitlesManager?: {
136
138
  textMode: "full" | "partial";
137
139
  highlightAnimation: import("./modules/subtitleManager").HighlightAnimationEnum;
138
140
  highlightAnimationSpeed: number;
@@ -157,12 +159,11 @@ export declare class Engine {
157
159
  strokeThickness?: number | undefined;
158
160
  strokeColor?: string | undefined;
159
161
  };
160
- };
161
- version?: string | undefined;
162
- projectId?: string | undefined;
162
+ } | undefined;
163
163
  settings?: {
164
164
  preferredDecodingAcceleration: import("./modules/settings").PreferredAcceleration;
165
165
  preferredEncodingAcceleration: import("./modules/settings").PreferredAcceleration;
166
+ m3u8MaxResolution: [number, number];
166
167
  } | undefined;
167
168
  };
168
169
  static deserialize(data: object): Promise<Engine | undefined>;