@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/index.d.ts
CHANGED
|
@@ -628,6 +628,7 @@ declare type HighlightClassOptions = {
|
|
|
628
628
|
disableSessionRecording?: boolean;
|
|
629
629
|
reportConsoleErrors?: boolean;
|
|
630
630
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
631
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
631
632
|
privacySetting?: PrivacySettingOption;
|
|
632
633
|
maskAllInputs?: boolean;
|
|
633
634
|
maskInputOptions?: MaskInputOptions;
|
|
@@ -731,6 +732,14 @@ export declare type HighlightOptions = CommonOptions & {
|
|
|
731
732
|
* @example consoleMethodsToRecord: ['log', 'info', 'error']
|
|
732
733
|
*/
|
|
733
734
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
735
|
+
/**
|
|
736
|
+
* Specifies whether console output written by the LaunchDarkly SDK's own
|
|
737
|
+
* logger (lines prefixed `[LaunchDarkly]`) is recorded. Skipped by default:
|
|
738
|
+
* the lines describe the SDK, and the streaming URL they contain embeds
|
|
739
|
+
* the evaluation context.
|
|
740
|
+
* @default false
|
|
741
|
+
*/
|
|
742
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
734
743
|
enableSegmentIntegration?: boolean;
|
|
735
744
|
/**
|
|
736
745
|
* Specifies the environment your application is running in.
|
|
@@ -1217,10 +1226,15 @@ declare type loadedEvent = {
|
|
|
1217
1226
|
data: unknown;
|
|
1218
1227
|
};
|
|
1219
1228
|
|
|
1229
|
+
/**
|
|
1230
|
+
* Per-component debug logger. Like `sdkLog`, its output is SDK-internal: it
|
|
1231
|
+
* is written only in debug mode and never captured by the console recorder.
|
|
1232
|
+
*/
|
|
1220
1233
|
declare class Logger {
|
|
1221
1234
|
debug: boolean | undefined;
|
|
1222
1235
|
name: string | undefined;
|
|
1223
1236
|
constructor(debug?: boolean, name?: string);
|
|
1237
|
+
private prefix;
|
|
1224
1238
|
log(...data: any[]): void;
|
|
1225
1239
|
warn(...data: any[]): void;
|
|
1226
1240
|
}
|
|
@@ -1686,6 +1700,15 @@ export declare type ObserveOptions = CommonOptions & {
|
|
|
1686
1700
|
* @example consoleMethodsToRecord: ['log', 'info', 'error']
|
|
1687
1701
|
*/
|
|
1688
1702
|
consoleMethodsToRecord?: ConsoleMethods[];
|
|
1703
|
+
/**
|
|
1704
|
+
* Specifies whether console output written by the LaunchDarkly SDK's own
|
|
1705
|
+
* logger (lines prefixed `[LaunchDarkly]`, e.g. stream connection
|
|
1706
|
+
* open/close messages) is recorded as logs. Those lines describe the SDK
|
|
1707
|
+
* rather than your application, and the streaming URL they contain embeds
|
|
1708
|
+
* the evaluation context, so they are skipped by default.
|
|
1709
|
+
* @default false
|
|
1710
|
+
*/
|
|
1711
|
+
recordLaunchDarklySdkLogs?: boolean;
|
|
1689
1712
|
/**
|
|
1690
1713
|
* Specifies whether to record performance metrics (e.g. FPS, device memory).
|
|
1691
1714
|
* @default true
|