@launchdarkly/o11y 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -631,6 +631,7 @@ declare type HighlightClassOptions = {
631
631
  privacySetting?: PrivacySettingOption;
632
632
  maskAllInputs?: boolean;
633
633
  maskInputOptions?: MaskInputOptions;
634
+ maskPiiText?: boolean;
634
635
  maskTextClass?: string | RegExp;
635
636
  maskTextSelector?: string;
636
637
  blockClass?: string | RegExp;
@@ -1933,6 +1934,15 @@ export declare type RecordOptions = CommonOptions & {
1933
1934
  * Customize the input element types that are masked. Only applies if privacySetting is `none`.
1934
1935
  */
1935
1936
  maskInputOptions?: MaskInputOptions;
1937
+ /**
1938
+ * Whether to mask text on the page that looks like PII, such as emails, phone numbers,
1939
+ * credit card numbers, SSNs, street addresses, and IP addresses.
1940
+ * - `strict`: ignored. All text is always masked.
1941
+ * - `default`: PII-like text is masked unless this is `false`.
1942
+ * - `none`: PII-like text is not masked unless this is `true`.
1943
+ * Does not affect input masking, which is controlled by `maskAllInputs` and `maskInputOptions`.
1944
+ */
1945
+ maskPiiText?: boolean;
1936
1946
  /**
1937
1947
  * Customize which elements' text should be masked by specifying a CSS class name or RegExp.
1938
1948
  * Default class is 'highlight-mask'.