pup-recorder 0.3.1 → 0.3.2
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/_tsup-dts-rollup.d.ts +11 -22
- package/dist/app.cjs +14 -8
- package/dist/chunk-NKXGLDTD.js +2 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -3
- package/dist/chunk-2SPBNHMM.js +0 -96
|
@@ -103,14 +103,7 @@ export declare function buildRust(): Promise<void>;
|
|
|
103
103
|
|
|
104
104
|
export declare function buildStegoHTML(targetURL: string, size: Size): string;
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
* Builds the JS injector that hooks all time-related globals in the target frame.
|
|
108
|
-
* In Electron/stego mode (default), guards against running in the top-level frame.
|
|
109
|
-
* In Puppeteer mode (skipFrameGuard: true), injects directly into the main document.
|
|
110
|
-
* Must be injected via Page.addScriptToEvaluateOnNewDocument AND directly into
|
|
111
|
-
* already-loaded frames.
|
|
112
|
-
*/
|
|
113
|
-
export declare function buildTickInjector(opts?: TickInjectorOptions): string;
|
|
106
|
+
export declare function buildTickInjector(): string;
|
|
114
107
|
|
|
115
108
|
export declare function buildUnifiedExtradata(opts: UnifiedExtradataOptions): Buffer;
|
|
116
109
|
|
|
@@ -204,8 +197,6 @@ export declare function doEject(): string;
|
|
|
204
197
|
|
|
205
198
|
export declare function doProcess(timestampMs: number): string;
|
|
206
199
|
|
|
207
|
-
export declare function doPuppeteer(source: string, options: RenderOptions, onProgress?: (p: number) => void): Promise<IpcDonePayload>;
|
|
208
|
-
|
|
209
200
|
export declare function drainPackets(ctx: CodecContext, pkt: Packet, stream: Stream, muxer: FormatMuxer): Promise<void>;
|
|
210
201
|
|
|
211
202
|
export declare function electronOpts(disableGpu: boolean): Promise<string[]>;
|
|
@@ -477,6 +468,7 @@ export { periodical as periodical_alias_1 }
|
|
|
477
468
|
declare interface ProcessHandle {
|
|
478
469
|
process: ChildProcess;
|
|
479
470
|
wait: Promise<void>;
|
|
471
|
+
kill(): void;
|
|
480
472
|
}
|
|
481
473
|
export { ProcessHandle }
|
|
482
474
|
export { ProcessHandle as ProcessHandle_alias_1 }
|
|
@@ -507,10 +499,6 @@ declare const pupDisableHwCodec: boolean;
|
|
|
507
499
|
export { pupDisableHwCodec }
|
|
508
500
|
export { pupDisableHwCodec as pupDisableHwCodec_alias_1 }
|
|
509
501
|
|
|
510
|
-
declare const pupExperimentalPuppeteer: boolean;
|
|
511
|
-
export { pupExperimentalPuppeteer }
|
|
512
|
-
export { pupExperimentalPuppeteer as pupExperimentalPuppeteer_alias_1 }
|
|
513
|
-
|
|
514
502
|
declare const pupIpcSocket: string | undefined;
|
|
515
503
|
export { pupIpcSocket }
|
|
516
504
|
export { pupIpcSocket as pupIpcSocket_alias_1 }
|
|
@@ -543,6 +531,10 @@ declare const pupUseInnerProxy: boolean;
|
|
|
543
531
|
export { pupUseInnerProxy }
|
|
544
532
|
export { pupUseInnerProxy as pupUseInnerProxy_alias_1 }
|
|
545
533
|
|
|
534
|
+
declare const pupWindowTolerant: boolean;
|
|
535
|
+
export { pupWindowTolerant }
|
|
536
|
+
export { pupWindowTolerant as pupWindowTolerant_alias_1 }
|
|
537
|
+
|
|
546
538
|
/** Remove emulation prevention bytes (00 00 03 → 00 00) from RBSP. */
|
|
547
539
|
export declare function removeEmulationPrevention(data: Buffer): Buffer;
|
|
548
540
|
|
|
@@ -572,6 +564,7 @@ declare const RenderSchema: z.ZodObject<{
|
|
|
572
564
|
deterministic: z.ZodBoolean;
|
|
573
565
|
disableGpu: z.ZodBoolean;
|
|
574
566
|
disableHwCodec: z.ZodBoolean;
|
|
567
|
+
windowTolerant: z.ZodBoolean;
|
|
575
568
|
}, z.core.$strip>;
|
|
576
569
|
export { RenderSchema }
|
|
577
570
|
export { RenderSchema as RenderSchema_alias_1 }
|
|
@@ -606,18 +599,13 @@ export declare function splitNalUnits(bitstream: Buffer): NalUnit[];
|
|
|
606
599
|
|
|
607
600
|
export declare function startStego(cdp: Debugger): Promise<any>;
|
|
608
601
|
|
|
602
|
+
export declare const STEGO_TICK_CHANNEL = "stego-tick";
|
|
603
|
+
|
|
609
604
|
export declare function stopStego(cdp: Debugger): Promise<any>;
|
|
610
605
|
|
|
611
606
|
export declare const TICK_SYMBOL = "__pup_tick__";
|
|
612
607
|
|
|
613
|
-
export declare
|
|
614
|
-
/**
|
|
615
|
-
* When true, skips the top-frame guard so the injector runs in the main document.
|
|
616
|
-
* Required for Puppeteer mode where the page is loaded directly (no stego iframe wrapper).
|
|
617
|
-
* Default: false (Electron/stego mode — only inject in iframes).
|
|
618
|
-
*/
|
|
619
|
-
skipFrameGuard?: boolean;
|
|
620
|
-
}
|
|
608
|
+
export declare function tickStego(cdp: Debugger, ms: number): Promise<any>;
|
|
621
609
|
|
|
622
610
|
export declare interface UnifiedExtradataOptions {
|
|
623
611
|
baseExtradata: Buffer;
|
|
@@ -716,6 +704,7 @@ export declare interface WindowOptions {
|
|
|
716
704
|
onCreated?: (window: BrowserWindow) => Promise<void>;
|
|
717
705
|
renderer: RenderOptions;
|
|
718
706
|
warmup?: boolean;
|
|
707
|
+
tolerant?: boolean;
|
|
719
708
|
}
|
|
720
709
|
|
|
721
710
|
export { }
|