pup-recorder 0.3.6 → 0.3.7
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 +10 -1
- package/dist/app.cjs +46 -17
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -442,6 +442,8 @@ export declare function makeFrame(width: number, height: number, pixFmt: AVPixel
|
|
|
442
442
|
|
|
443
443
|
export declare function makePacket(): Packet;
|
|
444
444
|
|
|
445
|
+
export declare const MAX_RENDER_ATTEMPTS = 3;
|
|
446
|
+
|
|
445
447
|
export declare const NAL_BLA_W_LP = 16;
|
|
446
448
|
|
|
447
449
|
export declare const NAL_HEADER_SIZE = 2;
|
|
@@ -642,12 +644,17 @@ declare const RenderSchema: z.ZodObject<{
|
|
|
642
644
|
export { RenderSchema }
|
|
643
645
|
export { RenderSchema as RenderSchema_alias_1 }
|
|
644
646
|
|
|
647
|
+
export declare class RerenderError extends Error {
|
|
648
|
+
constructor(message: string);
|
|
649
|
+
}
|
|
650
|
+
|
|
645
651
|
export declare function resizeDrawable(cdp: Debugger, size: Size): Promise<void>;
|
|
646
652
|
|
|
647
653
|
declare interface RetryOptions<Args extends any[], Ret> {
|
|
648
654
|
fn: (...args: Args) => Promise<Ret>;
|
|
649
655
|
maxAttempts?: number;
|
|
650
656
|
timeout?: number;
|
|
657
|
+
signal?: AbortSignal;
|
|
651
658
|
}
|
|
652
659
|
export { RetryOptions }
|
|
653
660
|
export { RetryOptions as RetryOptions_alias_1 }
|
|
@@ -730,7 +737,7 @@ export declare interface UnifiedExtradataOptions {
|
|
|
730
737
|
|
|
731
738
|
export declare function unsetInterceptor(window: BrowserWindow): void;
|
|
732
739
|
|
|
733
|
-
declare function useRetry<Args extends any[], Ret>({ fn, maxAttempts, timeout }: RetryOptions<Args, Ret>): (...args: Args) => Promise<Ret>;
|
|
740
|
+
declare function useRetry<Args extends any[], Ret>({ fn, maxAttempts, timeout, signal }: RetryOptions<Args, Ret>): (...args: Args) => Promise<Ret>;
|
|
734
741
|
export { useRetry }
|
|
735
742
|
export { useRetry as useRetry_alias_1 }
|
|
736
743
|
|
|
@@ -818,6 +825,8 @@ export declare interface WindowOptions {
|
|
|
818
825
|
signal?: AbortSignal;
|
|
819
826
|
}
|
|
820
827
|
|
|
828
|
+
export declare function withRerender<T>(action: () => Promise<T>): Promise<T>;
|
|
829
|
+
|
|
821
830
|
declare function withTimeout<T>(p: Promise<T>, ms: number, label: string): Promise<T>;
|
|
822
831
|
export { withTimeout }
|
|
823
832
|
export { withTimeout as withTimeout_alias_1 }
|