@remotion/transitions 4.0.462 → 4.0.463

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.
@@ -532,7 +532,7 @@ import {
532
532
  HTML_IN_CANVAS_UNSUPPORTED_MESSAGE,
533
533
  useDelayRender
534
534
  } from "remotion";
535
- import { AbsoluteFill as AbsoluteFill2, Internals as Internals2, useCurrentFrame as useCurrentFrame2 } from "remotion";
535
+ import { AbsoluteFill as AbsoluteFill2, Internals as Internals2 } from "remotion";
536
536
  import { jsx as jsx4 } from "react/jsx-runtime";
537
537
  var HtmlInCanvasPresentation = ({
538
538
  children,
@@ -563,9 +563,6 @@ var HtmlInCanvasPresentation = ({
563
563
  const [offscreenCanvas] = useState(() => new OffscreenCanvas(1, 1));
564
564
  const passedPropsRef = useRef2(passedProps);
565
565
  passedPropsRef.current = passedProps;
566
- const frame = useCurrentFrame2();
567
- const frameRef = useRef2(frame);
568
- frameRef.current = frame;
569
566
  const memoizedEffects = Internals2.useMemoizedEffects({
570
567
  effects: _experimentalEffects ?? [],
571
568
  overrideId: null
@@ -611,7 +608,6 @@ var HtmlInCanvasPresentation = ({
611
608
  state: chainState.get(width, height),
612
609
  source: offscreenCanvas,
613
610
  effects: effectsRef.current ?? [],
614
- frame: frameRef.current,
615
611
  width,
616
612
  height,
617
613
  output: canvasRef.current
@@ -5,7 +5,7 @@ import {
5
5
  HTML_IN_CANVAS_UNSUPPORTED_MESSAGE,
6
6
  useDelayRender
7
7
  } from "remotion";
8
- import { AbsoluteFill, Internals, useCurrentFrame } from "remotion";
8
+ import { AbsoluteFill, Internals } from "remotion";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  var HtmlInCanvasPresentation = ({
11
11
  children,
@@ -36,9 +36,6 @@ var HtmlInCanvasPresentation = ({
36
36
  const [offscreenCanvas] = useState(() => new OffscreenCanvas(1, 1));
37
37
  const passedPropsRef = useRef(passedProps);
38
38
  passedPropsRef.current = passedProps;
39
- const frame = useCurrentFrame();
40
- const frameRef = useRef(frame);
41
- frameRef.current = frame;
42
39
  const memoizedEffects = Internals.useMemoizedEffects({
43
40
  effects: _experimentalEffects ?? [],
44
41
  overrideId: null
@@ -84,7 +81,6 @@ var HtmlInCanvasPresentation = ({
84
81
  state: chainState.get(width, height),
85
82
  source: offscreenCanvas,
86
83
  effects: effectsRef.current ?? [],
87
- frame: frameRef.current,
88
84
  width,
89
85
  height,
90
86
  output: canvasRef.current
@@ -5,7 +5,7 @@ import {
5
5
  HTML_IN_CANVAS_UNSUPPORTED_MESSAGE,
6
6
  useDelayRender
7
7
  } from "remotion";
8
- import { AbsoluteFill, Internals, useCurrentFrame } from "remotion";
8
+ import { AbsoluteFill, Internals } from "remotion";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  var HtmlInCanvasPresentation = ({
11
11
  children,
@@ -36,9 +36,6 @@ var HtmlInCanvasPresentation = ({
36
36
  const [offscreenCanvas] = useState(() => new OffscreenCanvas(1, 1));
37
37
  const passedPropsRef = useRef(passedProps);
38
38
  passedPropsRef.current = passedProps;
39
- const frame = useCurrentFrame();
40
- const frameRef = useRef(frame);
41
- frameRef.current = frame;
42
39
  const memoizedEffects = Internals.useMemoizedEffects({
43
40
  effects: _experimentalEffects ?? [],
44
41
  overrideId: null
@@ -84,7 +81,6 @@ var HtmlInCanvasPresentation = ({
84
81
  state: chainState.get(width, height),
85
82
  source: offscreenCanvas,
86
83
  effects: effectsRef.current ?? [],
87
- frame: frameRef.current,
88
84
  width,
89
85
  height,
90
86
  output: canvasRef.current
@@ -24,9 +24,6 @@ const HtmlInCanvasPresentation = ({ children, onElementImage, onUnmount, present
24
24
  const [offscreenCanvas] = (0, react_1.useState)(() => new OffscreenCanvas(1, 1));
25
25
  const passedPropsRef = (0, react_1.useRef)(passedProps);
26
26
  passedPropsRef.current = passedProps;
27
- const frame = (0, remotion_2.useCurrentFrame)();
28
- const frameRef = (0, react_1.useRef)(frame);
29
- frameRef.current = frame;
30
27
  const memoizedEffects = remotion_2.Internals.useMemoizedEffects({
31
28
  effects: _experimentalEffects !== null && _experimentalEffects !== void 0 ? _experimentalEffects : [],
32
29
  overrideId: null,
@@ -73,7 +70,6 @@ const HtmlInCanvasPresentation = ({ children, onElementImage, onUnmount, present
73
70
  state: chainState.get(width, height),
74
71
  source: offscreenCanvas,
75
72
  effects: (_e = effectsRef.current) !== null && _e !== void 0 ? _e : [],
76
- frame: frameRef.current,
77
73
  width,
78
74
  height,
79
75
  output: canvasRef.current,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/transitions"
4
4
  },
5
5
  "name": "@remotion/transitions",
6
- "version": "4.0.462",
6
+ "version": "4.0.463",
7
7
  "description": "Library for creating transitions in Remotion",
8
8
  "main": "dist/esm/index.mjs",
9
9
  "module": "dist/esm/index.js",
@@ -22,18 +22,18 @@
22
22
  "url": "https://github.com/remotion-dev/remotion/issues"
23
23
  },
24
24
  "dependencies": {
25
- "remotion": "4.0.462",
26
- "@remotion/shapes": "4.0.462",
27
- "@remotion/paths": "4.0.462"
25
+ "remotion": "4.0.463",
26
+ "@remotion/shapes": "4.0.463",
27
+ "@remotion/paths": "4.0.463"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@happy-dom/global-registrator": "14.5.1",
31
- "remotion": "4.0.462",
31
+ "remotion": "4.0.463",
32
32
  "react": "19.2.3",
33
33
  "react-dom": "19.2.3",
34
- "@remotion/test-utils": "4.0.462",
35
- "@remotion/player": "4.0.462",
36
- "@remotion/eslint-config-internal": "4.0.462",
34
+ "@remotion/test-utils": "4.0.463",
35
+ "@remotion/player": "4.0.463",
36
+ "@remotion/eslint-config-internal": "4.0.463",
37
37
  "eslint": "9.19.0",
38
38
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
39
39
  },