From 520ddf3a4f9ef342f5df2f2468b2c9fdacbfb642 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] close #244 pass fullsnapshot event to the callback --- src/replay/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replay/index.ts b/src/replay/index.ts index d39c0739..a2da5397 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -381,7 +381,7 @@ export class Replayer { for (let idx = 0; idx < injectStylesRules.length; idx++) { (styleEl.sheet! as CSSStyleSheet).insertRule(injectStylesRules[idx], idx); } - this.emitter.emit(ReplayerEvents.FullsnapshotRebuilded); + this.emitter.emit(ReplayerEvents.FullsnapshotRebuilded, event); this.waitForStylesheetLoad(); }