@rendley/sdk 1.4.1 → 1.4.2

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.
@@ -8,6 +8,7 @@ export declare class FontRegistry {
8
8
  loadFromCssUrl(name: string, cssUrl: string): Promise<void>;
9
9
  private load;
10
10
  offload(fontFamily: string): void;
11
+ destroy(): void;
11
12
  serialize(): {
12
13
  fonts: {
13
14
  src: string;
@@ -198,6 +198,8 @@ export declare class SubtitlesManager {
198
198
  private backgroundColor;
199
199
  private backgroundPadding;
200
200
  private wordWrapWidth;
201
+ private mainTextStyle;
202
+ private highlightTextStyle;
201
203
  private getInitialTweenValue;
202
204
  constructor();
203
205
  init(): void;
@@ -205,7 +207,9 @@ export declare class SubtitlesManager {
205
207
  updateSubtitlesClips(subtitleId: string): void;
206
208
  setTextMode(mode: TextModeType): void;
207
209
  setMainTextStyle(style: MainTextStyle): void;
210
+ private updateMainTextStyle;
208
211
  setHighlightedTextStyle(style: HighlightTextStyle): void;
212
+ private updateHighlightedTextStyle;
209
213
  private extractWordInfo;
210
214
  private getSubtitleText;
211
215
  private getHighlightedWordInfo;
@@ -1,6 +1,6 @@
1
1
  import { Clip } from '../../modules/clip';
2
2
  export declare class CachedAccess {
3
- private static instance;
3
+ private static instance?;
4
4
  static getInstance(): CachedAccess;
5
5
  private constructor();
6
6
  private readonly clipIdToLayerId;
@@ -15,4 +15,5 @@ export declare class CachedAccess {
15
15
  clipFromClipId(clipId: string): Clip | undefined;
16
16
  clipsFromMediaId(mediaId: string): Clip[];
17
17
  clipsFromSubtitlesId(subtitlesId: string): Clip[];
18
+ destroy(): void;
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendley.com",