Skip to content

Commit d6773d5

Browse files
committed
do not expose (un)maskInputSelector options
1 parent b04c8ea commit d6773d5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/replay/src/integration.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,23 @@ export class Replay implements Integration {
5656
blockClass = 'sentry-block',
5757
ignoreClass = 'sentry-ignore',
5858
maskTextClass = 'sentry-mask',
59-
maskInputSelector = '.sentry-mask',
60-
unmaskInputSelector = '.sentry-unmask',
6159
unmaskTextSelector = '.sentry-unmask',
6260
blockSelector = '[data-sentry-block]',
6361
..._recordingOptions
6462
}: ReplayConfiguration = {}) {
6563
this._recordingOptions = {
6664
maskAllInputs,
6765
blockClass,
66+
blockSelector,
6867
ignoreClass,
6968
maskTextClass,
7069
maskTextSelector,
7170
unmaskTextSelector,
72-
unmaskInputSelector,
73-
maskInputSelector,
74-
blockSelector,
71+
72+
// We are making the decision to make these selectors the same
73+
unmaskInputSelector: unmaskTextSelector,
74+
maskInputSelector: maskTextSelector,
75+
7576
..._recordingOptions,
7677
};
7778

0 commit comments

Comments
 (0)