[Feature] Include takeFullSnapshot function in rrweb (#1527)

* export takeFullSnapshot function in rrweb
This commit is contained in:
Christopher Arredondo
2026-04-01 12:00:00 +08:00
committed by GitHub
parent e1632d69c6
commit d72fe4af3e
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"rrweb": patch
---
Export takeFullSnapshot function for a recording process

View File

@@ -24,11 +24,13 @@ export type { recordOptions, ReplayPlugin } from './types';
const { addCustomEvent } = record; const { addCustomEvent } = record;
const { freezePage } = record; const { freezePage } = record;
const { takeFullSnapshot } = record;
export { export {
record, record,
addCustomEvent, addCustomEvent,
freezePage, freezePage,
takeFullSnapshot,
Replayer, Replayer,
type playerConfig, type playerConfig,
type PlayerMachineState, type PlayerMachineState,