@versa_ai/vmml-editor 1.0.8 → 1.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versa_ai/vmml-editor",
3
- "version": "1.0.8",
3
+ "version": "1.0.11",
4
4
  "module": "dist/index.mjs",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",
@@ -16,8 +16,8 @@
16
16
  "remotion": "4.0.166",
17
17
  "uuid": "^10.0.0",
18
18
  "zod": "^3.23.8",
19
- "@versa_ai/vmml-utils": "1.0.9",
20
- "@versa_ai/vmml-player": "1.1.4"
19
+ "@versa_ai/vmml-player": "1.1.14",
20
+ "@versa_ai/vmml-utils": "1.0.14"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@biomejs/biome": "^1.7.1",
package/src/index.tsx CHANGED
@@ -68,7 +68,7 @@ const EditorFn = <Schema extends AnyZodObject, Props>(
68
68
  }
69
69
  };
70
70
 
71
- const hideLoading = () => {
71
+ const onPlayerReady = () => {
72
72
  const { current }: any = vmmlPlayerRef;
73
73
  vmmlFlag.current = false;
74
74
  if (current && current.playerRef) {
@@ -455,11 +455,10 @@ const EditorFn = <Schema extends AnyZodObject, Props>(
455
455
  vmml={vmml}
456
456
  existenceBorderRadio
457
457
  moveToBeginningWhenEnded
458
- isEditorState
459
458
  muted={true}
460
459
  fps={fps}
461
- hideLoading={hideLoading}
462
- editableArray={editableArray}
460
+ onPlayerReady={onPlayerReady}
461
+ // editableArray={editableArray}
463
462
  premountFor={40}
464
463
  pauseWhenBuffering={pauseWhenBuffering}
465
464
  filterIds={filterIds}