@rendley/sdk 1.11.3 → 1.11.5

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 (56) hide show
  1. package/LICENSE +48 -48
  2. package/README.md +31 -31
  3. package/dist/Engine.d.ts +14 -13
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/modules/clip/Clip.d.ts +24 -24
  7. package/dist/modules/clip/clips/audio/AudioClip.d.ts +6 -6
  8. package/dist/modules/clip/clips/custom/CustomClip.d.ts +4 -4
  9. package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +10 -10
  10. package/dist/modules/clip/clips/lottie/LottieClip.d.ts +6 -6
  11. package/dist/modules/clip/clips/shape/ShapeClip.d.ts +4 -4
  12. package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +5 -5
  13. package/dist/modules/clip/clips/text/TextClip.d.ts +6 -6
  14. package/dist/modules/clip/clips/text/TextStyle.d.ts +9 -9
  15. package/dist/modules/clip/clips/video/VideoClip.d.ts +7 -6
  16. package/dist/modules/effect/EffectBase.d.ts +2 -0
  17. package/dist/modules/effect/built-in-effects/BuiltInAdjustmentEffect.d.ts +16 -0
  18. package/dist/modules/effect/built-in-effects/BuiltInAdvancedBloomEffect.d.ts +14 -0
  19. package/dist/modules/effect/built-in-effects/BuiltInAsciiEffect.d.ts +9 -0
  20. package/dist/modules/effect/built-in-effects/BuiltInBevelEffect.d.ts +14 -0
  21. package/dist/modules/effect/built-in-effects/BuiltInBloomEffect.d.ts +12 -0
  22. package/dist/modules/effect/built-in-effects/BuiltInBulgePinchEffect.d.ts +13 -0
  23. package/dist/modules/effect/built-in-effects/BuiltInCRTEffect.d.ts +20 -0
  24. package/dist/modules/effect/built-in-effects/BuiltInColorOverlayEffect.d.ts +10 -0
  25. package/dist/modules/effect/built-in-effects/BuiltInColorReplaceEffect.d.ts +11 -0
  26. package/dist/modules/effect/built-in-effects/BuiltInCrossHatchEffect.d.ts +8 -0
  27. package/dist/modules/effect/built-in-effects/BuiltInDotEffect.d.ts +11 -0
  28. package/dist/modules/effect/built-in-effects/BuiltInDropShadowEffect.d.ts +15 -0
  29. package/dist/modules/effect/built-in-effects/BuiltInEmbossEffect.d.ts +9 -0
  30. package/dist/modules/effect/built-in-effects/BuiltInGlowEffect.d.ts +15 -0
  31. package/dist/modules/effect/built-in-effects/BuiltInGodrayEffect.d.ts +17 -0
  32. package/dist/modules/effect/built-in-effects/BuiltInHSLAdjustmentEffect.d.ts +13 -0
  33. package/dist/modules/effect/built-in-effects/BuiltInMotionBlurEffect.d.ts +11 -0
  34. package/dist/modules/effect/built-in-effects/BuiltInOldFilmEffect.d.ts +18 -0
  35. package/dist/modules/effect/built-in-effects/BuiltInOutlineEffect.d.ts +13 -0
  36. package/dist/modules/effect/built-in-effects/BuiltInPixelateEffect.d.ts +9 -0
  37. package/dist/modules/effect/built-in-effects/BuiltInRGBSplitEffect.d.ts +11 -0
  38. package/dist/modules/effect/built-in-effects/BuiltInRadialBlurEffect.d.ts +13 -0
  39. package/dist/modules/effect/built-in-effects/BuiltInReflectionEffect.d.ts +16 -0
  40. package/dist/modules/effect/built-in-effects/BuiltInShockwaveEffect.d.ts +17 -0
  41. package/dist/modules/effect/built-in-effects/BuiltInTiltShiftEffect.d.ts +12 -0
  42. package/dist/modules/effect/built-in-effects/BuiltInTwistEffect.d.ts +11 -0
  43. package/dist/modules/effect/built-in-effects/BuiltInZoomBlurEffect.d.ts +12 -0
  44. package/dist/modules/library/BuiltInEffectDefines.d.ts +27 -1
  45. package/dist/modules/library/EffectData.d.ts +3 -3
  46. package/dist/modules/library/Library.d.ts +41 -41
  47. package/dist/modules/library/Subtitles.d.ts +7 -7
  48. package/dist/modules/library/TransitionData.d.ts +3 -3
  49. package/dist/modules/library/types/Property.types.d.ts +4 -0
  50. package/dist/modules/renderer/Renderer.d.ts +1 -0
  51. package/dist/modules/settings/Settings.d.ts +23 -0
  52. package/dist/modules/subtitles/SubtitleManager.d.ts +18 -18
  53. package/dist/modules/undo/UndoManager.types.d.ts +20 -0
  54. package/dist/utils/animation/animation.d.ts +1 -1
  55. package/dist/utils/math/wrapValue.d.ts +1 -0
  56. package/package.json +83 -83
@@ -108,7 +108,30 @@ export declare class Settings {
108
108
  private subtitlesScaleOnResize;
109
109
  private subtitlesAutoWrapOnResize;
110
110
  private viewAutoLayoutOnResize;
111
+ private readonly defaultSettings;
111
112
  constructor();
113
+ getDefaultSettings(): {
114
+ m3u8MaxResolution: [number, number];
115
+ renderShowPreview: boolean;
116
+ renderMaxQueueSize: number;
117
+ renderThrottleFactor: number;
118
+ renderAudioUseWorker: boolean;
119
+ decoderUseWebCodecs: boolean;
120
+ decoderPreferredAcceleration: PreferredAcceleration;
121
+ encoderCodec: VideoCodec;
122
+ encoderUseWebCodecs: boolean;
123
+ encoderUseAlpha: boolean;
124
+ encoderBitrate: number;
125
+ encoderBitrateMode: BitrateMode;
126
+ encoderPerformanceMode: PerformanceMode;
127
+ encoderDeadline: number;
128
+ encoderCrf: number;
129
+ encoderForcedCodecRFCString: string;
130
+ encoderPreferredAcceleration: PreferredAcceleration;
131
+ subtitlesScaleOnResize: boolean;
132
+ subtitlesAutoWrapOnResize: boolean;
133
+ viewAutoLayoutOnResize: AutoLayoutMode;
134
+ };
112
135
  setEncoderCrf(crf: number): void;
113
136
  getEncoderCrf(): number;
114
137
  setEncoderDeadline(deadline: number): void;
@@ -23,7 +23,7 @@ declare const CommonTextStyleSchema: z.ZodObject<{
23
23
  color: string;
24
24
  strokeColor: string;
25
25
  fontSize: number;
26
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
26
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
27
27
  fontFamily: string;
28
28
  fontStyle: "normal" | "italic" | "oblique";
29
29
  backgroundColor: string;
@@ -34,7 +34,7 @@ declare const CommonTextStyleSchema: z.ZodObject<{
34
34
  }, {
35
35
  color?: string | undefined;
36
36
  fontSize?: number | undefined;
37
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
37
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
38
38
  fontFamily?: string | undefined;
39
39
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
40
40
  backgroundColor?: string | undefined;
@@ -63,7 +63,7 @@ declare const MainTextStyleSchema: z.ZodObject<{
63
63
  color: string;
64
64
  strokeColor: string;
65
65
  fontSize: number;
66
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
66
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
67
67
  fontFamily: string;
68
68
  fontStyle: "normal" | "italic" | "oblique";
69
69
  backgroundColor: string;
@@ -78,7 +78,7 @@ declare const MainTextStyleSchema: z.ZodObject<{
78
78
  color?: string | undefined;
79
79
  strokeColor?: string | undefined;
80
80
  fontSize?: number | undefined;
81
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
81
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
82
82
  fontFamily?: string | undefined;
83
83
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
84
84
  backgroundColor?: string | undefined;
@@ -106,7 +106,7 @@ declare const HighlightTextStyleSchema: z.ZodObject<{
106
106
  color: string;
107
107
  strokeColor: string;
108
108
  fontSize: number;
109
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
109
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
110
110
  fontFamily: string;
111
111
  fontStyle: "normal" | "italic" | "oblique";
112
112
  backgroundColor: string;
@@ -118,7 +118,7 @@ declare const HighlightTextStyleSchema: z.ZodObject<{
118
118
  color?: string | undefined;
119
119
  strokeColor?: string | undefined;
120
120
  fontSize?: number | undefined;
121
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
121
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
122
122
  fontFamily?: string | undefined;
123
123
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
124
124
  backgroundColor?: string | undefined;
@@ -155,7 +155,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
155
155
  color: string;
156
156
  strokeColor: string;
157
157
  fontSize: number;
158
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
158
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
159
159
  fontFamily: string;
160
160
  fontStyle: "normal" | "italic" | "oblique";
161
161
  backgroundColor: string;
@@ -170,7 +170,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
170
170
  color?: string | undefined;
171
171
  strokeColor?: string | undefined;
172
172
  fontSize?: number | undefined;
173
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
173
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
174
174
  fontFamily?: string | undefined;
175
175
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
176
176
  backgroundColor?: string | undefined;
@@ -198,7 +198,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
198
198
  color: string;
199
199
  strokeColor: string;
200
200
  fontSize: number;
201
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
201
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
202
202
  fontFamily: string;
203
203
  fontStyle: "normal" | "italic" | "oblique";
204
204
  backgroundColor: string;
@@ -210,7 +210,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
210
210
  color?: string | undefined;
211
211
  strokeColor?: string | undefined;
212
212
  fontSize?: number | undefined;
213
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
213
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
214
214
  fontFamily?: string | undefined;
215
215
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
216
216
  backgroundColor?: string | undefined;
@@ -230,7 +230,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
230
230
  color: string;
231
231
  strokeColor: string;
232
232
  fontSize: number;
233
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
233
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
234
234
  fontFamily: string;
235
235
  fontStyle: "normal" | "italic" | "oblique";
236
236
  backgroundColor: string;
@@ -246,7 +246,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
246
246
  color: string;
247
247
  strokeColor: string;
248
248
  fontSize: number;
249
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
249
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
250
250
  fontFamily: string;
251
251
  fontStyle: "normal" | "italic" | "oblique";
252
252
  backgroundColor: string;
@@ -264,7 +264,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
264
264
  color?: string | undefined;
265
265
  strokeColor?: string | undefined;
266
266
  fontSize?: number | undefined;
267
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
267
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
268
268
  fontFamily?: string | undefined;
269
269
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
270
270
  backgroundColor?: string | undefined;
@@ -280,7 +280,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
280
280
  color?: string | undefined;
281
281
  strokeColor?: string | undefined;
282
282
  fontSize?: number | undefined;
283
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
283
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
284
284
  fontFamily?: string | undefined;
285
285
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
286
286
  backgroundColor?: string | undefined;
@@ -332,7 +332,7 @@ export declare class SubtitlesManager {
332
332
  color: string;
333
333
  strokeColor: string;
334
334
  fontSize: number;
335
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
335
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
336
336
  fontFamily: string;
337
337
  fontStyle: "normal" | "italic" | "oblique";
338
338
  backgroundColor: string;
@@ -348,7 +348,7 @@ export declare class SubtitlesManager {
348
348
  color: string;
349
349
  strokeColor: string;
350
350
  fontSize: number;
351
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
351
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
352
352
  fontFamily: string;
353
353
  fontStyle: "normal" | "italic" | "oblique";
354
354
  backgroundColor: string;
@@ -383,7 +383,7 @@ export declare class SubtitlesManager {
383
383
  color: string;
384
384
  strokeColor: string;
385
385
  fontSize: number;
386
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
386
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
387
387
  fontFamily: string;
388
388
  fontStyle: "normal" | "italic" | "oblique";
389
389
  backgroundColor: string;
@@ -399,7 +399,7 @@ export declare class SubtitlesManager {
399
399
  color: string;
400
400
  strokeColor: string;
401
401
  fontSize: number;
402
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
402
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
403
403
  fontFamily: string;
404
404
  fontStyle: "normal" | "italic" | "oblique";
405
405
  backgroundColor: string;
@@ -1,6 +1,8 @@
1
+ import { AnimationTypeEnum } from "../clip";
1
2
  import { ShapeTypeEnum } from "../clip/clips/shape/types/Shape.types";
2
3
  import { TextBlock } from "../library";
3
4
  import { HighlightAnimationEnum } from "../subtitles";
5
+ import { AnimationData } from '../../utils/animation/animation';
4
6
  export declare enum UndoActionEnum {
5
7
  MEDIA_ADD = "media-add",
6
8
  MEDIA_REMOVE = "media-remove",
@@ -14,6 +16,9 @@ export declare enum UndoActionEnum {
14
16
  CLIP_LEFT_TRIM = "clip-left-trim",
15
17
  CLIP_MOVE_TO_LAYER = "clip-move-to-layer",
16
18
  CLIP_SUBTITLES_SETTINGS = "clip-subtitles-settings",
19
+ CLIP_ANIMATION_SET = "clip-animation-set",
20
+ CLIP_ANIMATION_SET_DURATION = "clip-animation-set-duration",
21
+ CLIP_ANIMATION_SET_LOOP_SMOOTHING = "clip-animation-set-loop-smoothing",
17
22
  CLIP_STYLE_POSITION = "clip-style-position",
18
23
  CLIP_STYLE_SCALE = "clip-style-scale",
19
24
  CLIP_STYLE_ROTATION = "clip-style-rotation",
@@ -255,6 +260,21 @@ export type UndoActionMappings = {
255
260
  clipId: string;
256
261
  value: number;
257
262
  };
263
+ [UndoActionEnum.CLIP_ANIMATION_SET]: {
264
+ clipId: string;
265
+ animationData: AnimationData | undefined;
266
+ duration: number;
267
+ type: AnimationTypeEnum;
268
+ };
269
+ [UndoActionEnum.CLIP_ANIMATION_SET_DURATION]: {
270
+ clipId: string;
271
+ type: AnimationTypeEnum;
272
+ duration: number;
273
+ };
274
+ [UndoActionEnum.CLIP_ANIMATION_SET_LOOP_SMOOTHING]: {
275
+ clipId: string;
276
+ smoothing: number;
277
+ };
258
278
  [UndoActionEnum.TRANSITION_ADD]: {
259
279
  layerId: string;
260
280
  transition: any;
@@ -250,7 +250,7 @@ export declare class AnimationController {
250
250
  getAmplification(): number | undefined;
251
251
  getStart(): number | undefined;
252
252
  getEnd(): number | undefined;
253
- getDuration(): number | undefined;
253
+ getDuration(): number;
254
254
  private resolvePropertyValue;
255
255
  seek(time: number): this | undefined;
256
256
  }
@@ -0,0 +1 @@
1
+ export declare function wrapValue(x: number, max?: number): number;
package/package.json CHANGED
@@ -1,83 +1,83 @@
1
- {
2
- "name": "@rendley/sdk",
3
- "version": "1.11.3",
4
- "license": "LICENSE",
5
- "author": "Onix Technologies",
6
- "homepage": "https://rendley.com",
7
- "description": "A Video Editing SDK that works completely in the browser.",
8
- "type": "module",
9
- "keywords": [
10
- "video editing sdk",
11
- "javascript video sdk",
12
- "typescript video sdk",
13
- "video api",
14
- "video processing",
15
- "ffmpeg",
16
- "video",
17
- "web codecs",
18
- "video editor"
19
- ],
20
- "main": "./dist/index.cjs",
21
- "module": "./dist/index.js",
22
- "typings": "./dist/index.d.ts",
23
- "files": [
24
- "dist"
25
- ],
26
- "publishConfig": {
27
- "registry": "https://registry.npmjs.org/",
28
- "access": "public"
29
- },
30
- "scripts": {
31
- "build:docs": "typedoc",
32
- "build": "tsc && vite build --mode development",
33
- "build:watch": "tsc && vite build --watch --mode development",
34
- "build:production": "tsc && vite build --mode production && npm run obfuscate",
35
- "obfuscate": "node ./plugins/obfuscate.js",
36
- "test": "jest",
37
- "lint": "eslint --ext .ts,.tsx src --fix",
38
- "format": "prettier --write 'src/**/*.{ts,tsx}'",
39
- "patch": "patch-package"
40
- },
41
- "devDependencies": {
42
- "@babel/core": "7.23.7",
43
- "@babel/preset-env": "7.23.7",
44
- "@babel/preset-typescript": "7.23.3",
45
- "@types/crypto-js": "4.2.2",
46
- "@types/emscripten": "1.39.10",
47
- "@types/eventemitter3": "2.0.2",
48
- "@types/gradient-parser": "0.1.5",
49
- "@types/jest": "29.5.11",
50
- "@types/node": "20.10.6",
51
- "@types/uuid": "9.0.8",
52
- "@typescript-eslint/eslint-plugin": "6.17.0",
53
- "@typescript-eslint/parser": "6.17.0",
54
- "babel-jest": "29.7.0",
55
- "eslint": "8.56.0",
56
- "eslint-plugin-import": "2.29.1",
57
- "javascript-obfuscator": "4.1.0",
58
- "jest": "29.7.0",
59
- "patch-package": "8.0.0",
60
- "postinstall-postinstall": "2.1.0",
61
- "prettier": "3.1.1",
62
- "ts-jest": "29.1.1",
63
- "typedoc": "0.27.2",
64
- "typedoc-plugin-markdown": "4.3.1",
65
- "typescript": "5.3.3",
66
- "vite": "^5.4.9",
67
- "vite-plugin-dts": "3.7.2"
68
- },
69
- "dependencies": {
70
- "@pixi/gif": "2.1.1",
71
- "@tweenjs/tween.js": "23.1.2",
72
- "bodymovin": "4.13.0",
73
- "crypto-js": "4.2.0",
74
- "eventemitter3": "5.0.1",
75
- "gradient-parser": "1.0.2",
76
- "lottie-web": "5.12.2",
77
- "pixi-filters": "^5.3.0",
78
- "pixi.js": "7.4.0",
79
- "unplugin-preprocessor-directives": "^1.0.3",
80
- "uuid": "9.0.1",
81
- "zod": "3.22.4"
82
- }
83
- }
1
+ {
2
+ "name": "@rendley/sdk",
3
+ "version": "1.11.5",
4
+ "license": "LICENSE",
5
+ "author": "Onix Technologies",
6
+ "homepage": "https://rendley.com",
7
+ "description": "A Video Editing SDK that works completely in the browser.",
8
+ "type": "module",
9
+ "keywords": [
10
+ "video editing sdk",
11
+ "javascript video sdk",
12
+ "typescript video sdk",
13
+ "video api",
14
+ "video processing",
15
+ "ffmpeg",
16
+ "video",
17
+ "web codecs",
18
+ "video editor"
19
+ ],
20
+ "main": "./dist/index.cjs",
21
+ "module": "./dist/index.js",
22
+ "typings": "./dist/index.d.ts",
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "publishConfig": {
27
+ "registry": "https://registry.npmjs.org/",
28
+ "access": "public"
29
+ },
30
+ "scripts": {
31
+ "build:docs": "typedoc",
32
+ "build": "tsc && vite build --mode development",
33
+ "build:watch": "tsc && vite build --watch --mode development",
34
+ "build:production": "tsc && vite build --mode production && npm run obfuscate",
35
+ "obfuscate": "node ./plugins/obfuscate.js",
36
+ "test": "jest",
37
+ "lint": "eslint --ext .ts,.tsx src --fix",
38
+ "format": "prettier --write 'src/**/*.{ts,tsx}'",
39
+ "patch": "patch-package"
40
+ },
41
+ "devDependencies": {
42
+ "@babel/core": "7.23.7",
43
+ "@babel/preset-env": "7.23.7",
44
+ "@babel/preset-typescript": "7.23.3",
45
+ "@types/crypto-js": "4.2.2",
46
+ "@types/emscripten": "1.39.10",
47
+ "@types/eventemitter3": "2.0.2",
48
+ "@types/gradient-parser": "0.1.5",
49
+ "@types/jest": "29.5.11",
50
+ "@types/node": "20.10.6",
51
+ "@types/uuid": "9.0.8",
52
+ "@typescript-eslint/eslint-plugin": "6.17.0",
53
+ "@typescript-eslint/parser": "6.17.0",
54
+ "babel-jest": "29.7.0",
55
+ "eslint": "8.56.0",
56
+ "eslint-plugin-import": "2.29.1",
57
+ "javascript-obfuscator": "4.1.0",
58
+ "jest": "29.7.0",
59
+ "patch-package": "8.0.0",
60
+ "postinstall-postinstall": "2.1.0",
61
+ "prettier": "3.1.1",
62
+ "ts-jest": "29.1.1",
63
+ "typedoc": "0.27.2",
64
+ "typedoc-plugin-markdown": "4.3.1",
65
+ "typescript": "5.3.3",
66
+ "vite": "^5.4.9",
67
+ "vite-plugin-dts": "3.7.2"
68
+ },
69
+ "dependencies": {
70
+ "@pixi/gif": "2.1.1",
71
+ "@tweenjs/tween.js": "23.1.2",
72
+ "bodymovin": "4.13.0",
73
+ "crypto-js": "4.2.0",
74
+ "eventemitter3": "5.0.1",
75
+ "gradient-parser": "1.0.2",
76
+ "lottie-web": "5.12.2",
77
+ "pixi-filters": "^5.3.0",
78
+ "pixi.js": "7.4.0",
79
+ "unplugin-preprocessor-directives": "^1.0.3",
80
+ "uuid": "9.0.1",
81
+ "zod": "3.22.4"
82
+ }
83
+ }