@remotion/player
Advanced tools
Comparing version 4.0.226 to 4.0.227
import React from 'react'; | ||
export declare const bufferingIndicatorStrokeWidth = 3; | ||
export declare const BufferingIndicator: React.FC<{ | ||
type: 'player' | 'studio'; | ||
readonly type: 'player' | 'studio'; | ||
}>; |
import React from 'react'; | ||
export declare const PlayerEmitterProvider: React.FC<{ | ||
children: React.ReactNode; | ||
currentPlaybackRate: number | null; | ||
readonly children: React.ReactNode; | ||
readonly currentPlaybackRate: number | null; | ||
}>; |
@@ -18,3 +18,3 @@ import React from 'react'; | ||
componentDidCatch(error: Error): void; | ||
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined; | ||
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined; | ||
} |
@@ -7,5 +7,5 @@ import React from 'react'; | ||
export declare const FullscreenIcon: React.FC<{ | ||
isFullscreen: boolean; | ||
readonly isFullscreen: boolean; | ||
}>; | ||
export declare const VolumeOffIcon: React.FC; | ||
export declare const VolumeOnIcon: React.FC; |
@@ -63,8 +63,8 @@ import './_check-rsc.js'; | ||
PlayerEmitterProvider: import("react").FC<{ | ||
children: import("react").ReactNode; | ||
currentPlaybackRate: number | null; | ||
readonly children: import("react").ReactNode; | ||
readonly currentPlaybackRate: number | null; | ||
}>; | ||
BufferingIndicator: import("react").FC<{ | ||
type: "player" | "studio"; | ||
readonly type: "player" | "studio"; | ||
}>; | ||
}; |
@@ -6,4 +6,4 @@ import React from 'react'; | ||
export declare const PlaybackrateControl: React.FC<{ | ||
playbackRates: number[]; | ||
canvasSize: Size; | ||
readonly playbackRates: number[]; | ||
readonly canvasSize: Size; | ||
}>; |
@@ -26,3 +26,2 @@ "use strict"; | ||
// overwriting console.error console does not gets poluted with all the errors | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
window.console.error = () => { }; | ||
@@ -29,0 +28,0 @@ return (0, jsx_runtime_1.jsx)("div", { children: children }); |
@@ -5,9 +5,9 @@ import React from 'react'; | ||
declare const _default: React.ForwardRefExoticComponent<{ | ||
inputProps: Record<string, unknown>; | ||
style?: React.CSSProperties; | ||
errorFallback: ErrorFallback; | ||
renderLoading: RenderLoading | undefined; | ||
className: string | undefined; | ||
overflowVisible: boolean; | ||
readonly inputProps: Record<string, unknown>; | ||
readonly style?: React.CSSProperties; | ||
readonly errorFallback: ErrorFallback; | ||
readonly renderLoading: RenderLoading | undefined; | ||
readonly className: string | undefined; | ||
readonly overflowVisible: boolean; | ||
} & React.RefAttributes<ThumbnailMethods>>; | ||
export default _default; |
@@ -28,3 +28,3 @@ "use strict"; | ||
} | ||
catch (e) { | ||
catch (_a) { | ||
// User can disallow localStorage access | ||
@@ -31,0 +31,0 @@ // https://github.com/remotion-dev/remotion/issues/3540 |
@@ -6,3 +6,3 @@ { | ||
"name": "@remotion/player", | ||
"version": "4.0.226", | ||
"version": "4.0.227", | ||
"description": "React component for embedding a Remotion preview into your app", | ||
@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"remotion": "4.0.226" | ||
"remotion": "4.0.227" | ||
}, | ||
@@ -46,3 +46,5 @@ "peerDependencies": { | ||
"webpack": "5.94.0", | ||
"zod": "3.22.3" | ||
"zod": "3.22.3", | ||
"eslint": "9.14.0", | ||
"@remotion/eslint-config-internal": "4.0.227" | ||
}, | ||
@@ -62,4 +64,4 @@ "keywords": [ | ||
"formatting": "prettier src --check", | ||
"lint": "eslint src --ext ts,tsx", | ||
"make": "bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts", | ||
"lint": "eslint src", | ||
"make": "tsc -d && bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts", | ||
"test": "bun test src", | ||
@@ -66,0 +68,0 @@ "prerelease": "cp ../../README.md ." |
Sorry, the diff of this file is not supported yet
494933
202
10778
9
+ Addedremotion@4.0.227(transitive)
- Removedremotion@4.0.226(transitive)
Updatedremotion@4.0.227