You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(replays): Show the correct Replay config option name maskFn (#6988)
* fix(replays): Show the correct Replay config option name `maskFn`
* style(lint): Auto commit lint changes
---------
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
| mask | string[]|`.sentry-mask, [data-sentry-mask]`| Mask all elements that match the given DOM selectors. See [Masking](#masking) section for an example. Note that any configured selectors will be in _addition_ to the defaults. |
38
-
| maskAllText | boolean |`true`| Mask _all_ text content. Will pass text content through `maskTextFn` before sending to server. |
39
-
| maskAllInputs | boolean |`true`| Mask values of `<input>` elements. Passes input values through `maskTextFn` before sending to server. |
38
+
| maskAllText | boolean |`true`| Mask _all_ text content. Will pass text content through `maskFn` before sending to server.|
39
+
| maskAllInputs | boolean |`true`| Mask values of `<input>` elements. Passes input values through `maskFn` before sending to server.|
40
40
| block | string[]|`.sentry-block, [data-sentry-block]`| Redact all elements that match the DOM selector(s). See [Blocking](#blocking) section for an example. Note that any configured selectors will be in _addition_ to the defaults. |
41
41
| blockAllMedia | boolean |`true`| Block _all_ media elements (`img`, `svg`, `video`, `object`, `picture`, `embed`, `map`, `audio`). |
42
42
| ignore | string[]|`.sentry-ignore, [data-sentry-ignore]`| Ignores all events on the matching input fields. See [Ignoring](#ignoring) above for an example. |
43
-
|maskTextFn| (text: string) => string |`(text) => '*'.repeat(text.length)`| Function to customize how text content is masked before sending to server. By default, masks text with `*`. |
43
+
|maskFn | (text: string) => string |`(text) => '*'.repeat(text.length)`| Function to customize how text content is masked before sending to server. By default, masks text with `*`. |
44
44
| unblock | string[]|`.sentry-unblock, [data-sentry-unblock]`| Don't redact any elements that match the DOM selectors. Used to unblock specific media elements that are blocked with `blockAllMedia`. This doesn't affect sensitive elements such as `password`. |
45
45
| unmask | string[]|`.sentry-unmask, [data-sentry-unmask]`| Unmask all elements that match the given DOM selectors. Used to unmask specific elements that are masked with `maskAllText`. |
0 commit comments