@remotion/player 4.0.532 → 4.0.533

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.
@@ -59,7 +59,7 @@ const componentOrNullIfLazy = (props) => {
59
59
  };
60
60
  exports.componentOrNullIfLazy = componentOrNullIfLazy;
61
61
  const TimelineSequenceObserverComponent = ({ onTimelineSequenceChange }) => {
62
- const { sequences } = react_1.default.useContext(remotion_1.Internals.SequenceManager);
62
+ const sequences = remotion_1.Internals.useSequenceManagerSequences();
63
63
  (0, react_1.useEffect)(() => {
64
64
  onTimelineSequenceChange(sequences);
65
65
  }, [onTimelineSequenceChange, sequences]);
@@ -3371,7 +3371,7 @@ var componentOrNullIfLazy = (props) => {
3371
3371
  return null;
3372
3372
  };
3373
3373
  var TimelineSequenceObserverComponent = ({ onTimelineSequenceChange }) => {
3374
- const { sequences } = React13.useContext(Internals15.SequenceManager);
3374
+ const sequences = Internals15.useSequenceManagerSequences();
3375
3375
  useEffect13(() => {
3376
3376
  onTimelineSequenceChange(sequences);
3377
3377
  }, [onTimelineSequenceChange, sequences]);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/player"
4
4
  },
5
5
  "name": "@remotion/player",
6
- "version": "4.0.532",
6
+ "version": "4.0.533",
7
7
  "description": "React component for embedding a Remotion preview into your app",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "dependencies": {
38
- "remotion": "4.0.532"
38
+ "remotion": "4.0.533"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=16.8.0",
@@ -49,7 +49,7 @@
49
49
  "react-dom": "19.2.3",
50
50
  "webpack": "5.105.0",
51
51
  "zod": "4.5.4",
52
- "@remotion/eslint-config-internal": "4.0.532",
52
+ "@remotion/eslint-config-internal": "4.0.533",
53
53
  "eslint": "9.19.0",
54
54
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
55
55
  },