@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/record.d.ts
CHANGED
|
@@ -356,6 +356,7 @@ declare type HighlightClassOptions = {
|
|
|
356
356
|
privacySetting?: PrivacySettingOption;
|
|
357
357
|
maskAllInputs?: boolean;
|
|
358
358
|
maskInputOptions?: MaskInputOptions;
|
|
359
|
+
maskPiiText?: boolean;
|
|
359
360
|
maskTextClass?: string | RegExp;
|
|
360
361
|
maskTextSelector?: string;
|
|
361
362
|
blockClass?: string | RegExp;
|
|
@@ -1221,6 +1222,15 @@ declare type RecordOptions = CommonOptions & {
|
|
|
1221
1222
|
* Customize the input element types that are masked. Only applies if privacySetting is `none`.
|
|
1222
1223
|
*/
|
|
1223
1224
|
maskInputOptions?: MaskInputOptions;
|
|
1225
|
+
/**
|
|
1226
|
+
* Whether to mask text on the page that looks like PII, such as emails, phone numbers,
|
|
1227
|
+
* credit card numbers, SSNs, street addresses, and IP addresses.
|
|
1228
|
+
* - `strict`: ignored. All text is always masked.
|
|
1229
|
+
* - `default`: PII-like text is masked unless this is `false`.
|
|
1230
|
+
* - `none`: PII-like text is not masked unless this is `true`.
|
|
1231
|
+
* Does not affect input masking, which is controlled by `maskAllInputs` and `maskInputOptions`.
|
|
1232
|
+
*/
|
|
1233
|
+
maskPiiText?: boolean;
|
|
1224
1234
|
/**
|
|
1225
1235
|
* Customize which elements' text should be masked by specifying a CSS class name or RegExp.
|
|
1226
1236
|
* Default class is 'highlight-mask'.
|
package/dist/record.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/o11y",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Shared browser foundation for @launchdarkly/observability and @launchdarkly/session-replay. Capture frontend metrics, errors, logs, traces, and session replays.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"launchdarkly",
|