@remotion/media 4.0.428 → 4.0.429

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.
@@ -1,6 +1,6 @@
1
- import type { LoopDisplay } from 'remotion';
1
+ import type { LoopDisplay, SequenceControls } from 'remotion';
2
2
  import { type VolumeProp } from 'remotion';
3
- export declare const useMediaInTimeline: ({ volume, mediaVolume, src, mediaType, playbackRate, displayName, stack, showInTimeline, premountDisplay, postmountDisplay, loopDisplay, trimBefore, trimAfter, }: {
3
+ export declare const useMediaInTimeline: ({ volume, mediaVolume, src, mediaType, playbackRate, displayName, stack, showInTimeline, premountDisplay, postmountDisplay, loopDisplay, trimBefore, trimAfter, controls, }: {
4
4
  volume: VolumeProp | undefined;
5
5
  mediaVolume: number;
6
6
  src: string | undefined;
@@ -14,6 +14,7 @@ export declare const useMediaInTimeline: ({ volume, mediaVolume, src, mediaType,
14
14
  loopDisplay: LoopDisplay | undefined;
15
15
  trimBefore: number | undefined;
16
16
  trimAfter: number | undefined;
17
+ controls: SequenceControls | null;
17
18
  }) => {
18
19
  id: string;
19
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/media",
3
- "version": "4.0.428",
3
+ "version": "4.0.429",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -14,22 +14,23 @@
14
14
  "type": "module",
15
15
  "scripts": {
16
16
  "if-node-18+": "node -e \"const [maj]=process.versions.node.split('.').map(Number); process.exit(maj>=18?0:1)\"",
17
- "formatting": "prettier src --check",
17
+ "formatting": "oxfmt src --check",
18
18
  "lint": "eslint src",
19
19
  "watch": "tsgo -w",
20
20
  "test": "node src/test/execute.mjs",
21
21
  "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"
22
22
  },
23
23
  "dependencies": {
24
- "mediabunny": "1.34.4",
25
- "remotion": "4.0.428"
24
+ "mediabunny": "1.34.5",
25
+ "remotion": "4.0.429",
26
+ "zod": "4.3.6"
26
27
  },
27
28
  "peerDependencies": {
28
29
  "react": ">=16.8.0",
29
30
  "react-dom": ">=16.8.0"
30
31
  },
31
32
  "devDependencies": {
32
- "@remotion/eslint-config-internal": "4.0.428",
33
+ "@remotion/eslint-config-internal": "4.0.429",
33
34
  "@vitest/browser-webdriverio": "4.0.9",
34
35
  "eslint": "9.19.0",
35
36
  "react": "19.2.3",