Skip to content

Commit

Permalink
Fix maskInputFn is ignored during the creation of the full snapshot (r…
Browse files Browse the repository at this point in the history
…rweb-io#1386)

Fix that the optional `maskInputFn` was being accidentally ignored during the creation of the full snapshot
  • Loading branch information
ababik authored and jxiwang committed Oct 22, 2024
1 parent d814428 commit becf687
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/beige-olives-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

Fix that the optional `maskInputFn` was being accidentally ignored during the creation of the full snapshot
2 changes: 1 addition & 1 deletion packages/rrweb-snapshot/src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ function snapshot(
inlineStylesheet?: boolean;
maskAllInputs?: boolean | MaskInputOptions;
maskTextFn?: MaskTextFn;
maskInputFn?: MaskTextFn;
maskInputFn?: MaskInputFn;
slimDOM?: 'all' | boolean | SlimDOMOptions;
dataURLOptions?: DataURLOptions;
inlineImages?: boolean;
Expand Down

0 comments on commit becf687

Please sign in to comment.