@launchdarkly/o11y 1.3.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/CHANGELOG.md +7 -0
- package/dist/{LDObserve-CHIjcqIn.js → LDObserve-DhF3vCDR.js} +2 -2
- package/dist/{LDObserve-CHIjcqIn.js.map → LDObserve-DhF3vCDR.js.map} +1 -1
- package/dist/LDObserve.d.ts +5 -0
- package/dist/LDObserve.js +2 -2
- package/dist/LDRecord.d.ts +5 -0
- package/dist/LDRecord.js +1 -1
- package/dist/assets/highlight-client-worker-DrDPRCrv.js.map +1 -0
- package/dist/buffer-BjzLorpP.js +124 -0
- package/dist/buffer-BjzLorpP.js.map +1 -0
- package/dist/{common-BkAGcE30.js → common-BjaGmQrE.js} +367 -360
- package/dist/{common-BkAGcE30.js.map → common-BjaGmQrE.js.map} +1 -1
- package/dist/index.d.ts +23 -0
- package/dist/index.js +260 -258
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +113 -113
- package/dist/index.umd.js.map +1 -1
- package/dist/{observe-xxoYHNEh.js → observe-D78YYNE1.js} +2362 -2338
- package/dist/observe-D78YYNE1.js.map +1 -0
- package/dist/observe.d.ts +9 -0
- package/dist/observe.js +4 -4
- package/dist/{record-DTawahUk.js → record-BZHDLKsW.js} +1713 -1709
- package/dist/{record-DTawahUk.js.map → record-BZHDLKsW.js.map} +1 -1
- package/dist/record.d.ts +23 -0
- package/dist/record.js +3 -3
- package/package.json +1 -1
- package/dist/assets/highlight-client-worker-DsbKMpxq.js.map +0 -1
- package/dist/buffer-DIFxvF2Q.js +0 -102
- package/dist/buffer-DIFxvF2Q.js.map +0 -1
- package/dist/observe-xxoYHNEh.js.map +0 -1
package/dist/record.d.ts
CHANGED
|
@@ -353,6 +353,7 @@ declare type HighlightClassOptions = {
|
|
|
353
353
|
disableSessionRecording?: boolean;
|
|
354
354
|
reportConsoleErrors?: boolean;
|
|
355
355
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
356
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
356
357
|
privacySetting?: PrivacySettingOption;
|
|
357
358
|
maskAllInputs?: boolean;
|
|
358
359
|
maskInputOptions?: MaskInputOptions;
|
|
@@ -451,6 +452,14 @@ declare type HighlightOptions = CommonOptions & {
|
|
|
451
452
|
* @example consoleMethodsToRecord: ['log', 'info', 'error']
|
|
452
453
|
*/
|
|
453
454
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
455
|
+
/**
|
|
456
|
+
* Specifies whether console output written by the LaunchDarkly SDK's own
|
|
457
|
+
* logger (lines prefixed `[LaunchDarkly]`) is recorded. Skipped by default:
|
|
458
|
+
* the lines describe the SDK, and the streaming URL they contain embeds
|
|
459
|
+
* the evaluation context.
|
|
460
|
+
* @default false
|
|
461
|
+
*/
|
|
462
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
454
463
|
enableSegmentIntegration?: boolean;
|
|
455
464
|
/**
|
|
456
465
|
* Specifies the environment your application is running in.
|
|
@@ -687,10 +696,15 @@ declare type loadedEvent = {
|
|
|
687
696
|
data: unknown;
|
|
688
697
|
};
|
|
689
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Per-component debug logger. Like `sdkLog`, its output is SDK-internal: it
|
|
701
|
+
* is written only in debug mode and never captured by the console recorder.
|
|
702
|
+
*/
|
|
690
703
|
declare class Logger {
|
|
691
704
|
debug: boolean | undefined;
|
|
692
705
|
name: string | undefined;
|
|
693
706
|
constructor(debug?: boolean, name?: string);
|
|
707
|
+
private prefix;
|
|
694
708
|
log(...data: any[]): void;
|
|
695
709
|
warn(...data: any[]): void;
|
|
696
710
|
}
|
|
@@ -989,6 +1003,15 @@ declare type ObserveOptions = CommonOptions & {
|
|
|
989
1003
|
* @example consoleMethodsToRecord: ['log', 'info', 'error']
|
|
990
1004
|
*/
|
|
991
1005
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
1006
|
+
/**
|
|
1007
|
+
* Specifies whether console output written by the LaunchDarkly SDK's own
|
|
1008
|
+
* logger (lines prefixed `[LaunchDarkly]`, e.g. stream connection
|
|
1009
|
+
* open/close messages) is recorded as logs. Those lines describe the SDK
|
|
1010
|
+
* rather than your application, and the streaming URL they contain embeds
|
|
1011
|
+
* the evaluation context, so they are skipped by default.
|
|
1012
|
+
* @default false
|
|
1013
|
+
*/
|
|
1014
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
992
1015
|
/**
|
|
993
1016
|
* Specifies whether to record performance metrics (e.g. FPS, device memory).
|
|
994
1017
|
* @default true
|
package/dist/record.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { R as i } from "./record-
|
|
1
|
+
import "./common-BjaGmQrE.js";
|
|
2
|
+
import { R as i } from "./record-BZHDLKsW.js";
|
|
3
3
|
import "./LDRecord.js";
|
|
4
|
-
import "./buffer-
|
|
4
|
+
import "./buffer-BjzLorpP.js";
|
|
5
5
|
export {
|
|
6
6
|
i as Record
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/o11y",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
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",
|