Release 0.9.1

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent f83f4e7b13
commit 6ba84ee5d0
5 changed files with 26 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ export declare class Replayer {
private legacy_missingNodeRetryMap;
private treeIndex;
private fragmentParentMap;
private imageMap;
constructor(events: Array<eventWithTime | string>, config?: Partial<playerConfig>);
on(event: string, handler: Handler): void;
setConfig(config: Partial<playerConfig>): void;
@@ -33,6 +34,7 @@ export declare class Replayer {
private getCastFn;
private rebuildFullSnapshot;
private waitForStylesheetLoad;
private preloadAllImages;
private applyIncremental;
private applyMutation;
private applyScroll;
@@ -43,5 +45,6 @@ export declare class Replayer {
private isUserInteraction;
private backToNormal;
private warnNodeNotFound;
private warnCanvasMutationFailed;
private debugNodeNotFound;
}

View File

@@ -12,6 +12,7 @@ export declare class Timer {
clear(): void;
setSpeed(speed: number): void;
toggleLiveMode(mode: boolean): void;
isActive(): boolean;
private findActionIndex;
}
export declare function addDelay(event: eventWithTime, baselineTime: number): number;