@remotion/renderer 4.0.468 → 4.0.470
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.
- package/dist/browser/BrowserPage.js +1 -2
- package/dist/client.d.ts +19 -0
- package/dist/esm/client.mjs +245 -210
- package/dist/esm/index.mjs +1 -2
- package/dist/options/beep-on-finish.js +1 -1
- package/dist/options/dark-mode.js +1 -1
- package/dist/options/disable-web-security.js +1 -1
- package/dist/options/disallow-parallel-encoding.js +1 -1
- package/dist/options/force-new-studio.js +1 -1
- package/dist/options/headless.js +1 -1
- package/dist/options/ignore-certificate-errors.js +1 -1
- package/dist/options/image-sequence.js +1 -1
- package/dist/options/index.d.ts +19 -0
- package/dist/options/index.js +2 -0
- package/dist/options/ipv4.js +1 -1
- package/dist/options/is-production.js +1 -1
- package/dist/options/keyboard-shortcuts.js +1 -1
- package/dist/options/overwrite.js +1 -1
- package/dist/options/preview-sample-rate.d.ts +19 -0
- package/dist/options/preview-sample-rate.js +29 -0
- package/dist/options/repro.js +1 -1
- package/package.json +13 -13
|
@@ -411,7 +411,7 @@ class Page extends EventEmitter_1.EventEmitter {
|
|
|
411
411
|
await this.#client.send('Page.bringToFront');
|
|
412
412
|
}
|
|
413
413
|
async setAutoDarkModeOverride() {
|
|
414
|
-
|
|
414
|
+
await this.#client.send('Emulation.setEmulatedMedia', {
|
|
415
415
|
media: 'screen',
|
|
416
416
|
features: [
|
|
417
417
|
{
|
|
@@ -420,7 +420,6 @@ class Page extends EventEmitter_1.EventEmitter {
|
|
|
420
420
|
},
|
|
421
421
|
],
|
|
422
422
|
});
|
|
423
|
-
console.log(result);
|
|
424
423
|
}
|
|
425
424
|
evaluate(pageFunction, ...args) {
|
|
426
425
|
return this.#frameManager.mainFrame().evaluate(pageFunction, ...args);
|
package/dist/client.d.ts
CHANGED
|
@@ -846,6 +846,25 @@ export declare const BrowserSafeApis: {
|
|
|
846
846
|
setConfig: (val: boolean) => void;
|
|
847
847
|
id: "prefer-lossless";
|
|
848
848
|
};
|
|
849
|
+
previewSampleRateOption: {
|
|
850
|
+
name: string;
|
|
851
|
+
cliFlag: "preview-sample-rate";
|
|
852
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
853
|
+
ssrName: null;
|
|
854
|
+
docLink: string;
|
|
855
|
+
type: number | null;
|
|
856
|
+
getValue: ({ commandLine }: {
|
|
857
|
+
commandLine: Record<string, unknown>;
|
|
858
|
+
}) => {
|
|
859
|
+
value: number;
|
|
860
|
+
source: string;
|
|
861
|
+
} | {
|
|
862
|
+
value: null;
|
|
863
|
+
source: string;
|
|
864
|
+
};
|
|
865
|
+
setConfig: (value: number | null) => void;
|
|
866
|
+
id: "preview-sample-rate";
|
|
867
|
+
};
|
|
849
868
|
proResProfileOption: {
|
|
850
869
|
name: string;
|
|
851
870
|
cliFlag: "prores-profile";
|