pup-recorder 0.3.10 → 0.4.0
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/build.ts +2 -1
- package/dist/_tsup-dts-rollup.d.ts +39 -2
- package/dist/app.cjs +11 -430
- package/dist/chunk-GDKW7ZIE.js +4 -0
- package/dist/cli.js +2 -2
- package/dist/iframe_preload.cjs +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-7LUJTKTE.js +0 -2
package/build.ts
CHANGED
|
@@ -81,6 +81,16 @@ export declare interface AudioListenerOptions {
|
|
|
81
81
|
onError: (error: Error) => void;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
declare function barLogger(bar: ProgressBar): LoggerLike;
|
|
85
|
+
export { barLogger }
|
|
86
|
+
export { barLogger as barLogger_alias_1 }
|
|
87
|
+
|
|
88
|
+
declare interface BarOptions {
|
|
89
|
+
total: number;
|
|
90
|
+
out: NodeJS.WriteStream;
|
|
91
|
+
showCount?: boolean;
|
|
92
|
+
}
|
|
93
|
+
|
|
84
94
|
export declare class BitReader {
|
|
85
95
|
private _bits;
|
|
86
96
|
pos: number;
|
|
@@ -383,6 +393,10 @@ export declare interface HwVideoFactoryOptions {
|
|
|
383
393
|
sharedHw?: HardwareContext;
|
|
384
394
|
}
|
|
385
395
|
|
|
396
|
+
export declare function installTickHook(): void;
|
|
397
|
+
|
|
398
|
+
export declare function installVideoHook(): void;
|
|
399
|
+
|
|
386
400
|
export declare function interleaveAccessUnits(baseNals: NalUnit[], alphaNals: NalUnit[], cfg: NvencHevcConfig): Buffer;
|
|
387
401
|
|
|
388
402
|
export declare interface IpcDonePayload {
|
|
@@ -443,7 +457,7 @@ declare class Lazy<T> {
|
|
|
443
457
|
export { Lazy }
|
|
444
458
|
export { Lazy as Lazy_alias_1 }
|
|
445
459
|
|
|
446
|
-
export declare function loadWindow({ source, renderer,
|
|
460
|
+
export declare function loadWindow({ source, renderer, onCreated, signal }: WindowOptions): Promise<BrowserWindow>;
|
|
447
461
|
|
|
448
462
|
export declare function localize(src: string): Promise<string>;
|
|
449
463
|
|
|
@@ -619,6 +633,26 @@ declare interface ProcessHandle {
|
|
|
619
633
|
export { ProcessHandle }
|
|
620
634
|
export { ProcessHandle as ProcessHandle_alias_1 }
|
|
621
635
|
|
|
636
|
+
declare class ProgressBar {
|
|
637
|
+
private _written;
|
|
638
|
+
private _shown;
|
|
639
|
+
private readonly _total;
|
|
640
|
+
private readonly _out;
|
|
641
|
+
private readonly _tty;
|
|
642
|
+
private readonly _showCount;
|
|
643
|
+
constructor(opts: BarOptions);
|
|
644
|
+
get total(): number;
|
|
645
|
+
update(written: number): void;
|
|
646
|
+
updatePercent(pct: number): void;
|
|
647
|
+
clear(): void;
|
|
648
|
+
redraw(): void;
|
|
649
|
+
log(line: string): void;
|
|
650
|
+
finish(line: string): void;
|
|
651
|
+
private render;
|
|
652
|
+
}
|
|
653
|
+
export { ProgressBar }
|
|
654
|
+
export { ProgressBar as ProgressBar_alias_1 }
|
|
655
|
+
|
|
622
656
|
declare type ProgressCallback = (progress: number) => void;
|
|
623
657
|
export { ProgressCallback }
|
|
624
658
|
export { ProgressCallback as ProgressCallback_alias_1 }
|
|
@@ -646,6 +680,10 @@ declare const pupAudioPreload: string;
|
|
|
646
680
|
export { pupAudioPreload }
|
|
647
681
|
export { pupAudioPreload as pupAudioPreload_alias_1 }
|
|
648
682
|
|
|
683
|
+
declare const pupIframePreload: string;
|
|
684
|
+
export { pupIframePreload }
|
|
685
|
+
export { pupIframePreload as pupIframePreload_alias_1 }
|
|
686
|
+
|
|
649
687
|
declare const pupLogLevel: number;
|
|
650
688
|
export { pupLogLevel }
|
|
651
689
|
export { pupLogLevel as pupLogLevel_alias_1 }
|
|
@@ -885,7 +923,6 @@ export declare interface WindowOptions {
|
|
|
885
923
|
source: string;
|
|
886
924
|
renderer: IPCRenderOptions;
|
|
887
925
|
tolerant?: boolean;
|
|
888
|
-
preload?: string;
|
|
889
926
|
onCreated?: WindowCreatedCallback;
|
|
890
927
|
signal?: AbortSignal;
|
|
891
928
|
}
|