diff --git a/src/platforms/javascript/common/session-replay/privacy.mdx b/src/platforms/javascript/common/session-replay/privacy.mdx index e064bfac439101..6ddcc017056039 100644 --- a/src/platforms/javascript/common/session-replay/privacy.mdx +++ b/src/platforms/javascript/common/session-replay/privacy.mdx @@ -35,12 +35,12 @@ The following options can be configured as options to the integration, in `new R | key | type | default | description | | ------------- | ------------------------ | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 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. | -| maskAllText | boolean | `true` | Mask _all_ text content. Will pass text content through `maskTextFn` before sending to server. | -| maskAllInputs | boolean | `true` | Mask values of `` elements. Passes input values through `maskTextFn` before sending to server. | +| maskAllText | boolean | `true` | Mask _all_ text content. Will pass text content through `maskFn` before sending to server. | +| maskAllInputs | boolean | `true` | Mask values of `` elements. Passes input values through `maskFn` before sending to server. | | 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. | | blockAllMedia | boolean | `true` | Block _all_ media elements (`img`, `svg`, `video`, `object`, `picture`, `embed`, `map`, `audio`). | | ignore | string[] | `.sentry-ignore, [data-sentry-ignore]` | Ignores all events on the matching input fields. See [Ignoring](#ignoring) above for an example. | -| 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 `*`. | +| 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 `*`. | | 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`. | | 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`. |