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 jeffdnguyen committed Jul 29, 2024
1 parent b1baad2 commit 4fe0933
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions packages/rrweb/src/record/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ function record<T = eventWithTime>(
maskAllInputs: maskInputOptions,
maskInputFn,
maskTextFn,
maskInputFn,
slimDOM: slimDOMOptions,
dataURLOptions,
recordCanvas,
Expand Down

0 comments on commit 4fe0933

Please sign in to comment.