@microsoft/applicationinsights-common 3.3.1-nightly3.2407-16 → 3.3.2-nightly3.2408-06
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/applicationinsights-common.cjs.js +32 -2
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +34 -4
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +34 -4
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +32 -2
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +2 -2
- package/dist-es5/applicationinsights-common.js.map +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +16 -1
- package/types/applicationinsights-common.namespaced.d.ts +28 -1
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-common",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2-nightly3.2408-06",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@cjs.js": {
|
|
6
6
|
"file": "applicationinsights-common.cjs.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-IhcKX/87GQlTbXPyuMVbsSL+bD58E4dffo3yZmVDNMg= sha384-4i4NI8RoKs0uep9YwuZM2yeB+hZAzHUGk+WXIp+JcmH0r+n00ZzFO/RS5c/LHv5P sha512-aYw8K35tP55BziSF2/NZPXKPiglLwRVM3TptIol0r0K8CApOJaT+VPSzcWfcULLkH/lPeTOHUNe2E9PFEnbrNw==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "IhcKX/87GQlTbXPyuMVbsSL+bD58E4dffo3yZmVDNMg=",
|
|
11
|
+
"sha384": "4i4NI8RoKs0uep9YwuZM2yeB+hZAzHUGk+WXIp+JcmH0r+n00ZzFO/RS5c/LHv5P",
|
|
12
|
+
"sha512": "aYw8K35tP55BziSF2/NZPXKPiglLwRVM3TptIol0r0K8CApOJaT+VPSzcWfcULLkH/lPeTOHUNe2E9PFEnbrNw=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@cjs.min.js": {
|
|
16
16
|
"file": "applicationinsights-common.cjs.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-EhR5C3ej19pd0+P76tYkBkxrobWgK1RDEnXfHU7M9SU= sha384-GSyfmtEHA0vV0PGLN+LkPqH3HwL84xmMhr5wNhZSw0eEbDzRAtRT2qnDKL724AeE sha512-EP+lmlliLdrZnFU5eseCwaKM8Nf2NGGVuLySr2TkAlMQyc57zeHLJsVnf5yAYkvVT/RQfFFvRIsTuhIburtkWw==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "EhR5C3ej19pd0+P76tYkBkxrobWgK1RDEnXfHU7M9SU=",
|
|
21
|
+
"sha384": "GSyfmtEHA0vV0PGLN+LkPqH3HwL84xmMhr5wNhZSw0eEbDzRAtRT2qnDKL724AeE",
|
|
22
|
+
"sha512": "EP+lmlliLdrZnFU5eseCwaKM8Nf2NGGVuLySr2TkAlMQyc57zeHLJsVnf5yAYkvVT/RQfFFvRIsTuhIburtkWw=="
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"@gbl.js": {
|
|
26
26
|
"file": "applicationinsights-common.gbl.js",
|
|
27
27
|
"type": "text/javascript; charset=utf-8",
|
|
28
|
-
"integrity": "sha256-
|
|
28
|
+
"integrity": "sha256-d8Nw0vAw9sJp5+1PekBA0IBs/mFaEYV6kyUKm9z19io= sha384-pFMJcpbAHwVQz1hLwitf+C+MCBuIn40G5B3JlZfwwOt2mj5D55ihlRF/P64EkL4J sha512-tZ4nDhivZ0Jcn7JO2k72TMxLpNYA737QonjwPCXyZRhjXBXdILQ4S8Gv6Qz2hdS/jlhKZAcmNi9NMgXZlC5VSw==",
|
|
29
29
|
"hashes": {
|
|
30
|
-
"sha256": "
|
|
31
|
-
"sha384": "
|
|
32
|
-
"sha512": "
|
|
30
|
+
"sha256": "d8Nw0vAw9sJp5+1PekBA0IBs/mFaEYV6kyUKm9z19io=",
|
|
31
|
+
"sha384": "pFMJcpbAHwVQz1hLwitf+C+MCBuIn40G5B3JlZfwwOt2mj5D55ihlRF/P64EkL4J",
|
|
32
|
+
"sha512": "tZ4nDhivZ0Jcn7JO2k72TMxLpNYA737QonjwPCXyZRhjXBXdILQ4S8Gv6Qz2hdS/jlhKZAcmNi9NMgXZlC5VSw=="
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"@gbl.min.js": {
|
|
36
36
|
"file": "applicationinsights-common.gbl.min.js",
|
|
37
37
|
"type": "text/javascript; charset=utf-8",
|
|
38
|
-
"integrity": "sha256-
|
|
38
|
+
"integrity": "sha256-kejaOZ2/XJlMxjuISjJs/VDA1DSoDP2TNnL5OdItXHA= sha384-/8NvdGlUohb3yg3zEFhKiKeFuUEgB1fY+dpTFO5APClYLOSeK+9UKe7vPG+67Kn5 sha512-E1EDdf9Hwb7q0qCGdayeWqbzypg79NsdJvYTdNMQqviJseJLh+2at4+Y+lH8Ct75vpSZ7UGp1UsuwnBq+Y5F6w==",
|
|
39
39
|
"hashes": {
|
|
40
|
-
"sha256": "
|
|
41
|
-
"sha384": "
|
|
42
|
-
"sha512": "
|
|
40
|
+
"sha256": "kejaOZ2/XJlMxjuISjJs/VDA1DSoDP2TNnL5OdItXHA=",
|
|
41
|
+
"sha384": "/8NvdGlUohb3yg3zEFhKiKeFuUEgB1fY+dpTFO5APClYLOSeK+9UKe7vPG+67Kn5",
|
|
42
|
+
"sha512": "E1EDdf9Hwb7q0qCGdayeWqbzypg79NsdJvYTdNMQqviJseJLh+2at4+Y+lH8Ct75vpSZ7UGp1UsuwnBq+Y5F6w=="
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"@js": {
|
|
46
46
|
"file": "applicationinsights-common.js",
|
|
47
47
|
"type": "text/javascript; charset=utf-8",
|
|
48
|
-
"integrity": "sha256-
|
|
48
|
+
"integrity": "sha256-lzs4KQIdOncIQTMXLuWXwjPJj6ZyW5N9cyY2O21HzMc= sha384-EkaQiY7Q/9DQ/Au8sXHSjahiWHZDNwiQaVbi+br26CfHGQ1sdc8cxerxRHekjRjx sha512-3ocSbrHSLsGuG04ABSBP/uRJb6MM8tDsQO2jZgH6VvfggtEnVGqE2gKj8YMWqQE1tK82VyRYPTApwyLiiBSOBg==",
|
|
49
49
|
"hashes": {
|
|
50
|
-
"sha256": "
|
|
51
|
-
"sha384": "
|
|
52
|
-
"sha512": "
|
|
50
|
+
"sha256": "lzs4KQIdOncIQTMXLuWXwjPJj6ZyW5N9cyY2O21HzMc=",
|
|
51
|
+
"sha384": "EkaQiY7Q/9DQ/Au8sXHSjahiWHZDNwiQaVbi+br26CfHGQ1sdc8cxerxRHekjRjx",
|
|
52
|
+
"sha512": "3ocSbrHSLsGuG04ABSBP/uRJb6MM8tDsQO2jZgH6VvfggtEnVGqE2gKj8YMWqQE1tK82VyRYPTApwyLiiBSOBg=="
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"@min.js": {
|
|
56
56
|
"file": "applicationinsights-common.min.js",
|
|
57
57
|
"type": "text/javascript; charset=utf-8",
|
|
58
|
-
"integrity": "sha256-
|
|
58
|
+
"integrity": "sha256-hdZWXufCmQHUVlX9fwhZelS2uXpo/R/rHYCtpaDZcgw= sha384-YB7wxIRuCmnjPoETSiBcQYEhSrQ6O4eWwNy9BZk5m3g5Ma6ahpf3eBFOMEeDdwbS sha512-rsrYTD2mEaXokp5CU0nu9I/r5aWYI1c5V4XEP6qcUOFPSzAqELYoikcwAY4Ez8eLASGVLiA3c2DEfEeaodrrlw==",
|
|
59
59
|
"hashes": {
|
|
60
|
-
"sha256": "
|
|
61
|
-
"sha384": "
|
|
62
|
-
"sha512": "
|
|
60
|
+
"sha256": "hdZWXufCmQHUVlX9fwhZelS2uXpo/R/rHYCtpaDZcgw=",
|
|
61
|
+
"sha384": "YB7wxIRuCmnjPoETSiBcQYEhSrQ6O4eWwNy9BZk5m3g5Ma6ahpf3eBFOMEeDdwbS",
|
|
62
|
+
"sha512": "rsrYTD2mEaXokp5CU0nu9I/r5aWYI1c5V4XEP6qcUOFPSzAqELYoikcwAY4Ez8eLASGVLiA3c2DEfEeaodrrlw=="
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.3.
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.3.2-nightly3.2408-06
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
typeof exports === "object" && typeof module !== undef ? factory(exports) :
|
|
8
8
|
typeof define === "function" && define.amd ? define(["exports"], factory) :
|
|
9
9
|
(function(global){
|
|
10
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
11
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.3.
|
|
10
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_common_3_3_2_nightly3_2408_06", msMod="__ms$mod__";
|
|
11
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.3.2-nightly3.2408-06";
|
|
12
12
|
var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
|
|
13
13
|
// Versioned namespace "Microsoft.ApplicationInsights3"
|
|
14
14
|
var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
@@ -673,6 +673,7 @@ var _DYN_HANDLER = "handler";
|
|
|
673
673
|
var _DYN_TRACE_ID = "traceId";
|
|
674
674
|
var _DYN_SPAN_ID = "spanId";
|
|
675
675
|
var _DYN_TRACE_FLAGS = "traceFlags";
|
|
676
|
+
var _DYN_GET_ATTRIBUTE = "getAttribute";
|
|
676
677
|
|
|
677
678
|
var aggregationErrorType;
|
|
678
679
|
function throwAggregationError(message, sourceErrors) {
|
|
@@ -1188,7 +1189,7 @@ function newId(maxLength) {
|
|
|
1188
1189
|
return result;
|
|
1189
1190
|
}
|
|
1190
1191
|
|
|
1191
|
-
var version = '3.3.
|
|
1192
|
+
var version = '3.3.2-nightly3.2408-06';
|
|
1192
1193
|
var instanceName = "." + newId(6);
|
|
1193
1194
|
var _dataUid = 0;
|
|
1194
1195
|
function _canAcceptData(target) {
|
|
@@ -2186,6 +2187,34 @@ function findW3cTraceParent(selectIdx) {
|
|
|
2186
2187
|
}
|
|
2187
2188
|
return traceParent;
|
|
2188
2189
|
}
|
|
2190
|
+
function findAllScripts(doc) {
|
|
2191
|
+
var scripts = doc.getElementsByTagName("script");
|
|
2192
|
+
var result = [];
|
|
2193
|
+
arrForEach(scripts, function (script) {
|
|
2194
|
+
var src = script[_DYN_GET_ATTRIBUTE ]("src");
|
|
2195
|
+
if (src) {
|
|
2196
|
+
var crossOrigin = script[_DYN_GET_ATTRIBUTE ]("crossorigin");
|
|
2197
|
+
var async = script.hasAttribute("async") === true;
|
|
2198
|
+
var defer = script.hasAttribute("defer") === true;
|
|
2199
|
+
var referrerPolicy = script[_DYN_GET_ATTRIBUTE ]("referrerpolicy");
|
|
2200
|
+
var info = { url: src };
|
|
2201
|
+
if (crossOrigin) {
|
|
2202
|
+
info.crossOrigin = crossOrigin;
|
|
2203
|
+
}
|
|
2204
|
+
if (async) {
|
|
2205
|
+
info.async = async;
|
|
2206
|
+
}
|
|
2207
|
+
if (defer) {
|
|
2208
|
+
info.defer = defer;
|
|
2209
|
+
}
|
|
2210
|
+
if (referrerPolicy) {
|
|
2211
|
+
info.referrerPolicy = referrerPolicy;
|
|
2212
|
+
}
|
|
2213
|
+
result[_DYN_PUSH$1 ](info);
|
|
2214
|
+
}
|
|
2215
|
+
});
|
|
2216
|
+
return result;
|
|
2217
|
+
}
|
|
2189
2218
|
|
|
2190
2219
|
var strOnPrefix = "on";
|
|
2191
2220
|
var strAttachEvent = "attachEvent";
|
|
@@ -4369,6 +4398,7 @@ exports.dataSanitizeUrl = dataSanitizeUrl;
|
|
|
4369
4398
|
exports.dateTimeUtilsDuration = dateTimeUtilsDuration;
|
|
4370
4399
|
exports.dateTimeUtilsNow = dateTimeUtilsNow;
|
|
4371
4400
|
exports.dsPadNumber = dsPadNumber;
|
|
4401
|
+
exports.findAllScripts = findAllScripts;
|
|
4372
4402
|
exports.findW3cTraceParent = findW3cTraceParent;
|
|
4373
4403
|
exports.formatTraceParent = formatTraceParent;
|
|
4374
4404
|
exports.getExtensionByName = getExtensionByName;
|