@remotion/studio 4.0.323 → 4.0.325

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.
@@ -19522,8 +19522,10 @@ import {
19522
19522
  } from "react";
19523
19523
  import { SourceMapConsumer as SourceMapConsumer3 } from "source-map";
19524
19524
  import { jsx as jsx186, jsxs as jsxs89, Fragment as Fragment27 } from "react/jsx-runtime";
19525
+ var publicPath = window.remotion_publicPath === "/" ? "" : window.remotion_publicPath;
19526
+ var withoutSlashInTheEnd = publicPath.endsWith("/") ? publicPath.slice(0, -1) : publicPath;
19525
19527
  SourceMapConsumer3.initialize({
19526
- "lib/mappings.wasm": (window.remotion_publicPath === "/" ? "" : window.remotion_publicPath) + SOURCE_MAP_ENDPOINT
19528
+ "lib/mappings.wasm": withoutSlashInTheEnd + SOURCE_MAP_ENDPOINT
19527
19529
  });
19528
19530
  var TimelineStack = ({ isCompact, sequence }) => {
19529
19531
  const [originalLocation, setOriginalLocation] = useState63(null);
@@ -22126,8 +22128,8 @@ var parseElst = ({
22126
22128
  const entryCount = iterator.getUint32();
22127
22129
  const entries = [];
22128
22130
  for (let i = 0;i < entryCount; i++) {
22129
- const editDuration = iterator.getUint32();
22130
- const mediaTime = iterator.getInt32();
22131
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
22132
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
22131
22133
  const mediaRateInteger = iterator.getUint16();
22132
22134
  const mediaRateFraction = iterator.getUint16();
22133
22135
  entries.push({
@@ -19802,8 +19802,10 @@ import {
19802
19802
  } from "react";
19803
19803
  import { SourceMapConsumer as SourceMapConsumer3 } from "source-map";
19804
19804
  import { jsx as jsx187, jsxs as jsxs89, Fragment as Fragment27 } from "react/jsx-runtime";
19805
+ var publicPath = window.remotion_publicPath === "/" ? "" : window.remotion_publicPath;
19806
+ var withoutSlashInTheEnd = publicPath.endsWith("/") ? publicPath.slice(0, -1) : publicPath;
19805
19807
  SourceMapConsumer3.initialize({
19806
- "lib/mappings.wasm": (window.remotion_publicPath === "/" ? "" : window.remotion_publicPath) + SOURCE_MAP_ENDPOINT
19808
+ "lib/mappings.wasm": withoutSlashInTheEnd + SOURCE_MAP_ENDPOINT
19807
19809
  });
19808
19810
  var TimelineStack = ({ isCompact, sequence }) => {
19809
19811
  const [originalLocation, setOriginalLocation] = useState64(null);
@@ -22406,8 +22408,8 @@ var parseElst = ({
22406
22408
  const entryCount = iterator.getUint32();
22407
22409
  const entries = [];
22408
22410
  for (let i = 0;i < entryCount; i++) {
22409
- const editDuration = iterator.getUint32();
22410
- const mediaTime = iterator.getInt32();
22411
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
22412
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
22411
22413
  const mediaRateInteger = iterator.getUint16();
22412
22414
  const mediaRateFraction = iterator.getUint16();
22413
22415
  entries.push({
@@ -183,7 +183,7 @@ var renderContent = (Root) => {
183
183
  renderToDOM(/* @__PURE__ */ jsx("div", {
184
184
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
185
185
  }));
186
- import("./chunk-n77gaszd.js").then(({ StudioInternals }) => {
186
+ import("./chunk-sgrpvcge.js").then(({ StudioInternals }) => {
187
187
  renderToDOM(/* @__PURE__ */ jsx(StudioInternals.Studio, {
188
188
  readOnly: true,
189
189
  rootComponent: Root
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
4
4
  },
5
5
  "name": "@remotion/studio",
6
- "version": "4.0.323",
6
+ "version": "4.0.325",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "sideEffects": false,
@@ -23,21 +23,21 @@
23
23
  "source-map": "0.7.3",
24
24
  "open": "^8.4.2",
25
25
  "zod": "3.22.3",
26
- "remotion": "4.0.323",
27
- "@remotion/player": "4.0.323",
28
- "@remotion/media-utils": "4.0.323",
29
- "@remotion/media-parser": "4.0.323",
30
- "@remotion/renderer": "4.0.323",
31
- "@remotion/studio-shared": "4.0.323",
32
- "@remotion/webcodecs": "4.0.323",
33
- "@remotion/zod-types": "4.0.323"
26
+ "remotion": "4.0.325",
27
+ "@remotion/player": "4.0.325",
28
+ "@remotion/media-parser": "4.0.325",
29
+ "@remotion/media-utils": "4.0.325",
30
+ "@remotion/renderer": "4.0.325",
31
+ "@remotion/studio-shared": "4.0.325",
32
+ "@remotion/webcodecs": "4.0.325",
33
+ "@remotion/zod-types": "4.0.325"
34
34
  },
35
35
  "devDependencies": {
36
36
  "react": "19.0.0",
37
37
  "react-dom": "19.0.0",
38
38
  "@types/semver": "^7.3.4",
39
39
  "eslint": "9.19.0",
40
- "@remotion/eslint-config-internal": "4.0.323"
40
+ "@remotion/eslint-config-internal": "4.0.325"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"