@microsoft/applicationinsights-debugplugin-js 3.3.5-nightly3.2411-13 → 3.3.5-nightly3.2412-01
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/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.cjs.js → ai.dbg.3.3.5-nightly3.2412-01.cjs.js} +3 -3
- package/browser/es5/ai.dbg.3.3.5-nightly3.2412-01.cjs.js.map +1 -0
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.cjs.min.js → ai.dbg.3.3.5-nightly3.2412-01.cjs.min.js} +3 -3
- package/browser/es5/ai.dbg.3.3.5-nightly3.2412-01.cjs.min.js.map +1 -0
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.gbl.js → ai.dbg.3.3.5-nightly3.2412-01.gbl.js} +5 -5
- package/browser/es5/ai.dbg.3.3.5-nightly3.2412-01.gbl.js.map +1 -0
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.gbl.min.js → ai.dbg.3.3.5-nightly3.2412-01.gbl.min.js} +3 -3
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.gbl.min.js.map → ai.dbg.3.3.5-nightly3.2412-01.gbl.min.js.map} +1 -1
- package/browser/es5/ai.dbg.3.3.5-nightly3.2412-01.integrity.json +66 -0
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.js → ai.dbg.3.3.5-nightly3.2412-01.js} +5 -5
- package/browser/es5/ai.dbg.3.3.5-nightly3.2412-01.js.map +1 -0
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.min.js → ai.dbg.3.3.5-nightly3.2412-01.min.js} +3 -3
- package/browser/es5/{ai.dbg.3.3.5-nightly3.2411-13.min.js.map → ai.dbg.3.3.5-nightly3.2412-01.min.js.map} +1 -1
- package/browser/es5/ai.dbg.3.cjs.js +2 -2
- package/browser/es5/ai.dbg.3.cjs.js.map +1 -1
- package/browser/es5/ai.dbg.3.cjs.min.js +2 -2
- package/browser/es5/ai.dbg.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.dbg.3.gbl.js +4 -4
- package/browser/es5/ai.dbg.3.gbl.js.map +1 -1
- package/browser/es5/ai.dbg.3.gbl.min.js +2 -2
- package/browser/es5/ai.dbg.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.dbg.3.integrity.json +25 -25
- package/browser/es5/ai.dbg.3.js +4 -4
- package/browser/es5/ai.dbg.3.js.map +1 -1
- package/browser/es5/ai.dbg.3.min.js +2 -2
- package/browser/es5/ai.dbg.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-debugplugin-js.js +2 -2
- package/dist/es5/applicationinsights-debugplugin-js.js.map +1 -1
- package/dist/es5/applicationinsights-debugplugin-js.min.js +2 -2
- package/dist/es5/applicationinsights-debugplugin-js.min.js.map +1 -1
- package/dist-es5/DebugPlugin.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-debugplugin-js.js +1 -1
- package/dist-es5/components/Dashboard.js +1 -1
- package/dist-es5/components/LogEntry.js +1 -1
- package/dist-es5/components/debugBins.js +1 -1
- package/dist-es5/components/filterList.js +1 -1
- package/dist-es5/components/helpers.js +1 -1
- package/dist-es5/components/styleNodeSrc.js +1 -1
- package/dist-es5/interfaces/IDebugPluginConfig.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-debugplugin-js.d.ts +1 -1
- package/types/applicationinsights-debugplugin-js.namespaced.d.ts +17 -23
- package/browser/es5/ai.dbg.3.3.5-nightly3.2411-13.cjs.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.5-nightly3.2411-13.cjs.min.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.5-nightly3.2411-13.gbl.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.5-nightly3.2411-13.integrity.json +0 -66
- package/browser/es5/ai.dbg.3.3.5-nightly3.2411-13.js.map +0 -1
package/dist-es5/DebugPlugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 3.3.5-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.3.5-nightly3.2412-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import dynamicProto from "@microsoft/dynamicproto-js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 3.3.5-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.3.5-nightly3.2412-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { isArray, isBoolean, isError, isNumber, isObject, isString, objToString } from "@microsoft/applicationinsights-core-js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
-
"version": "3.3.5-nightly3.
|
|
3
|
+
"version": "3.3.5-nightly3.2412-01",
|
|
4
4
|
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
56
|
-
"@microsoft/applicationinsights-common": "3.3.5-nightly3.
|
|
57
|
-
"@microsoft/applicationinsights-core-js": "3.3.5-nightly3.
|
|
56
|
+
"@microsoft/applicationinsights-common": "3.3.5-nightly3.2412-01",
|
|
57
|
+
"@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2412-01",
|
|
58
58
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
59
59
|
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
60
60
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.3.5-nightly3.
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.3.5-nightly3.2412-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -358,7 +358,6 @@ declare namespace ApplicationInsights {
|
|
|
358
358
|
unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void | IPromise<ITelemetryUnloadState>;
|
|
359
359
|
/**
|
|
360
360
|
* Find and return the (first) plugin with the specified identifier if present
|
|
361
|
-
* @param pluginIdentifier
|
|
362
361
|
*/
|
|
363
362
|
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
364
363
|
/**
|
|
@@ -413,7 +412,6 @@ declare namespace ApplicationInsights {
|
|
|
413
412
|
/**
|
|
414
413
|
* Watches and tracks changes for accesses to the current config, and if the accessed config changes the
|
|
415
414
|
* handler will be recalled.
|
|
416
|
-
* @param handler
|
|
417
415
|
* @returns A watcher handler instance that can be used to remove itself when being unloaded
|
|
418
416
|
*/
|
|
419
417
|
onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
|
|
@@ -649,8 +647,8 @@ declare namespace ApplicationInsights {
|
|
|
649
647
|
* be logged to console if their severity meets the configured loggingConsoleLevel
|
|
650
648
|
*
|
|
651
649
|
* 0: ALL console logging off
|
|
652
|
-
* 1: logs to console: severity
|
|
653
|
-
* 2: logs to console: severity
|
|
650
|
+
* 1: logs to console: severity \>= CRITICAL
|
|
651
|
+
* 2: logs to console: severity \>= WARNING
|
|
654
652
|
*/
|
|
655
653
|
loggingLevelConsole?: number;
|
|
656
654
|
/**
|
|
@@ -659,8 +657,8 @@ declare namespace ApplicationInsights {
|
|
|
659
657
|
* the configured instrumentation key.
|
|
660
658
|
*
|
|
661
659
|
* 0: ALL iKey logging off
|
|
662
|
-
* 1: logs to iKey: severity
|
|
663
|
-
* 2: logs to iKey: severity
|
|
660
|
+
* 1: logs to iKey: severity \>= CRITICAL
|
|
661
|
+
* 2: logs to iKey: severity \>= WARNING
|
|
664
662
|
*/
|
|
665
663
|
loggingLevelTelemetry?: number;
|
|
666
664
|
/**
|
|
@@ -687,7 +685,6 @@ declare namespace ApplicationInsights {
|
|
|
687
685
|
*/
|
|
688
686
|
readonly channels?: IChannelControls[][];
|
|
689
687
|
/**
|
|
690
|
-
* @type {boolean}
|
|
691
688
|
* Flag that disables the Instrumentation Key validation.
|
|
692
689
|
*/
|
|
693
690
|
disableInstrumentationKeyValidation?: boolean;
|
|
@@ -718,14 +715,12 @@ declare namespace ApplicationInsights {
|
|
|
718
715
|
/**
|
|
719
716
|
* @description Custom cookie domain. This is helpful if you want to share Application Insights cookies across subdomains. It
|
|
720
717
|
* can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
|
|
721
|
-
* @type {string}
|
|
722
718
|
* @defaultValue ""
|
|
723
719
|
*/
|
|
724
720
|
cookieDomain?: string;
|
|
725
721
|
/**
|
|
726
722
|
* @description Custom cookie path. This is helpful if you want to share Application Insights cookies behind an application
|
|
727
723
|
* gateway. It can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
|
|
728
|
-
* @type {string}
|
|
729
724
|
* @defaultValue ""
|
|
730
725
|
*/
|
|
731
726
|
cookiePath?: string;
|
|
@@ -837,7 +832,7 @@ declare namespace ApplicationInsights {
|
|
|
837
832
|
/**
|
|
838
833
|
* Optional Callback hook to allow the cookie manager to update it's configuration, not generally implemented now that
|
|
839
834
|
* dynamic configuration is supported
|
|
840
|
-
* @param updateState
|
|
835
|
+
* @param updateState - The new configuration state to apply to the cookie manager
|
|
841
836
|
*/
|
|
842
837
|
update?(updateState: ITelemetryUpdateState): void;
|
|
843
838
|
/**
|
|
@@ -979,7 +974,7 @@ declare namespace ApplicationInsights {
|
|
|
979
974
|
logInternalMessage?(severity: LoggingSeverity, message: _InternalLogMessage): void;
|
|
980
975
|
/**
|
|
981
976
|
* Optional Callback hook to allow the diagnostic logger to update it's configuration
|
|
982
|
-
* @param updateState
|
|
977
|
+
* @param updateState - The new configuration state to apply to the diagnostic logger
|
|
983
978
|
*/
|
|
984
979
|
update?(updateState: ITelemetryUpdateState): void;
|
|
985
980
|
/**
|
|
@@ -1000,7 +995,7 @@ declare namespace ApplicationInsights {
|
|
|
1000
995
|
getName(): string;
|
|
1001
996
|
/**
|
|
1002
997
|
* Sets the current name of the page
|
|
1003
|
-
* @param pageName
|
|
998
|
+
* @param pageName - The name of the page
|
|
1004
999
|
*/
|
|
1005
1000
|
setName(pageName: string): void;
|
|
1006
1001
|
/**
|
|
@@ -1032,7 +1027,7 @@ declare namespace ApplicationInsights {
|
|
|
1032
1027
|
getTraceFlags(): number | undefined;
|
|
1033
1028
|
/**
|
|
1034
1029
|
* https://www.w3.org/TR/trace-context/#trace-flags
|
|
1035
|
-
* @param newValue
|
|
1030
|
+
* @param newValue - An integer representation of the W3C TraceContext trace-flags.
|
|
1036
1031
|
*/
|
|
1037
1032
|
setTraceFlags(newValue?: number): void;
|
|
1038
1033
|
}
|
|
@@ -1071,10 +1066,10 @@ declare namespace ApplicationInsights {
|
|
|
1071
1066
|
*
|
|
1072
1067
|
* This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
|
|
1073
1068
|
*
|
|
1074
|
-
* @returns
|
|
1069
|
+
* @returns An object with the following property:
|
|
1075
1070
|
* - logs: An array of strings, where each string represents a log entry to be included in the telemetry.
|
|
1076
1071
|
*
|
|
1077
|
-
* @property
|
|
1072
|
+
* @property maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
1078
1073
|
*/
|
|
1079
1074
|
expLog?: () => {
|
|
1080
1075
|
logs: string[];
|
|
@@ -1133,32 +1128,31 @@ declare namespace ApplicationInsights {
|
|
|
1133
1128
|
getUrl: () => string;
|
|
1134
1129
|
/**
|
|
1135
1130
|
* Create payload data
|
|
1136
|
-
* @param data data
|
|
1137
1131
|
* @returns IPayloadData
|
|
1138
1132
|
*/
|
|
1139
1133
|
createPayload: (data: string | Uint8Array) => IPayloadData;
|
|
1140
1134
|
/**
|
|
1141
1135
|
* Serialize an item into a string
|
|
1142
|
-
* @param input telemetry item
|
|
1143
|
-
* @param convertUndefined convert undefined to a custom-defined object
|
|
1136
|
+
* @param input - telemetry item
|
|
1137
|
+
* @param convertUndefined - convert undefined to a custom-defined object
|
|
1144
1138
|
* @returns Serialized string
|
|
1145
1139
|
*/
|
|
1146
1140
|
serialize?: (input: ITelemetryItem, convertUndefined?: any) => string;
|
|
1147
1141
|
/**
|
|
1148
1142
|
* Batch an array of strings into one string
|
|
1149
|
-
* @param arr array of strings
|
|
1143
|
+
* @param arr - array of strings
|
|
1150
1144
|
* @returns a string represent all items in the given array
|
|
1151
1145
|
*/
|
|
1152
1146
|
batch?: (arr: string[]) => string;
|
|
1153
1147
|
/**
|
|
1154
1148
|
* If the item should be processed by offline channel
|
|
1155
|
-
* @param evt telemetry item
|
|
1149
|
+
* @param evt - telemetry item
|
|
1156
1150
|
* @returns should process or not
|
|
1157
1151
|
*/
|
|
1158
1152
|
shouldProcess?: (evt: ITelemetryItem) => boolean;
|
|
1159
1153
|
/**
|
|
1160
1154
|
* Create 1ds payload data
|
|
1161
|
-
* @param evts ITelemetryItems
|
|
1155
|
+
* @param evts - ITelemetryItems
|
|
1162
1156
|
* @returns IPayloadData
|
|
1163
1157
|
*/
|
|
1164
1158
|
createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
|
|
@@ -1218,7 +1212,7 @@ declare namespace ApplicationInsights {
|
|
|
1218
1212
|
/**
|
|
1219
1213
|
* [Optional] This event is sent if you have enabled perf events, they are primarily used to track internal performance testing and debugging
|
|
1220
1214
|
* the event can be displayed via the debug plugin extension.
|
|
1221
|
-
* @param perfEvent
|
|
1215
|
+
* @param perfEvent - The performance event object
|
|
1222
1216
|
*/
|
|
1223
1217
|
perfEvent?: (perfEvent: IPerfEvent) => void;
|
|
1224
1218
|
/**
|