Skip to content

Commit

Permalink
[Feature] Include takeFullSnapshot function in rrweb (#1527)
Browse files Browse the repository at this point in the history
* export takeFullSnapshot function in rrweb
  • Loading branch information
arredgroup authored Jul 3, 2024
1 parent 874933b commit 68076b7
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 {
record,
addCustomEvent,
freezePage,
takeFullSnapshot,
Replayer,
type playerConfig,
type PlayerMachineState,
Expand Down

0 comments on commit 68076b7

Please sign in to comment.