@remotion/player 4.0.351 → 4.0.353
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,2 +1,2 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type LogLevel } from 'remotion';
|
|
2
2
|
export declare const acknowledgeRemotionLicenseMessage: (acknowledge: boolean, logLevel: LogLevel) => void;
|
|
@@ -11,6 +11,6 @@ const acknowledgeRemotionLicenseMessage = (acknowledge, logLevel) => {
|
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
warningShown = true;
|
|
14
|
-
remotion_1.Internals.Log.warn(logLevel, 'Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license\nPass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.');
|
|
14
|
+
remotion_1.Internals.Log.warn({ logLevel, tag: null }, 'Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license\nPass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.');
|
|
15
15
|
};
|
|
16
16
|
exports.acknowledgeRemotionLicenseMessage = acknowledgeRemotionLicenseMessage;
|
|
@@ -13,7 +13,7 @@ const persistVolume = (volume, logLevel, volumePersistenceKey) => {
|
|
|
13
13
|
catch (e) {
|
|
14
14
|
// User can disallow localStorage access
|
|
15
15
|
// https://github.com/remotion-dev/remotion/issues/3540
|
|
16
|
-
remotion_1.Internals.Log.error(logLevel, 'Could not persist volume', e);
|
|
16
|
+
remotion_1.Internals.Log.error({ logLevel, tag: null }, 'Could not persist volume', e);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
exports.persistVolume = persistVolume;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -2859,7 +2859,7 @@ var persistVolume = (volume, logLevel, volumePersistenceKey) => {
|
|
|
2859
2859
|
try {
|
|
2860
2860
|
window.localStorage.setItem(volumePersistenceKey ?? DEFAULT_VOLUME_PERSISTANCE_KEY, String(volume));
|
|
2861
2861
|
} catch (e) {
|
|
2862
|
-
Internals12.Log.error(logLevel, "Could not persist volume", e);
|
|
2862
|
+
Internals12.Log.error({ logLevel, tag: null }, "Could not persist volume", e);
|
|
2863
2863
|
}
|
|
2864
2864
|
};
|
|
2865
2865
|
var getPreferredVolume = (volumePersistenceKey) => {
|
|
@@ -2994,7 +2994,7 @@ var acknowledgeRemotionLicenseMessage = (acknowledge, logLevel) => {
|
|
|
2994
2994
|
return;
|
|
2995
2995
|
}
|
|
2996
2996
|
warningShown = true;
|
|
2997
|
-
Internals14.Log.warn(logLevel, "Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license\nPass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.");
|
|
2997
|
+
Internals14.Log.warn({ logLevel, tag: null }, "Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license\nPass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.");
|
|
2998
2998
|
};
|
|
2999
2999
|
|
|
3000
3000
|
// src/utils/validate-in-out-frame.ts
|
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.353",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"remotion": "4.0.
|
|
31
|
+
"remotion": "4.0.353"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=16.8.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"webpack": "5.96.1",
|
|
44
44
|
"zod": "3.22.3",
|
|
45
45
|
"eslint": "9.19.0",
|
|
46
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.353"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|