@rendley/sdk 1.13.0 → 1.14.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.
Files changed (30) hide show
  1. package/dist/Engine.d.ts +61 -55
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +1 -1
  5. package/dist/libs/ffmpeg/classes.d.ts +1 -0
  6. package/dist/libs/ffmpeg/const.d.ts +1 -0
  7. package/dist/libs/ffmpeg/types.d.ts +6 -2
  8. package/dist/modules/clip/clips/adjustment/AdjustmentClip.d.ts +1 -0
  9. package/dist/modules/clip/clips/audio/AudioClip.d.ts +1 -1
  10. package/dist/modules/clip/clips/gif/GifClip.d.ts +1 -0
  11. package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +1 -1
  12. package/dist/modules/clip/clips/lottie/LottieClip.d.ts +1 -1
  13. package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +4 -4
  14. package/dist/modules/clip/clips/text/TextClip.d.ts +1 -1
  15. package/dist/modules/clip/clips/text/TextStyle.d.ts +4 -4
  16. package/dist/modules/clip/clips/video/VideoClip.d.ts +5 -1
  17. package/dist/modules/ffmpeg/FFmpeg.d.ts +1 -0
  18. package/dist/modules/filmstrip-extractor/FilmstripExtractor.d.ts +1 -1
  19. package/dist/modules/filmstrip-extractor/FilmstripExtractor.types.d.ts +2 -1
  20. package/dist/modules/library/Library.d.ts +33 -33
  21. package/dist/modules/library/MediaData.d.ts +19 -8
  22. package/dist/modules/renderer/Renderer.d.ts +2 -0
  23. package/dist/modules/settings/Settings.d.ts +8 -0
  24. package/dist/modules/storage/StorageProviderBase.d.ts +1 -1
  25. package/dist/modules/timeline/Timeline.d.ts +1 -0
  26. package/dist/utils/browser/checkVideoCompatibilityOrTranscode.d.ts +18 -0
  27. package/dist/utils/file/urlToBlobChunks.d.ts +1 -0
  28. package/dist/utils/transcode/transcodeMedia.d.ts +25 -0
  29. package/dist/utils/transcode/transcodeOutputPath.d.ts +1 -0
  30. package/package.json +1 -1
package/dist/Engine.d.ts CHANGED
@@ -517,6 +517,17 @@ export declare const EngineSchema: z.ZodObject<{
517
517
  wordTimings?: number[] | undefined;
518
518
  }[];
519
519
  }[];
520
+ media: {
521
+ type: string;
522
+ id: string;
523
+ filename: string;
524
+ name?: string | undefined;
525
+ permanentUrl?: string | undefined;
526
+ hash?: string | undefined;
527
+ mimeType?: string | undefined;
528
+ customData?: [string, unknown][] | undefined;
529
+ placeholderClipIds?: string[] | undefined;
530
+ }[];
520
531
  transitions: {
521
532
  name: string;
522
533
  properties: {
@@ -575,17 +586,6 @@ export declare const EngineSchema: z.ZodObject<{
575
586
  blendMode?: import("./types").BlendModeEnum | undefined;
576
587
  padding?: number | undefined;
577
588
  }[];
578
- media: {
579
- type: string;
580
- id: string;
581
- filename: string;
582
- name?: string | undefined;
583
- permanentUrl?: string | undefined;
584
- hash?: string | undefined;
585
- mimeType?: string | undefined;
586
- customData?: [string, unknown][] | undefined;
587
- placeholderClipIds?: string[] | undefined;
588
- }[];
589
589
  customData?: [string, unknown][] | undefined;
590
590
  }, {
591
591
  subtitles: {
@@ -599,6 +599,17 @@ export declare const EngineSchema: z.ZodObject<{
599
599
  wordTimings?: number[] | undefined;
600
600
  }[];
601
601
  }[];
602
+ media: {
603
+ type: string;
604
+ id: string;
605
+ filename: string;
606
+ name?: string | undefined;
607
+ permanentUrl?: string | undefined;
608
+ hash?: string | undefined;
609
+ mimeType?: string | undefined;
610
+ customData?: [string, unknown][] | undefined;
611
+ placeholderClipIds?: string[] | undefined;
612
+ }[];
602
613
  transitions: {
603
614
  name: string;
604
615
  properties: {
@@ -657,17 +668,6 @@ export declare const EngineSchema: z.ZodObject<{
657
668
  blendMode?: import("./types").BlendModeEnum | undefined;
658
669
  padding?: number | undefined;
659
670
  }[];
660
- media: {
661
- type: string;
662
- id: string;
663
- filename: string;
664
- name?: string | undefined;
665
- permanentUrl?: string | undefined;
666
- hash?: string | undefined;
667
- mimeType?: string | undefined;
668
- customData?: [string, unknown][] | undefined;
669
- placeholderClipIds?: string[] | undefined;
670
- }[];
671
671
  customData?: [string, unknown][] | undefined;
672
672
  }>;
673
673
  subtitlesManager: z.ZodOptional<z.ZodObject<{
@@ -832,6 +832,7 @@ export declare const EngineSchema: z.ZodObject<{
832
832
  }>>;
833
833
  settings: z.ZodOptional<z.ZodObject<{
834
834
  m3u8MaxResolution: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
835
+ useInternalTranscoder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
835
836
  clipAudioStoreSamples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
836
837
  clipAudioSampleRate: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
837
838
  clipAudioSampleForceMono: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -876,6 +877,7 @@ export declare const EngineSchema: z.ZodObject<{
876
877
  mediaHashAlgorithm: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("./types").HashAlgorithmEnum>>>;
877
878
  }, "strip", z.ZodTypeAny, {
878
879
  m3u8MaxResolution: [number, number];
880
+ useInternalTranscoder: boolean;
879
881
  clipAudioStoreSamples: boolean;
880
882
  clipAudioSampleRate: number;
881
883
  clipAudioSampleForceMono: boolean;
@@ -920,6 +922,7 @@ export declare const EngineSchema: z.ZodObject<{
920
922
  mediaHashAlgorithm: import("./types").HashAlgorithmEnum;
921
923
  }, {
922
924
  m3u8MaxResolution?: [number, number] | undefined;
925
+ useInternalTranscoder?: boolean | undefined;
923
926
  clipAudioStoreSamples?: boolean | undefined;
924
927
  clipAudioSampleRate?: number | undefined;
925
928
  clipAudioSampleForceMono?: boolean | undefined;
@@ -1008,6 +1011,17 @@ export declare const EngineSchema: z.ZodObject<{
1008
1011
  wordTimings?: number[] | undefined;
1009
1012
  }[];
1010
1013
  }[];
1014
+ media: {
1015
+ type: string;
1016
+ id: string;
1017
+ filename: string;
1018
+ name?: string | undefined;
1019
+ permanentUrl?: string | undefined;
1020
+ hash?: string | undefined;
1021
+ mimeType?: string | undefined;
1022
+ customData?: [string, unknown][] | undefined;
1023
+ placeholderClipIds?: string[] | undefined;
1024
+ }[];
1011
1025
  transitions: {
1012
1026
  name: string;
1013
1027
  properties: {
@@ -1066,17 +1080,6 @@ export declare const EngineSchema: z.ZodObject<{
1066
1080
  blendMode?: import("./types").BlendModeEnum | undefined;
1067
1081
  padding?: number | undefined;
1068
1082
  }[];
1069
- media: {
1070
- type: string;
1071
- id: string;
1072
- filename: string;
1073
- name?: string | undefined;
1074
- permanentUrl?: string | undefined;
1075
- hash?: string | undefined;
1076
- mimeType?: string | undefined;
1077
- customData?: [string, unknown][] | undefined;
1078
- placeholderClipIds?: string[] | undefined;
1079
- }[];
1080
1083
  customData?: [string, unknown][] | undefined;
1081
1084
  };
1082
1085
  version?: string | undefined;
@@ -1120,6 +1123,7 @@ export declare const EngineSchema: z.ZodObject<{
1120
1123
  } | undefined;
1121
1124
  settings?: {
1122
1125
  m3u8MaxResolution: [number, number];
1126
+ useInternalTranscoder: boolean;
1123
1127
  clipAudioStoreSamples: boolean;
1124
1128
  clipAudioSampleRate: number;
1125
1129
  clipAudioSampleForceMono: boolean;
@@ -1208,6 +1212,17 @@ export declare const EngineSchema: z.ZodObject<{
1208
1212
  wordTimings?: number[] | undefined;
1209
1213
  }[];
1210
1214
  }[];
1215
+ media: {
1216
+ type: string;
1217
+ id: string;
1218
+ filename: string;
1219
+ name?: string | undefined;
1220
+ permanentUrl?: string | undefined;
1221
+ hash?: string | undefined;
1222
+ mimeType?: string | undefined;
1223
+ customData?: [string, unknown][] | undefined;
1224
+ placeholderClipIds?: string[] | undefined;
1225
+ }[];
1211
1226
  transitions: {
1212
1227
  name: string;
1213
1228
  properties: {
@@ -1266,17 +1281,6 @@ export declare const EngineSchema: z.ZodObject<{
1266
1281
  blendMode?: import("./types").BlendModeEnum | undefined;
1267
1282
  padding?: number | undefined;
1268
1283
  }[];
1269
- media: {
1270
- type: string;
1271
- id: string;
1272
- filename: string;
1273
- name?: string | undefined;
1274
- permanentUrl?: string | undefined;
1275
- hash?: string | undefined;
1276
- mimeType?: string | undefined;
1277
- customData?: [string, unknown][] | undefined;
1278
- placeholderClipIds?: string[] | undefined;
1279
- }[];
1280
1284
  customData?: [string, unknown][] | undefined;
1281
1285
  };
1282
1286
  version?: string | undefined;
@@ -1320,6 +1324,7 @@ export declare const EngineSchema: z.ZodObject<{
1320
1324
  } | undefined;
1321
1325
  settings?: {
1322
1326
  m3u8MaxResolution?: [number, number] | undefined;
1327
+ useInternalTranscoder?: boolean | undefined;
1323
1328
  clipAudioStoreSamples?: boolean | undefined;
1324
1329
  clipAudioSampleRate?: number | undefined;
1325
1330
  clipAudioSampleForceMono?: boolean | undefined;
@@ -1495,6 +1500,17 @@ export declare class Engine {
1495
1500
  wordTimings?: number[] | undefined;
1496
1501
  }[];
1497
1502
  }[];
1503
+ media: {
1504
+ type: string;
1505
+ id: string;
1506
+ filename: string;
1507
+ name?: string | undefined;
1508
+ permanentUrl?: string | undefined;
1509
+ hash?: string | undefined;
1510
+ mimeType?: string | undefined;
1511
+ customData?: [string, unknown][] | undefined;
1512
+ placeholderClipIds?: string[] | undefined;
1513
+ }[];
1498
1514
  transitions: {
1499
1515
  name: string;
1500
1516
  properties: {
@@ -1553,17 +1569,6 @@ export declare class Engine {
1553
1569
  blendMode?: import("./types").BlendModeEnum | undefined;
1554
1570
  padding?: number | undefined;
1555
1571
  }[];
1556
- media: {
1557
- type: string;
1558
- id: string;
1559
- filename: string;
1560
- name?: string | undefined;
1561
- permanentUrl?: string | undefined;
1562
- hash?: string | undefined;
1563
- mimeType?: string | undefined;
1564
- customData?: [string, unknown][] | undefined;
1565
- placeholderClipIds?: string[] | undefined;
1566
- }[];
1567
1572
  customData?: [string, unknown][] | undefined;
1568
1573
  };
1569
1574
  version?: string | undefined;
@@ -1607,6 +1612,7 @@ export declare class Engine {
1607
1612
  } | undefined;
1608
1613
  settings?: {
1609
1614
  m3u8MaxResolution: [number, number];
1615
+ useInternalTranscoder: boolean;
1610
1616
  clipAudioStoreSamples: boolean;
1611
1617
  clipAudioSampleRate: number;
1612
1618
  clipAudioSampleForceMono: boolean;