@remotion/studio 4.0.414 → 4.0.415

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.
@@ -164,6 +164,7 @@ var renderContent = (Root) => {
164
164
  videoEnabled: window.remotion_videoEnabled,
165
165
  logLevel: window.remotion_logLevel,
166
166
  numberOfAudioTags: 0,
167
+ nonceContextSeed: 0,
167
168
  audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
168
169
  children: /* @__PURE__ */ jsxs(Internals.RenderAssetManagerProvider, {
169
170
  collectAssets: null,
@@ -191,6 +192,7 @@ var renderContent = (Root) => {
191
192
  logLevel: window.remotion_logLevel,
192
193
  numberOfAudioTags: 0,
193
194
  audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
195
+ nonceContextSeed: 0,
194
196
  children: /* @__PURE__ */ jsx(Internals.RenderAssetManagerProvider, {
195
197
  collectAssets: null,
196
198
  children: /* @__PURE__ */ jsx(Root, {})
@@ -206,7 +208,7 @@ var renderContent = (Root) => {
206
208
  renderToDOM(/* @__PURE__ */ jsx("div", {
207
209
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
208
210
  }));
209
- import("./chunk-t3rf3vkq.js").then(({ StudioInternals }) => {
211
+ import("./chunk-wg48cezw.js").then(({ StudioInternals }) => {
210
212
  window.remotion_isStudio = true;
211
213
  window.remotion_isReadOnlyStudio = true;
212
214
  window.remotion_inputProps = "{}";
@@ -0,0 +1,6 @@
1
+ export type FastRefreshContextType = {
2
+ fastRefreshes: number;
3
+ manualRefreshes: number;
4
+ increaseManualRefreshes: () => void;
5
+ };
6
+ export declare const FastRefreshContext: import("react").Context<FastRefreshContextType>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FastRefreshContext = void 0;
4
+ const react_1 = require("react");
5
+ exports.FastRefreshContext = (0, react_1.createContext)({
6
+ fastRefreshes: 0,
7
+ manualRefreshes: 0,
8
+ increaseManualRefreshes: () => { },
9
+ });
@@ -185,11 +185,11 @@ const renderContent = (Root) => {
185
185
  defaultVideoImageFormat: bundleMode.compositionDefaultVideoImageFormat,
186
186
  defaultPixelFormat: bundleMode.compositionDefaultPixelFormat,
187
187
  defaultProResProfile: bundleMode.compositionDefaultProResProfile,
188
- }, initialCompositions: [], children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRootContexts, { frameState: null, audioEnabled: window.remotion_audioEnabled, videoEnabled: window.remotion_videoEnabled, logLevel: window.remotion_logLevel, numberOfAudioTags: 0, audioLatencyHint: (_a = window.remotion_audioLatencyHint) !== null && _a !== void 0 ? _a : 'interactive', children: (0, jsx_runtime_1.jsxs)(remotion_1.Internals.RenderAssetManagerProvider, { collectAssets: null, children: [(0, jsx_runtime_1.jsx)(Root, {}), (0, jsx_runtime_1.jsx)(GetVideoComposition, { state: bundleMode })] }) }) }));
188
+ }, initialCompositions: [], children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRootContexts, { frameState: null, audioEnabled: window.remotion_audioEnabled, videoEnabled: window.remotion_videoEnabled, logLevel: window.remotion_logLevel, numberOfAudioTags: 0, nonceContextSeed: 0, audioLatencyHint: (_a = window.remotion_audioLatencyHint) !== null && _a !== void 0 ? _a : 'interactive', children: (0, jsx_runtime_1.jsxs)(remotion_1.Internals.RenderAssetManagerProvider, { collectAssets: null, children: [(0, jsx_runtime_1.jsx)(Root, {}), (0, jsx_runtime_1.jsx)(GetVideoComposition, { state: bundleMode })] }) }) }));
189
189
  renderToDOM(markup);
190
190
  }
191
191
  if (bundleMode.type === 'evaluation') {
192
- const markup = ((0, jsx_runtime_1.jsx)(remotion_1.Internals.CompositionManagerProvider, { initialCanvasContent: null, onlyRenderComposition: null, currentCompositionMetadata: null, initialCompositions: [], children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRootContexts, { frameState: null, audioEnabled: window.remotion_audioEnabled, videoEnabled: window.remotion_videoEnabled, logLevel: window.remotion_logLevel, numberOfAudioTags: 0, audioLatencyHint: (_b = window.remotion_audioLatencyHint) !== null && _b !== void 0 ? _b : 'interactive', children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RenderAssetManagerProvider, { collectAssets: null, children: (0, jsx_runtime_1.jsx)(Root, {}) }) }) }));
192
+ const markup = ((0, jsx_runtime_1.jsx)(remotion_1.Internals.CompositionManagerProvider, { initialCanvasContent: null, onlyRenderComposition: null, currentCompositionMetadata: null, initialCompositions: [], children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRootContexts, { frameState: null, audioEnabled: window.remotion_audioEnabled, videoEnabled: window.remotion_videoEnabled, logLevel: window.remotion_logLevel, numberOfAudioTags: 0, audioLatencyHint: (_b = window.remotion_audioLatencyHint) !== null && _b !== void 0 ? _b : 'interactive', nonceContextSeed: 0, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RenderAssetManagerProvider, { collectAssets: null, children: (0, jsx_runtime_1.jsx)(Root, {}) }) }) }));
193
193
  renderToDOM(markup);
194
194
  }
195
195
  if (bundleMode.type === 'index') {
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.414",
6
+ "version": "4.0.415",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "sideEffects": false,