@remotion/player 4.0.381 → 4.0.382
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.
|
@@ -15,5 +15,5 @@ export declare class ErrorBoundary extends React.Component<{
|
|
|
15
15
|
hasError: Error;
|
|
16
16
|
};
|
|
17
17
|
componentDidCatch(error: Error): void;
|
|
18
|
-
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
18
|
+
render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
19
19
|
}
|
|
@@ -47,7 +47,10 @@ const getHashOfDomain = async () => {
|
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
try {
|
|
50
|
-
const hashBuffer = await crypto.subtle.digest('SHA-256',
|
|
50
|
+
const hashBuffer = await crypto.subtle.digest('SHA-256',
|
|
51
|
+
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
new TextEncoder().encode(window.location.hostname));
|
|
51
54
|
return Array.from(new Uint8Array(hashBuffer))
|
|
52
55
|
.map((b) => b.toString(16).padStart(2, '0'))
|
|
53
56
|
.join('');
|
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.
|
|
6
|
+
"version": "4.0.382",
|
|
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.
|
|
38
|
+
"remotion": "4.0.382"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=16.8.0",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@testing-library/react": "16.1.0",
|
|
46
46
|
"@happy-dom/global-registrator": "14.5.1",
|
|
47
47
|
"csstype": "^3.1.1",
|
|
48
|
-
"react": "19.
|
|
49
|
-
"react-dom": "19.
|
|
48
|
+
"react": "19.2.1",
|
|
49
|
+
"react-dom": "19.2.1",
|
|
50
50
|
"webpack": "5.96.1",
|
|
51
51
|
"zod": "3.22.3",
|
|
52
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
52
|
+
"@remotion/eslint-config-internal": "4.0.382",
|
|
53
53
|
"eslint": "9.19.0"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|