remotion 4.0.0-fastlambda.17 → 4.0.0-fastlambda.18

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,5 +1,5 @@
1
- remotion:build: cache hit, replaying output 4a70c480d33626a4
2
- remotion:build: 
3
- remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output 01a75dc462353c28
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -6,14 +6,13 @@ const react_1 = require("react");
6
6
  const shared_audio_tags_1 = require("./audio/shared-audio-tags");
7
7
  const CompositionManager_1 = require("./CompositionManager");
8
8
  const delay_render_1 = require("./delay-render");
9
- const initial_frame_1 = require("./initial-frame");
10
9
  const nonce_1 = require("./nonce");
11
10
  const random_1 = require("./random");
12
11
  const timeline_position_state_1 = require("./timeline-position-state");
13
12
  const RemotionRoot = ({ children }) => {
14
13
  var _a;
15
14
  const [remotionRootId] = (0, react_1.useState)(() => String((0, random_1.random)(null)));
16
- console.log('INITIAL FRAME', window.remotion_initialFrame, localStorage.getItem(initial_frame_1.INITIAL_FRAME_LOCAL_STORAGE_KEY));
15
+ console.log('INITIAL FRAME', window.remotion_initialFrame);
17
16
  const [frame, setFrame] = (0, react_1.useState)((_a = window.remotion_initialFrame) !== null && _a !== void 0 ? _a : 0);
18
17
  const [playing, setPlaying] = (0, react_1.useState)(false);
19
18
  const imperativePlaying = (0, react_1.useRef)(false);
package/dist/Still.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { StillProps } from './Composition';
2
3
  export declare const Still: <T>(props: StillProps<T>) => JSX.Element;
@@ -92,9 +92,7 @@ export declare const Internals: {
92
92
  RemotionContextProvider: (props: import("./wrap-remotion-context").RemotionContextProviderProps) => JSX.Element;
93
93
  CSSUtils: typeof CSSUtils;
94
94
  setupEnvVariables: () => void;
95
- setupInitialFrame: () => void;
96
95
  ENV_VARIABLES_ENV_NAME: "ENV_VARIABLES";
97
- INITIAL_FRAME_LOCAL_STORAGE_KEY: string;
98
96
  getDotEnvLocation: () => string | null;
99
97
  getServerPort: () => number | undefined;
100
98
  MediaVolumeContext: import("react").Context<MediaVolumeContextValue>;
package/dist/internals.js CHANGED
@@ -51,7 +51,6 @@ const delay_render_1 = require("./delay-render");
51
51
  const feature_flags_1 = require("./feature-flags");
52
52
  const get_environment_1 = require("./get-environment");
53
53
  const get_preview_dom_element_1 = require("./get-preview-dom-element");
54
- const initial_frame_1 = require("./initial-frame");
55
54
  const is_audio_codec_1 = require("./is-audio-codec");
56
55
  const perf = __importStar(require("./perf"));
57
56
  const register_root_1 = require("./register-root");
@@ -125,9 +124,7 @@ exports.Internals = {
125
124
  RemotionContextProvider: wrap_remotion_context_1.RemotionContextProvider,
126
125
  CSSUtils,
127
126
  setupEnvVariables: setup_env_variables_1.setupEnvVariables,
128
- setupInitialFrame: initial_frame_1.setupInitialFrame,
129
127
  ENV_VARIABLES_ENV_NAME: setup_env_variables_1.ENV_VARIABLES_ENV_NAME,
130
- INITIAL_FRAME_LOCAL_STORAGE_KEY: initial_frame_1.INITIAL_FRAME_LOCAL_STORAGE_KEY,
131
128
  getDotEnvLocation: env_file_1.getDotEnvLocation,
132
129
  getServerPort: preview_server_1.getServerPort,
133
130
  MediaVolumeContext: volume_position_state_1.MediaVolumeContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.0-fastlambda.17+ab926ae8d",
3
+ "version": "4.0.0-fastlambda.18+0578f57fa",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "ab926ae8d7255286f77960fd2c508c26b2311c3f"
58
+ "gitHead": "0578f57fa6c718af17cf53db534c3532fc770e42"
59
59
  }