@microsoft/applicationinsights-core-js 2.8.0-beta.2203-01 → 2.8.0-beta.2203-04
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/applicationinsights-core-js.integrity.json +9 -9
- package/browser/applicationinsights-core-js.js +1137 -484
- package/browser/applicationinsights-core-js.js.map +1 -1
- package/browser/applicationinsights-core-js.min.js +2 -2
- package/browser/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.api.json +6529 -2784
- package/dist/applicationinsights-core-js.api.md +290 -30
- package/dist/applicationinsights-core-js.d.ts +481 -89
- package/dist/applicationinsights-core-js.js +1137 -484
- package/dist/applicationinsights-core-js.js.map +1 -1
- package/dist/applicationinsights-core-js.min.js +2 -2
- package/dist/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.rollup.d.ts +481 -89
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK/BaseCore.js +248 -32
- package/dist-esm/JavaScriptSDK/BaseCore.js.map +1 -1
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +50 -5
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js.map +1 -1
- package/dist-esm/JavaScriptSDK/ChannelController.js +105 -73
- package/dist-esm/JavaScriptSDK/ChannelController.js.map +1 -1
- package/dist-esm/JavaScriptSDK/Constants.js +1 -1
- package/dist-esm/JavaScriptSDK/CookieMgr.js +3 -4
- package/dist-esm/JavaScriptSDK/CookieMgr.js.map +1 -1
- package/dist-esm/JavaScriptSDK/CoreUtils.js +6 -122
- package/dist-esm/JavaScriptSDK/CoreUtils.js.map +1 -1
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js +93 -0
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -0
- package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +12 -12
- package/dist-esm/JavaScriptSDK/DiagnosticLogger.js.map +1 -1
- package/dist-esm/JavaScriptSDK/EnvUtils.js +8 -7
- package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
- package/dist-esm/JavaScriptSDK/EventHelpers.js +472 -0
- package/dist-esm/JavaScriptSDK/EventHelpers.js.map +1 -0
- package/dist-esm/JavaScriptSDK/HelperFuncs.js +32 -59
- package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
- package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK/InternalConstants.js +28 -0
- package/dist-esm/JavaScriptSDK/InternalConstants.js.map +1 -0
- package/dist-esm/JavaScriptSDK/NotificationManager.js +8 -11
- package/dist-esm/JavaScriptSDK/NotificationManager.js.map +1 -1
- package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +195 -107
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
- package/dist-esm/JavaScriptSDK/RandomHelper.js +3 -2
- package/dist-esm/JavaScriptSDK/RandomHelper.js.map +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +32 -13
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js.map +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +4 -6
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js.map +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +32 -0
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js.map +1 -0
- package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +90 -96
- package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js.map +1 -1
- package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +8 -0
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js.map +1 -0
- package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -2
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js.map +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +8 -0
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js.map +1 -0
- package/dist-esm/applicationinsights-core-js.js +9 -4
- package/dist-esm/applicationinsights-core-js.js.map +1 -1
- package/package.json +1 -1
- package/src/JavaScriptSDK/BaseCore.ts +312 -33
- package/src/JavaScriptSDK/BaseTelemetryPlugin.ts +90 -5
- package/src/JavaScriptSDK/ChannelController.ts +107 -61
- package/src/JavaScriptSDK/CookieMgr.ts +4 -4
- package/src/JavaScriptSDK/CoreUtils.ts +6 -143
- package/src/JavaScriptSDK/DataCacheHelper.ts +106 -0
- package/src/JavaScriptSDK/DiagnosticLogger.ts +12 -11
- package/src/JavaScriptSDK/EnvUtils.ts +7 -6
- package/src/JavaScriptSDK/EventHelpers.ts +542 -0
- package/src/JavaScriptSDK/HelperFuncs.ts +35 -54
- package/src/JavaScriptSDK/InternalConstants.ts +26 -0
- package/src/JavaScriptSDK/NotificationManager.ts +7 -11
- package/src/JavaScriptSDK/ProcessTelemetryContext.ts +248 -121
- package/src/JavaScriptSDK/RandomHelper.ts +2 -1
- package/src/JavaScriptSDK/TelemetryHelpers.ts +47 -15
- package/src/JavaScriptSDK/TelemetryInitializerPlugin.ts +5 -15
- package/src/JavaScriptSDK/UnloadHandlerContainer.ts +44 -0
- package/src/JavaScriptSDK.Enums/LoggingEnums.ts +184 -87
- package/src/JavaScriptSDK.Enums/SendRequestReason.ts +5 -0
- package/src/JavaScriptSDK.Enums/TelemetryUnloadReason.ts +27 -0
- package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +49 -2
- package/src/JavaScriptSDK.Interfaces/IChannelControls.ts +9 -2
- package/src/JavaScriptSDK.Interfaces/IProcessTelemetryContext.ts +55 -16
- package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +16 -9
- package/src/JavaScriptSDK.Interfaces/ITelemetryPluginChain.ts +9 -11
- package/src/JavaScriptSDK.Interfaces/ITelemetryUnloadState.ts +10 -0
- package/types/JavaScriptSDK/BaseCore.d.ts +21 -1
- package/types/JavaScriptSDK/BaseTelemetryPlugin.d.ts +26 -1
- package/types/JavaScriptSDK/ChannelController.d.ts +4 -0
- package/types/JavaScriptSDK/CoreUtils.d.ts +1 -42
- package/types/JavaScriptSDK/DataCacheHelper.d.ts +13 -0
- package/types/JavaScriptSDK/EventHelpers.d.ts +152 -0
- package/types/JavaScriptSDK/HelperFuncs.d.ts +8 -17
- package/types/JavaScriptSDK/InternalConstants.d.ts +20 -0
- package/types/JavaScriptSDK/ProcessTelemetryContext.d.ts +12 -3
- package/types/JavaScriptSDK/TelemetryHelpers.d.ts +8 -0
- package/types/JavaScriptSDK/TelemetryInitializerPlugin.d.ts +0 -7
- package/types/JavaScriptSDK/UnloadHandlerContainer.d.ts +11 -0
- package/types/JavaScriptSDK.Enums/LoggingEnums.d.ts +91 -2
- package/types/JavaScriptSDK.Enums/SendRequestReason.d.ts +4 -0
- package/types/JavaScriptSDK.Enums/TelemetryUnloadReason.d.ts +21 -0
- package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +41 -1
- package/types/JavaScriptSDK.Interfaces/IChannelControls.d.ts +9 -2
- package/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext.d.ts +49 -14
- package/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts +15 -8
- package/types/JavaScriptSDK.Interfaces/ITelemetryPluginChain.d.ts +9 -10
- package/types/JavaScriptSDK.Interfaces/ITelemetryUnloadState.d.ts +6 -0
- package/types/applicationinsights-core-js.d.ts +7 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
//
|
|
6
6
|
//
|
|
7
7
|
import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
|
|
8
8
|
import dynamicProto from "@microsoft/dynamicproto-js";
|
|
9
|
-
import { LoggingSeverity, _InternalMessageId } from "../JavaScriptSDK.Enums/LoggingEnums";
|
|
10
9
|
import { BaseTelemetryPlugin } from "./BaseTelemetryPlugin";
|
|
11
10
|
import { dumpObj } from "./EnvUtils";
|
|
12
11
|
import { arrForEach, getExceptionName } from "./HelperFuncs";
|
|
12
|
+
import { strDoTeardown } from "./InternalConstants";
|
|
13
13
|
var TelemetryInitializerPlugin = /** @class */ (function (_super) {
|
|
14
14
|
__extends(TelemetryInitializerPlugin, _super);
|
|
15
15
|
function TelemetryInitializerPlugin() {
|
|
@@ -54,7 +54,7 @@ var TelemetryInitializerPlugin = /** @class */ (function (_super) {
|
|
|
54
54
|
catch (e) {
|
|
55
55
|
// log error but dont stop executing rest of the telemetry initializers
|
|
56
56
|
// doNotSendItem = true;
|
|
57
|
-
itemCtx.diagLog().throwInternal(
|
|
57
|
+
itemCtx.diagLog().throwInternal(1 /* CRITICAL */, 64 /* TelemetryInitializerFailed */, "One of telemetry initializers failed, telemetry item will not be sent: " + getExceptionName(e), { exception: dumpObj(e) }, true);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -62,8 +62,7 @@ var TelemetryInitializerPlugin = /** @class */ (function (_super) {
|
|
|
62
62
|
_self.processNext(item, itemCtx);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
_self
|
|
66
|
-
_base.unload(itemCtx, isAsync);
|
|
65
|
+
_self[strDoTeardown] = function () {
|
|
67
66
|
_initDefaults();
|
|
68
67
|
};
|
|
69
68
|
});
|
|
@@ -75,7 +74,6 @@ var TelemetryInitializerPlugin = /** @class */ (function (_super) {
|
|
|
75
74
|
}
|
|
76
75
|
// Removed Stub for TelemetryInitializerPlugin.prototype.addTelemetryInitializer.
|
|
77
76
|
// Removed Stub for TelemetryInitializerPlugin.prototype.processTelemetry.
|
|
78
|
-
// Removed Stub for TelemetryInitializerPlugin.prototype.unload.
|
|
79
77
|
return TelemetryInitializerPlugin;
|
|
80
78
|
}(BaseTelemetryPlugin));
|
|
81
79
|
export { TelemetryInitializerPlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TelemetryInitializerPlugin.js.map","sources":["TelemetryInitializerPlugin.js"],"sourcesContent":["// // Copyright (c) Microsoft Corporation. All rights reserved.\r\n// // Licensed under the MIT License.\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport {
|
|
1
|
+
{"version":3,"file":"TelemetryInitializerPlugin.js.map","sources":["TelemetryInitializerPlugin.js"],"sourcesContent":["// // Copyright (c) Microsoft Corporation. All rights reserved.\r\n// // Licensed under the MIT License.\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { BaseTelemetryPlugin } from \"./BaseTelemetryPlugin\";\r\nimport { dumpObj } from \"./EnvUtils\";\r\nimport { arrForEach, getExceptionName } from \"./HelperFuncs\";\r\nimport { strDoTeardown } from \"./InternalConstants\";\r\nvar TelemetryInitializerPlugin = /** @class */ (function (_super) {\r\n __extends(TelemetryInitializerPlugin, _super);\r\n function TelemetryInitializerPlugin() {\r\n var _this = _super.call(this) || this;\r\n _this.identifier = \"TelemetryInitializerPlugin\";\r\n _this.priority = 199;\r\n // NOTE!: DON'T set default values here, instead set them in the _initDefaults() function as it is also called during teardown()\r\n var _id;\r\n var _initializers;\r\n _initDefaults();\r\n dynamicProto(TelemetryInitializerPlugin, _this, function (_self, _base) {\r\n _self.addTelemetryInitializer = function (telemetryInitializer) {\r\n var theInitializer = {\r\n id: _id++,\r\n fn: telemetryInitializer\r\n };\r\n _initializers.push(theInitializer);\r\n var handler = {\r\n remove: function () {\r\n arrForEach(_initializers, function (initializer, idx) {\r\n if (initializer.id === theInitializer.id) {\r\n _initializers.splice(idx, 1);\r\n return -1;\r\n }\r\n });\r\n }\r\n };\r\n return handler;\r\n };\r\n _self.processTelemetry = function (item, itemCtx) {\r\n var doNotSendItem = false;\r\n var telemetryInitializersCount = _initializers.length;\r\n for (var i = 0; i < telemetryInitializersCount; ++i) {\r\n var telemetryInitializer = _initializers[i];\r\n if (telemetryInitializer) {\r\n try {\r\n if (telemetryInitializer.fn.apply(null, [item]) === false) {\r\n doNotSendItem = true;\r\n break;\r\n }\r\n }\r\n catch (e) {\r\n // log error but dont stop executing rest of the telemetry initializers\r\n // doNotSendItem = true;\r\n itemCtx.diagLog().throwInternal(1 /* CRITICAL */, 64 /* TelemetryInitializerFailed */, \"One of telemetry initializers failed, telemetry item will not be sent: \" + getExceptionName(e), { exception: dumpObj(e) }, true);\r\n }\r\n }\r\n }\r\n if (!doNotSendItem) {\r\n _self.processNext(item, itemCtx);\r\n }\r\n };\r\n _self[strDoTeardown] = function () {\r\n _initDefaults();\r\n };\r\n });\r\n function _initDefaults() {\r\n _id = 0;\r\n _initializers = [];\r\n }\r\n return _this;\r\n }\r\n /**\r\n * Add a telemetry processor to decorate or drop telemetry events.\r\n * @param telemetryInitializer - The Telemetry Initializer function\r\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\r\n */\r\n TelemetryInitializerPlugin.prototype.addTelemetryInitializer = function (telemetryInitializer) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n TelemetryInitializerPlugin.prototype.processTelemetry = function (env, itemCtx) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n return TelemetryInitializerPlugin;\r\n}(BaseTelemetryPlugin));\r\nexport { TelemetryInitializerPlugin };\r\n//# sourceMappingURL=TelemetryInitializerPlugin.js.map"],"names":[],"mappings":";;;;AAAA,GAA+D;AAC/D,GAAqC;AACrC,gFAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;0EAWM;AACN;AACA;AACA;AACA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-04
|
|
3
|
+
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
import { dumpObj } from "./EnvUtils";
|
|
8
|
+
import { arrForEach } from "./HelperFuncs";
|
|
9
|
+
export function createUnloadHandlerContainer() {
|
|
10
|
+
var handlers = [];
|
|
11
|
+
function _addHandler(handler) {
|
|
12
|
+
if (handler) {
|
|
13
|
+
handlers.push(handler);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _runHandlers(unloadCtx, unloadState) {
|
|
17
|
+
arrForEach(handlers, function (handler) {
|
|
18
|
+
try {
|
|
19
|
+
handler(unloadCtx, unloadState);
|
|
20
|
+
}
|
|
21
|
+
catch (e) {
|
|
22
|
+
unloadCtx.diagLog().throwInternal(2 /* WARNING */, 73 /* PluginException */, "Unexpected error calling unload handler - " + dumpObj(e));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
handlers = [];
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
add: _addHandler,
|
|
29
|
+
run: _runHandlers
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=UnloadHandlerContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnloadHandlerContainer.js.map","sources":["UnloadHandlerContainer.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { dumpObj } from \"./EnvUtils\";\r\nimport { arrForEach } from \"./HelperFuncs\";\r\nexport function createUnloadHandlerContainer() {\r\n var handlers = [];\r\n function _addHandler(handler) {\r\n if (handler) {\r\n handlers.push(handler);\r\n }\r\n }\r\n function _runHandlers(unloadCtx, unloadState) {\r\n arrForEach(handlers, function (handler) {\r\n try {\r\n handler(unloadCtx, unloadState);\r\n }\r\n catch (e) {\r\n unloadCtx.diagLog().throwInternal(2 /* WARNING */, 73 /* PluginException */, \"Unexpected error calling unload handler - \" + dumpObj(e));\r\n }\r\n });\r\n handlers = [];\r\n }\r\n return {\r\n add: _addHandler,\r\n run: _runHandlers\r\n };\r\n}\r\n//# sourceMappingURL=UnloadHandlerContainer.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,107 +1,101 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
LoggingSeverity[LoggingSeverity["CRITICAL"] = 1] = "CRITICAL";
|
|
13
|
-
/**
|
|
14
|
-
* Error will NOT be sent as internal telemetry, and will only be shown in browser console
|
|
15
|
-
*/
|
|
16
|
-
LoggingSeverity[LoggingSeverity["WARNING"] = 2] = "WARNING";
|
|
17
|
-
})(LoggingSeverity || (LoggingSeverity = {}));
|
|
7
|
+
import { createEnumStyle } from "../JavaScriptSDK/HelperFuncs";
|
|
8
|
+
export var LoggingSeverity = createEnumStyle({
|
|
9
|
+
CRITICAL: 1 /* CRITICAL */,
|
|
10
|
+
WARNING: 2 /* WARNING */
|
|
11
|
+
});
|
|
18
12
|
/**
|
|
19
13
|
* Internal message ID. Please create a new one for every conceptually different message. Please keep alphabetically ordered
|
|
20
14
|
*/
|
|
21
|
-
export var _InternalMessageId = {
|
|
15
|
+
export var _InternalMessageId = createEnumStyle({
|
|
22
16
|
// Non user actionable
|
|
23
|
-
BrowserDoesNotSupportLocalStorage: 0
|
|
24
|
-
BrowserCannotReadLocalStorage: 1
|
|
25
|
-
BrowserCannotReadSessionStorage: 2
|
|
26
|
-
BrowserCannotWriteLocalStorage: 3
|
|
27
|
-
BrowserCannotWriteSessionStorage: 4
|
|
28
|
-
BrowserFailedRemovalFromLocalStorage: 5
|
|
29
|
-
BrowserFailedRemovalFromSessionStorage: 6
|
|
30
|
-
CannotSendEmptyTelemetry: 7
|
|
31
|
-
ClientPerformanceMathError: 8
|
|
32
|
-
ErrorParsingAISessionCookie: 9
|
|
33
|
-
ErrorPVCalc: 10
|
|
34
|
-
ExceptionWhileLoggingError: 11
|
|
35
|
-
FailedAddingTelemetryToBuffer: 12
|
|
36
|
-
FailedMonitorAjaxAbort: 13
|
|
37
|
-
FailedMonitorAjaxDur: 14
|
|
38
|
-
FailedMonitorAjaxOpen: 15
|
|
39
|
-
FailedMonitorAjaxRSC: 16
|
|
40
|
-
FailedMonitorAjaxSend: 17
|
|
41
|
-
FailedMonitorAjaxGetCorrelationHeader: 18
|
|
42
|
-
FailedToAddHandlerForOnBeforeUnload: 19
|
|
43
|
-
FailedToSendQueuedTelemetry: 20
|
|
44
|
-
FailedToReportDataLoss: 21
|
|
45
|
-
FlushFailed: 22
|
|
46
|
-
MessageLimitPerPVExceeded: 23
|
|
47
|
-
MissingRequiredFieldSpecification: 24
|
|
48
|
-
NavigationTimingNotSupported: 25
|
|
49
|
-
OnError: 26
|
|
50
|
-
SessionRenewalDateIsZero: 27
|
|
51
|
-
SenderNotInitialized: 28
|
|
52
|
-
StartTrackEventFailed: 29
|
|
53
|
-
StopTrackEventFailed: 30
|
|
54
|
-
StartTrackFailed: 31
|
|
55
|
-
StopTrackFailed: 32
|
|
56
|
-
TelemetrySampledAndNotSent: 33
|
|
57
|
-
TrackEventFailed: 34
|
|
58
|
-
TrackExceptionFailed: 35
|
|
59
|
-
TrackMetricFailed: 36
|
|
60
|
-
TrackPVFailed: 37
|
|
61
|
-
TrackPVFailedCalc: 38
|
|
62
|
-
TrackTraceFailed: 39
|
|
63
|
-
TransmissionFailed: 40
|
|
64
|
-
FailedToSetStorageBuffer: 41
|
|
65
|
-
FailedToRestoreStorageBuffer: 42
|
|
66
|
-
InvalidBackendResponse: 43
|
|
67
|
-
FailedToFixDepricatedValues: 44
|
|
68
|
-
InvalidDurationValue: 45
|
|
69
|
-
TelemetryEnvelopeInvalid: 46
|
|
70
|
-
CreateEnvelopeError: 47
|
|
17
|
+
BrowserDoesNotSupportLocalStorage: 0 /* BrowserDoesNotSupportLocalStorage */,
|
|
18
|
+
BrowserCannotReadLocalStorage: 1 /* BrowserCannotReadLocalStorage */,
|
|
19
|
+
BrowserCannotReadSessionStorage: 2 /* BrowserCannotReadSessionStorage */,
|
|
20
|
+
BrowserCannotWriteLocalStorage: 3 /* BrowserCannotWriteLocalStorage */,
|
|
21
|
+
BrowserCannotWriteSessionStorage: 4 /* BrowserCannotWriteSessionStorage */,
|
|
22
|
+
BrowserFailedRemovalFromLocalStorage: 5 /* BrowserFailedRemovalFromLocalStorage */,
|
|
23
|
+
BrowserFailedRemovalFromSessionStorage: 6 /* BrowserFailedRemovalFromSessionStorage */,
|
|
24
|
+
CannotSendEmptyTelemetry: 7 /* CannotSendEmptyTelemetry */,
|
|
25
|
+
ClientPerformanceMathError: 8 /* ClientPerformanceMathError */,
|
|
26
|
+
ErrorParsingAISessionCookie: 9 /* ErrorParsingAISessionCookie */,
|
|
27
|
+
ErrorPVCalc: 10 /* ErrorPVCalc */,
|
|
28
|
+
ExceptionWhileLoggingError: 11 /* ExceptionWhileLoggingError */,
|
|
29
|
+
FailedAddingTelemetryToBuffer: 12 /* FailedAddingTelemetryToBuffer */,
|
|
30
|
+
FailedMonitorAjaxAbort: 13 /* FailedMonitorAjaxAbort */,
|
|
31
|
+
FailedMonitorAjaxDur: 14 /* FailedMonitorAjaxDur */,
|
|
32
|
+
FailedMonitorAjaxOpen: 15 /* FailedMonitorAjaxOpen */,
|
|
33
|
+
FailedMonitorAjaxRSC: 16 /* FailedMonitorAjaxRSC */,
|
|
34
|
+
FailedMonitorAjaxSend: 17 /* FailedMonitorAjaxSend */,
|
|
35
|
+
FailedMonitorAjaxGetCorrelationHeader: 18 /* FailedMonitorAjaxGetCorrelationHeader */,
|
|
36
|
+
FailedToAddHandlerForOnBeforeUnload: 19 /* FailedToAddHandlerForOnBeforeUnload */,
|
|
37
|
+
FailedToSendQueuedTelemetry: 20 /* FailedToSendQueuedTelemetry */,
|
|
38
|
+
FailedToReportDataLoss: 21 /* FailedToReportDataLoss */,
|
|
39
|
+
FlushFailed: 22 /* FlushFailed */,
|
|
40
|
+
MessageLimitPerPVExceeded: 23 /* MessageLimitPerPVExceeded */,
|
|
41
|
+
MissingRequiredFieldSpecification: 24 /* MissingRequiredFieldSpecification */,
|
|
42
|
+
NavigationTimingNotSupported: 25 /* NavigationTimingNotSupported */,
|
|
43
|
+
OnError: 26 /* OnError */,
|
|
44
|
+
SessionRenewalDateIsZero: 27 /* SessionRenewalDateIsZero */,
|
|
45
|
+
SenderNotInitialized: 28 /* SenderNotInitialized */,
|
|
46
|
+
StartTrackEventFailed: 29 /* StartTrackEventFailed */,
|
|
47
|
+
StopTrackEventFailed: 30 /* StopTrackEventFailed */,
|
|
48
|
+
StartTrackFailed: 31 /* StartTrackFailed */,
|
|
49
|
+
StopTrackFailed: 32 /* StopTrackFailed */,
|
|
50
|
+
TelemetrySampledAndNotSent: 33 /* TelemetrySampledAndNotSent */,
|
|
51
|
+
TrackEventFailed: 34 /* TrackEventFailed */,
|
|
52
|
+
TrackExceptionFailed: 35 /* TrackExceptionFailed */,
|
|
53
|
+
TrackMetricFailed: 36 /* TrackMetricFailed */,
|
|
54
|
+
TrackPVFailed: 37 /* TrackPVFailed */,
|
|
55
|
+
TrackPVFailedCalc: 38 /* TrackPVFailedCalc */,
|
|
56
|
+
TrackTraceFailed: 39 /* TrackTraceFailed */,
|
|
57
|
+
TransmissionFailed: 40 /* TransmissionFailed */,
|
|
58
|
+
FailedToSetStorageBuffer: 41 /* FailedToSetStorageBuffer */,
|
|
59
|
+
FailedToRestoreStorageBuffer: 42 /* FailedToRestoreStorageBuffer */,
|
|
60
|
+
InvalidBackendResponse: 43 /* InvalidBackendResponse */,
|
|
61
|
+
FailedToFixDepricatedValues: 44 /* FailedToFixDepricatedValues */,
|
|
62
|
+
InvalidDurationValue: 45 /* InvalidDurationValue */,
|
|
63
|
+
TelemetryEnvelopeInvalid: 46 /* TelemetryEnvelopeInvalid */,
|
|
64
|
+
CreateEnvelopeError: 47 /* CreateEnvelopeError */,
|
|
71
65
|
// User actionable
|
|
72
|
-
CannotSerializeObject: 48
|
|
73
|
-
CannotSerializeObjectNonSerializable: 49
|
|
74
|
-
CircularReferenceDetected: 50
|
|
75
|
-
ClearAuthContextFailed: 51
|
|
76
|
-
ExceptionTruncated: 52
|
|
77
|
-
IllegalCharsInName: 53
|
|
78
|
-
ItemNotInArray: 54
|
|
79
|
-
MaxAjaxPerPVExceeded: 55
|
|
80
|
-
MessageTruncated: 56
|
|
81
|
-
NameTooLong: 57
|
|
82
|
-
SampleRateOutOfRange: 58
|
|
83
|
-
SetAuthContextFailed: 59
|
|
84
|
-
SetAuthContextFailedAccountName: 60
|
|
85
|
-
StringValueTooLong: 61
|
|
86
|
-
StartCalledMoreThanOnce: 62
|
|
87
|
-
StopCalledWithoutStart: 63
|
|
88
|
-
TelemetryInitializerFailed: 64
|
|
89
|
-
TrackArgumentsNotSpecified: 65
|
|
90
|
-
UrlTooLong: 66
|
|
91
|
-
SessionStorageBufferFull: 67
|
|
92
|
-
CannotAccessCookie: 68
|
|
93
|
-
IdTooLong: 69
|
|
94
|
-
InvalidEvent: 70
|
|
95
|
-
FailedMonitorAjaxSetRequestHeader: 71
|
|
96
|
-
SendBrowserInfoOnUserInit: 72
|
|
97
|
-
PluginException: 73
|
|
98
|
-
NotificationException: 74
|
|
99
|
-
SnippetScriptLoadFailure: 99
|
|
100
|
-
InvalidInstrumentationKey: 100
|
|
101
|
-
CannotParseAiBlobValue: 101
|
|
102
|
-
InvalidContentBlob: 102
|
|
103
|
-
TrackPageActionEventFailed: 103
|
|
104
|
-
FailedAddingCustomDefinedRequestContext: 104
|
|
105
|
-
InMemoryStorageBufferFull: 105
|
|
106
|
-
};
|
|
66
|
+
CannotSerializeObject: 48 /* CannotSerializeObject */,
|
|
67
|
+
CannotSerializeObjectNonSerializable: 49 /* CannotSerializeObjectNonSerializable */,
|
|
68
|
+
CircularReferenceDetected: 50 /* CircularReferenceDetected */,
|
|
69
|
+
ClearAuthContextFailed: 51 /* ClearAuthContextFailed */,
|
|
70
|
+
ExceptionTruncated: 52 /* ExceptionTruncated */,
|
|
71
|
+
IllegalCharsInName: 53 /* IllegalCharsInName */,
|
|
72
|
+
ItemNotInArray: 54 /* ItemNotInArray */,
|
|
73
|
+
MaxAjaxPerPVExceeded: 55 /* MaxAjaxPerPVExceeded */,
|
|
74
|
+
MessageTruncated: 56 /* MessageTruncated */,
|
|
75
|
+
NameTooLong: 57 /* NameTooLong */,
|
|
76
|
+
SampleRateOutOfRange: 58 /* SampleRateOutOfRange */,
|
|
77
|
+
SetAuthContextFailed: 59 /* SetAuthContextFailed */,
|
|
78
|
+
SetAuthContextFailedAccountName: 60 /* SetAuthContextFailedAccountName */,
|
|
79
|
+
StringValueTooLong: 61 /* StringValueTooLong */,
|
|
80
|
+
StartCalledMoreThanOnce: 62 /* StartCalledMoreThanOnce */,
|
|
81
|
+
StopCalledWithoutStart: 63 /* StopCalledWithoutStart */,
|
|
82
|
+
TelemetryInitializerFailed: 64 /* TelemetryInitializerFailed */,
|
|
83
|
+
TrackArgumentsNotSpecified: 65 /* TrackArgumentsNotSpecified */,
|
|
84
|
+
UrlTooLong: 66 /* UrlTooLong */,
|
|
85
|
+
SessionStorageBufferFull: 67 /* SessionStorageBufferFull */,
|
|
86
|
+
CannotAccessCookie: 68 /* CannotAccessCookie */,
|
|
87
|
+
IdTooLong: 69 /* IdTooLong */,
|
|
88
|
+
InvalidEvent: 70 /* InvalidEvent */,
|
|
89
|
+
FailedMonitorAjaxSetRequestHeader: 71 /* FailedMonitorAjaxSetRequestHeader */,
|
|
90
|
+
SendBrowserInfoOnUserInit: 72 /* SendBrowserInfoOnUserInit */,
|
|
91
|
+
PluginException: 73 /* PluginException */,
|
|
92
|
+
NotificationException: 74 /* NotificationException */,
|
|
93
|
+
SnippetScriptLoadFailure: 99 /* SnippetScriptLoadFailure */,
|
|
94
|
+
InvalidInstrumentationKey: 100 /* InvalidInstrumentationKey */,
|
|
95
|
+
CannotParseAiBlobValue: 101 /* CannotParseAiBlobValue */,
|
|
96
|
+
InvalidContentBlob: 102 /* InvalidContentBlob */,
|
|
97
|
+
TrackPageActionEventFailed: 103 /* TrackPageActionEventFailed */,
|
|
98
|
+
FailedAddingCustomDefinedRequestContext: 104 /* FailedAddingCustomDefinedRequestContext */,
|
|
99
|
+
InMemoryStorageBufferFull: 105 /* InMemoryStorageBufferFull */
|
|
100
|
+
});
|
|
107
101
|
//# sourceMappingURL=LoggingEnums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoggingEnums.js.map","sources":["LoggingEnums.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\
|
|
1
|
+
{"version":3,"file":"LoggingEnums.js.map","sources":["LoggingEnums.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { createEnumStyle } from \"../JavaScriptSDK/HelperFuncs\";\r\nexport var LoggingSeverity = createEnumStyle({\r\n CRITICAL: 1 /* CRITICAL */,\r\n WARNING: 2 /* WARNING */\r\n});\r\n/**\r\n * Internal message ID. Please create a new one for every conceptually different message. Please keep alphabetically ordered\r\n */\r\nexport var _InternalMessageId = createEnumStyle({\r\n // Non user actionable\r\n BrowserDoesNotSupportLocalStorage: 0 /* BrowserDoesNotSupportLocalStorage */,\r\n BrowserCannotReadLocalStorage: 1 /* BrowserCannotReadLocalStorage */,\r\n BrowserCannotReadSessionStorage: 2 /* BrowserCannotReadSessionStorage */,\r\n BrowserCannotWriteLocalStorage: 3 /* BrowserCannotWriteLocalStorage */,\r\n BrowserCannotWriteSessionStorage: 4 /* BrowserCannotWriteSessionStorage */,\r\n BrowserFailedRemovalFromLocalStorage: 5 /* BrowserFailedRemovalFromLocalStorage */,\r\n BrowserFailedRemovalFromSessionStorage: 6 /* BrowserFailedRemovalFromSessionStorage */,\r\n CannotSendEmptyTelemetry: 7 /* CannotSendEmptyTelemetry */,\r\n ClientPerformanceMathError: 8 /* ClientPerformanceMathError */,\r\n ErrorParsingAISessionCookie: 9 /* ErrorParsingAISessionCookie */,\r\n ErrorPVCalc: 10 /* ErrorPVCalc */,\r\n ExceptionWhileLoggingError: 11 /* ExceptionWhileLoggingError */,\r\n FailedAddingTelemetryToBuffer: 12 /* FailedAddingTelemetryToBuffer */,\r\n FailedMonitorAjaxAbort: 13 /* FailedMonitorAjaxAbort */,\r\n FailedMonitorAjaxDur: 14 /* FailedMonitorAjaxDur */,\r\n FailedMonitorAjaxOpen: 15 /* FailedMonitorAjaxOpen */,\r\n FailedMonitorAjaxRSC: 16 /* FailedMonitorAjaxRSC */,\r\n FailedMonitorAjaxSend: 17 /* FailedMonitorAjaxSend */,\r\n FailedMonitorAjaxGetCorrelationHeader: 18 /* FailedMonitorAjaxGetCorrelationHeader */,\r\n FailedToAddHandlerForOnBeforeUnload: 19 /* FailedToAddHandlerForOnBeforeUnload */,\r\n FailedToSendQueuedTelemetry: 20 /* FailedToSendQueuedTelemetry */,\r\n FailedToReportDataLoss: 21 /* FailedToReportDataLoss */,\r\n FlushFailed: 22 /* FlushFailed */,\r\n MessageLimitPerPVExceeded: 23 /* MessageLimitPerPVExceeded */,\r\n MissingRequiredFieldSpecification: 24 /* MissingRequiredFieldSpecification */,\r\n NavigationTimingNotSupported: 25 /* NavigationTimingNotSupported */,\r\n OnError: 26 /* OnError */,\r\n SessionRenewalDateIsZero: 27 /* SessionRenewalDateIsZero */,\r\n SenderNotInitialized: 28 /* SenderNotInitialized */,\r\n StartTrackEventFailed: 29 /* StartTrackEventFailed */,\r\n StopTrackEventFailed: 30 /* StopTrackEventFailed */,\r\n StartTrackFailed: 31 /* StartTrackFailed */,\r\n StopTrackFailed: 32 /* StopTrackFailed */,\r\n TelemetrySampledAndNotSent: 33 /* TelemetrySampledAndNotSent */,\r\n TrackEventFailed: 34 /* TrackEventFailed */,\r\n TrackExceptionFailed: 35 /* TrackExceptionFailed */,\r\n TrackMetricFailed: 36 /* TrackMetricFailed */,\r\n TrackPVFailed: 37 /* TrackPVFailed */,\r\n TrackPVFailedCalc: 38 /* TrackPVFailedCalc */,\r\n TrackTraceFailed: 39 /* TrackTraceFailed */,\r\n TransmissionFailed: 40 /* TransmissionFailed */,\r\n FailedToSetStorageBuffer: 41 /* FailedToSetStorageBuffer */,\r\n FailedToRestoreStorageBuffer: 42 /* FailedToRestoreStorageBuffer */,\r\n InvalidBackendResponse: 43 /* InvalidBackendResponse */,\r\n FailedToFixDepricatedValues: 44 /* FailedToFixDepricatedValues */,\r\n InvalidDurationValue: 45 /* InvalidDurationValue */,\r\n TelemetryEnvelopeInvalid: 46 /* TelemetryEnvelopeInvalid */,\r\n CreateEnvelopeError: 47 /* CreateEnvelopeError */,\r\n // User actionable\r\n CannotSerializeObject: 48 /* CannotSerializeObject */,\r\n CannotSerializeObjectNonSerializable: 49 /* CannotSerializeObjectNonSerializable */,\r\n CircularReferenceDetected: 50 /* CircularReferenceDetected */,\r\n ClearAuthContextFailed: 51 /* ClearAuthContextFailed */,\r\n ExceptionTruncated: 52 /* ExceptionTruncated */,\r\n IllegalCharsInName: 53 /* IllegalCharsInName */,\r\n ItemNotInArray: 54 /* ItemNotInArray */,\r\n MaxAjaxPerPVExceeded: 55 /* MaxAjaxPerPVExceeded */,\r\n MessageTruncated: 56 /* MessageTruncated */,\r\n NameTooLong: 57 /* NameTooLong */,\r\n SampleRateOutOfRange: 58 /* SampleRateOutOfRange */,\r\n SetAuthContextFailed: 59 /* SetAuthContextFailed */,\r\n SetAuthContextFailedAccountName: 60 /* SetAuthContextFailedAccountName */,\r\n StringValueTooLong: 61 /* StringValueTooLong */,\r\n StartCalledMoreThanOnce: 62 /* StartCalledMoreThanOnce */,\r\n StopCalledWithoutStart: 63 /* StopCalledWithoutStart */,\r\n TelemetryInitializerFailed: 64 /* TelemetryInitializerFailed */,\r\n TrackArgumentsNotSpecified: 65 /* TrackArgumentsNotSpecified */,\r\n UrlTooLong: 66 /* UrlTooLong */,\r\n SessionStorageBufferFull: 67 /* SessionStorageBufferFull */,\r\n CannotAccessCookie: 68 /* CannotAccessCookie */,\r\n IdTooLong: 69 /* IdTooLong */,\r\n InvalidEvent: 70 /* InvalidEvent */,\r\n FailedMonitorAjaxSetRequestHeader: 71 /* FailedMonitorAjaxSetRequestHeader */,\r\n SendBrowserInfoOnUserInit: 72 /* SendBrowserInfoOnUserInit */,\r\n PluginException: 73 /* PluginException */,\r\n NotificationException: 74 /* NotificationException */,\r\n SnippetScriptLoadFailure: 99 /* SnippetScriptLoadFailure */,\r\n InvalidInstrumentationKey: 100 /* InvalidInstrumentationKey */,\r\n CannotParseAiBlobValue: 101 /* CannotParseAiBlobValue */,\r\n InvalidContentBlob: 102 /* InvalidContentBlob */,\r\n TrackPageActionEventFailed: 103 /* TrackPageActionEventFailed */,\r\n FailedAddingCustomDefinedRequestContext: 104 /* FailedAddingCustomDefinedRequestContext */,\r\n InMemoryStorageBufferFull: 105 /* InMemoryStorageBufferFull */\r\n});\r\n//# sourceMappingURL=LoggingEnums.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelemetryUnloadReason.js.map","sources":["TelemetryUnloadReason.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=TelemetryUnloadReason.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
"use strict";
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=ITelemetryPluginChain.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITelemetryPluginChain.js.map","sources":["ITelemetryPluginChain.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\
|
|
1
|
+
{"version":3,"file":"ITelemetryPluginChain.js.map","sources":["ITelemetryPluginChain.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=ITelemetryPluginChain.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITelemetryUnloadState.js.map","sources":["ITelemetryUnloadState.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=ITelemetryUnloadState.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 2.8.0-beta.2203-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
export { MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
|
|
@@ -8,18 +8,23 @@ export { AppInsightsCore } from "./JavaScriptSDK/AppInsightsCore";
|
|
|
8
8
|
export { BaseCore } from "./JavaScriptSDK/BaseCore";
|
|
9
9
|
export { BaseTelemetryPlugin } from "./JavaScriptSDK/BaseTelemetryPlugin";
|
|
10
10
|
export { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from "./JavaScriptSDK/RandomHelper";
|
|
11
|
-
export { CoreUtils, EventHelper, Undefined,
|
|
12
|
-
export { isTypeof, isUndefined, isNullOrUndefined, hasOwnProperty, isObject, isFunction,
|
|
11
|
+
export { CoreUtils, EventHelper, Undefined, newGuid, perfNow, generateW3CId, disableCookies, canUseCookies, getCookie, setCookie, deleteCookie, _legacyCookieMgr } from "./JavaScriptSDK/CoreUtils";
|
|
12
|
+
export { isTypeof, isUndefined, isNullOrUndefined, hasOwnProperty, isObject, isFunction, normalizeJsName, objForEachKey, strEndsWith, strStartsWith, isDate, isArray, isError, isString, isNumber, isBoolean, toISOString, arrForEach, arrIndexOf, arrMap, arrReduce, strTrim, objKeys, objDefineAccessors, dateNow, getExceptionName, throwError, strContains, isSymbol, setValue, getSetValue, isNotTruthy, isTruthy, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objFreeze, objSeal, createEnumStyle, objExtend } from "./JavaScriptSDK/HelperFuncs";
|
|
13
|
+
export { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, eventOn, eventOff, mergeEvtNamespace, __getRegisteredEvents } from "./JavaScriptSDK/EventHelpers";
|
|
13
14
|
export { getGlobalInst, hasWindow, getWindow, hasDocument, getDocument, getCrypto, getMsCrypto, hasNavigator, getNavigator, hasHistory, getHistory, getLocation, getPerformance, hasJSON, getJSON, isReactNative, getConsole, dumpObj, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported } from "./JavaScriptSDK/EnvUtils";
|
|
14
15
|
export { getGlobal, objCreateFn as objCreate, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from "@microsoft/applicationinsights-shims";
|
|
15
16
|
export { NotificationManager } from "./JavaScriptSDK/NotificationManager";
|
|
16
17
|
export { PerfEvent, PerfManager, doPerf, getGblPerfMgr, setGblPerfMgr } from "./JavaScriptSDK/PerfManager";
|
|
17
18
|
export { safeGetLogger, DiagnosticLogger, _InternalLogMessage } from "./JavaScriptSDK/DiagnosticLogger";
|
|
18
|
-
export { ProcessTelemetryContext, createProcessTelemetryContext
|
|
19
|
+
export { ProcessTelemetryContext, createProcessTelemetryContext
|
|
20
|
+
// Explicitly NOT exporting createProcessTelemetryUnloadContext() and createProcessTelemetryUpdateContext() as these should only be created internally
|
|
21
|
+
} from "./JavaScriptSDK/ProcessTelemetryContext";
|
|
19
22
|
export { initializePlugins, sortPlugins } from "./JavaScriptSDK/TelemetryHelpers";
|
|
20
23
|
export { _InternalMessageId, LoggingSeverity } from "./JavaScriptSDK.Enums/LoggingEnums";
|
|
21
24
|
export { InstrumentProto, InstrumentProtos, InstrumentFunc, InstrumentFuncs } from "./JavaScriptSDK/InstrumentHooks";
|
|
22
25
|
export { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesSupported } from "./JavaScriptSDK/CookieMgr";
|
|
23
26
|
export { strIKey, strExtensionConfig } from "./JavaScriptSDK/Constants";
|
|
24
27
|
export { getDebugListener, getDebugExt } from "./JavaScriptSDK/DbgExtensionUtils";
|
|
28
|
+
export { createUniqueNamespace } from "./JavaScriptSDK/DataCacheHelper";
|
|
29
|
+
export { createUnloadHandlerContainer } from "./JavaScriptSDK/UnloadHandlerContainer";
|
|
25
30
|
//# sourceMappingURL=applicationinsights-core-js.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationinsights-core-js.js.map","sources":["applicationinsights-core-js.js"],"sourcesContent":["export { MinChannelPriorty } from \"./JavaScriptSDK.Interfaces/IChannelControls\";\r\nexport { EventsDiscardedReason } from \"./JavaScriptSDK.Enums/EventsDiscardedReason\";\r\nexport { AppInsightsCore } from \"./JavaScriptSDK/AppInsightsCore\";\r\nexport { BaseCore } from \"./JavaScriptSDK/BaseCore\";\r\nexport { BaseTelemetryPlugin } from \"./JavaScriptSDK/BaseTelemetryPlugin\";\r\nexport { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from \"./JavaScriptSDK/RandomHelper\";\r\nexport { CoreUtils, EventHelper, Undefined,
|
|
1
|
+
{"version":3,"file":"applicationinsights-core-js.js.map","sources":["applicationinsights-core-js.js"],"sourcesContent":["export { MinChannelPriorty } from \"./JavaScriptSDK.Interfaces/IChannelControls\";\r\nexport { EventsDiscardedReason } from \"./JavaScriptSDK.Enums/EventsDiscardedReason\";\r\nexport { AppInsightsCore } from \"./JavaScriptSDK/AppInsightsCore\";\r\nexport { BaseCore } from \"./JavaScriptSDK/BaseCore\";\r\nexport { BaseTelemetryPlugin } from \"./JavaScriptSDK/BaseTelemetryPlugin\";\r\nexport { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from \"./JavaScriptSDK/RandomHelper\";\r\nexport { CoreUtils, EventHelper, Undefined, newGuid, perfNow, generateW3CId, disableCookies, canUseCookies, getCookie, setCookie, deleteCookie, _legacyCookieMgr } from \"./JavaScriptSDK/CoreUtils\";\r\nexport { isTypeof, isUndefined, isNullOrUndefined, hasOwnProperty, isObject, isFunction, normalizeJsName, objForEachKey, strEndsWith, strStartsWith, isDate, isArray, isError, isString, isNumber, isBoolean, toISOString, arrForEach, arrIndexOf, arrMap, arrReduce, strTrim, objKeys, objDefineAccessors, dateNow, getExceptionName, throwError, strContains, isSymbol, setValue, getSetValue, isNotTruthy, isTruthy, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objFreeze, objSeal, createEnumStyle, objExtend } from \"./JavaScriptSDK/HelperFuncs\";\r\nexport { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, eventOn, eventOff, mergeEvtNamespace, __getRegisteredEvents } from \"./JavaScriptSDK/EventHelpers\";\r\nexport { getGlobalInst, hasWindow, getWindow, hasDocument, getDocument, getCrypto, getMsCrypto, hasNavigator, getNavigator, hasHistory, getHistory, getLocation, getPerformance, hasJSON, getJSON, isReactNative, getConsole, dumpObj, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported } from \"./JavaScriptSDK/EnvUtils\";\r\nexport { getGlobal, objCreateFn as objCreate, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from \"@microsoft/applicationinsights-shims\";\r\nexport { NotificationManager } from \"./JavaScriptSDK/NotificationManager\";\r\nexport { PerfEvent, PerfManager, doPerf, getGblPerfMgr, setGblPerfMgr } from \"./JavaScriptSDK/PerfManager\";\r\nexport { safeGetLogger, DiagnosticLogger, _InternalLogMessage } from \"./JavaScriptSDK/DiagnosticLogger\";\r\nexport { ProcessTelemetryContext, createProcessTelemetryContext\r\n// Explicitly NOT exporting createProcessTelemetryUnloadContext() and createProcessTelemetryUpdateContext() as these should only be created internally\r\n } from \"./JavaScriptSDK/ProcessTelemetryContext\";\r\nexport { initializePlugins, sortPlugins } from \"./JavaScriptSDK/TelemetryHelpers\";\r\nexport { _InternalMessageId, LoggingSeverity } from \"./JavaScriptSDK.Enums/LoggingEnums\";\r\nexport { InstrumentProto, InstrumentProtos, InstrumentFunc, InstrumentFuncs } from \"./JavaScriptSDK/InstrumentHooks\";\r\nexport { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesSupported } from \"./JavaScriptSDK/CookieMgr\";\r\nexport { strIKey, strExtensionConfig } from \"./JavaScriptSDK/Constants\";\r\nexport { getDebugListener, getDebugExt } from \"./JavaScriptSDK/DbgExtensionUtils\";\r\nexport { createUniqueNamespace } from \"./JavaScriptSDK/DataCacheHelper\";\r\nexport { createUnloadHandlerContainer } from \"./JavaScriptSDK/UnloadHandlerContainer\";\r\n//# sourceMappingURL=applicationinsights-core-js.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-core-js",
|
|
3
3
|
"author": "Microsoft Application Insights Team",
|
|
4
|
-
"version": "2.8.0-beta.2203-
|
|
4
|
+
"version": "2.8.0-beta.2203-04",
|
|
5
5
|
"description": "Microsoft Application Insights Core Javascript SDK",
|
|
6
6
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
7
|
"keywords": [
|