Skip to content

Commit

Permalink
[Feature] Include takeFullSnapshot function in rrweb (rrweb-io#1527)
Browse files Browse the repository at this point in the history
* export takeFullSnapshot function in rrweb
  • Loading branch information
arredgroup authored and jxiwang committed Oct 22, 2024
1 parent 586a9e1 commit 1dba10a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/giant-rats-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Export takeFullSnapshot function for a recording process
2 changes: 2 additions & 0 deletions packages/rrweb/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ export type { recordOptions, ReplayPlugin } from './types';

const { addCustomEvent } = record;
const { freezePage } = record;
const { takeFullSnapshot } = record;

export {
Replayer,
addCustomEvent,
freezePage,
takeFullSnapshot,
type playerConfig,
type PlayerMachineState,
type SpeedMachineState,
Expand Down

0 comments on commit 1dba10a

Please sign in to comment.