@launchdarkly/o11y 1.1.26 → 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/CHANGELOG.md +21 -0
- package/dist/{common-DTkqplI4.js → common-BkAGcE30.js} +2 -2
- package/dist/{common-DTkqplI4.js.map → common-BkAGcE30.js.map} +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +120 -117
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +98 -98
- package/dist/index.umd.js.map +1 -1
- package/dist/{observe-BLBJc_WZ.js → observe-xxoYHNEh.js} +2 -2
- package/dist/{observe-BLBJc_WZ.js.map → observe-xxoYHNEh.js.map} +1 -1
- package/dist/observe.d.ts +9 -0
- package/dist/observe.js +2 -2
- package/dist/{record-B0JnsHlu.js → record-DTawahUk.js} +1321 -1302
- package/dist/record-DTawahUk.js.map +1 -0
- package/dist/record.d.ts +10 -0
- package/dist/record.js +2 -2
- package/package.json +1 -1
- package/dist/record-B0JnsHlu.js.map +0 -1
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'.
|