@launchdarkly/o11y 1.2.0 → 1.3.1

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/observe.d.ts CHANGED
@@ -571,6 +571,15 @@ declare type ObserveOptions = CommonOptions & {
571
571
  * @example consoleMethodsToRecord: ['log', 'info', 'error']
572
572
  */
573
573
  consoleMethodsToRecord?: ConsoleMethods[];
574
+ /**
575
+ * Specifies whether console output written by the LaunchDarkly SDK's own
576
+ * logger (lines prefixed `[LaunchDarkly]`, e.g. stream connection
577
+ * open/close messages) is recorded as logs. Those lines describe the SDK
578
+ * rather than your application, and the streaming URL they contain embeds
579
+ * the evaluation context, so they are skipped by default.
580
+ * @default false
581
+ */
582
+ recordLaunchDarklySdkLogs?: boolean;
574
583
  /**
575
584
  * Specifies whether to record performance metrics (e.g. FPS, device memory).
576
585
  * @default true
@@ -725,6 +734,15 @@ declare type RecordOptions = CommonOptions & {
725
734
  * Customize the input element types that are masked. Only applies if privacySetting is `none`.
726
735
  */
727
736
  maskInputOptions?: MaskInputOptions;
737
+ /**
738
+ * Whether to mask text on the page that looks like PII, such as emails, phone numbers,
739
+ * credit card numbers, SSNs, street addresses, and IP addresses.
740
+ * - `strict`: ignored. All text is always masked.
741
+ * - `default`: PII-like text is masked unless this is `false`.
742
+ * - `none`: PII-like text is not masked unless this is `true`.
743
+ * Does not affect input masking, which is controlled by `maskAllInputs` and `maskInputOptions`.
744
+ */
745
+ maskPiiText?: boolean;
728
746
  /**
729
747
  * Customize which elements' text should be masked by specifying a CSS class name or RegExp.
730
748
  * Default class is 'highlight-mask'.
package/dist/observe.js CHANGED
@@ -1,7 +1,7 @@
1
- import "./common-DQ61tUu9.js";
2
- import { O as e } from "./observe-CFB6c1lu.js";
3
- import "./LDObserve-CHIjcqIn.js";
4
- import "./buffer-DIFxvF2Q.js";
1
+ import "./common-BjaGmQrE.js";
2
+ import { O as e } from "./observe-D78YYNE1.js";
3
+ import "./LDObserve-DhF3vCDR.js";
4
+ import "./buffer-BjzLorpP.js";
5
5
  export {
6
6
  e as Observe
7
7
  };