@microsoft/applicationinsights-common 3.0.0-beta.2209-01 → 3.0.0-beta.2209-03
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-common.integrity.json +9 -9
- package/browser/applicationinsights-common.js +12 -2
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +2 -2
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +26 -26
- package/dist/applicationinsights-common.d.ts +1 -1
- package/dist/applicationinsights-common.js +12 -2
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +2 -2
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +1 -1
- package/dist-esm/ConnectionStringParser.js +1 -1
- package/dist-esm/Constants.js +1 -1
- package/dist-esm/DomHelperFuncs.js +1 -1
- package/dist-esm/Enums.js +1 -1
- package/dist-esm/HelperFuncs.js +1 -1
- package/dist-esm/Interfaces/ConnectionString.js +1 -1
- package/dist-esm/Interfaces/Context/IApplication.js +1 -1
- package/dist-esm/Interfaces/Context/IDevice.js +1 -1
- package/dist-esm/Interfaces/Context/IInternal.js +1 -1
- package/dist-esm/Interfaces/Context/ILocation.js +1 -1
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-esm/Interfaces/Context/ISample.js +1 -1
- package/dist-esm/Interfaces/Context/ISession.js +1 -1
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-esm/Interfaces/Context/IUser.js +1 -1
- package/dist-esm/Interfaces/Context/IWeb.js +1 -1
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
- package/dist-esm/Interfaces/Contracts/IData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-esm/Interfaces/IAppInsights.js +1 -1
- package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
- package/dist-esm/Interfaces/IConfig.js +1 -1
- package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
- package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPartC.js +1 -1
- package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-esm/Interfaces/IRequestContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-esm/Interfaces/PartAExtensions.js +1 -1
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-esm/RequestResponseHeaders.js +1 -1
- package/dist-esm/StorageHelperFuncs.js +1 -1
- package/dist-esm/Telemetry/Common/Data.js +1 -1
- package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
- package/dist-esm/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-esm/Telemetry/Common/Envelope.js +1 -1
- package/dist-esm/Telemetry/Event.js +1 -1
- package/dist-esm/Telemetry/Exception.js +5 -1
- package/dist-esm/Telemetry/Exception.js.map +1 -1
- package/dist-esm/Telemetry/Metric.js +1 -1
- package/dist-esm/Telemetry/PageView.js +1 -1
- package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
- package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-esm/Telemetry/Trace.js +1 -1
- package/dist-esm/TelemetryItemCreator.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/src/Telemetry/Exception.ts +3 -0
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
4
|
+
"toolVersion": "7.31.1",
|
|
5
5
|
"schemaVersion": 1009,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
{
|
|
229
229
|
"kind": "Reference",
|
|
230
230
|
"text": "IBase",
|
|
231
|
-
"canonicalReference": "@microsoft/applicationinsights-common!
|
|
231
|
+
"canonicalReference": "@microsoft/applicationinsights-common!AIBase:interface"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"kind": "Content",
|
|
@@ -1098,7 +1098,7 @@
|
|
|
1098
1098
|
{
|
|
1099
1099
|
"kind": "Reference",
|
|
1100
1100
|
"text": "IData",
|
|
1101
|
-
"canonicalReference": "@microsoft/applicationinsights-common!
|
|
1101
|
+
"canonicalReference": "@microsoft/applicationinsights-common!AIData:interface"
|
|
1102
1102
|
},
|
|
1103
1103
|
{
|
|
1104
1104
|
"kind": "Content",
|
|
@@ -2536,7 +2536,7 @@
|
|
|
2536
2536
|
{
|
|
2537
2537
|
"kind": "Reference",
|
|
2538
2538
|
"text": "IBase",
|
|
2539
|
-
"canonicalReference": "@microsoft/applicationinsights-common!
|
|
2539
|
+
"canonicalReference": "@microsoft/applicationinsights-common!AIBase:interface"
|
|
2540
2540
|
},
|
|
2541
2541
|
{
|
|
2542
2542
|
"kind": "Content",
|
|
@@ -2622,7 +2622,7 @@
|
|
|
2622
2622
|
{
|
|
2623
2623
|
"kind": "Reference",
|
|
2624
2624
|
"text": "IBase",
|
|
2625
|
-
"canonicalReference": "@microsoft/applicationinsights-common!
|
|
2625
|
+
"canonicalReference": "@microsoft/applicationinsights-common!AIBase:interface"
|
|
2626
2626
|
},
|
|
2627
2627
|
{
|
|
2628
2628
|
"kind": "Content",
|
|
@@ -3189,7 +3189,7 @@
|
|
|
3189
3189
|
{
|
|
3190
3190
|
"kind": "Reference",
|
|
3191
3191
|
"text": "IEventData",
|
|
3192
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
3192
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IEventData:interface"
|
|
3193
3193
|
},
|
|
3194
3194
|
{
|
|
3195
3195
|
"kind": "Content",
|
|
@@ -3553,7 +3553,7 @@
|
|
|
3553
3553
|
{
|
|
3554
3554
|
"kind": "Reference",
|
|
3555
3555
|
"text": "IExceptionData",
|
|
3556
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
3556
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IExceptionData:interface"
|
|
3557
3557
|
},
|
|
3558
3558
|
{
|
|
3559
3559
|
"kind": "Content",
|
|
@@ -4246,7 +4246,7 @@
|
|
|
4246
4246
|
{
|
|
4247
4247
|
"kind": "Reference",
|
|
4248
4248
|
"text": "IExceptionDetails",
|
|
4249
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
4249
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IExceptionDetails:interface"
|
|
4250
4250
|
},
|
|
4251
4251
|
{
|
|
4252
4252
|
"kind": "Content",
|
|
@@ -4284,7 +4284,7 @@
|
|
|
4284
4284
|
{
|
|
4285
4285
|
"kind": "Reference",
|
|
4286
4286
|
"text": "_formatErrorCode",
|
|
4287
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
4287
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~_formatErrorCode:function"
|
|
4288
4288
|
},
|
|
4289
4289
|
{
|
|
4290
4290
|
"kind": "Content",
|
|
@@ -5796,7 +5796,7 @@
|
|
|
5796
5796
|
{
|
|
5797
5797
|
"kind": "Reference",
|
|
5798
5798
|
"text": "IStackDetails",
|
|
5799
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
5799
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IStackDetails:interface"
|
|
5800
5800
|
},
|
|
5801
5801
|
{
|
|
5802
5802
|
"kind": "Content",
|
|
@@ -9746,7 +9746,7 @@
|
|
|
9746
9746
|
{
|
|
9747
9747
|
"kind": "Reference",
|
|
9748
9748
|
"text": "IPartC",
|
|
9749
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
9749
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
9750
9750
|
},
|
|
9751
9751
|
{
|
|
9752
9752
|
"kind": "Content",
|
|
@@ -10474,7 +10474,7 @@
|
|
|
10474
10474
|
{
|
|
10475
10475
|
"kind": "Reference",
|
|
10476
10476
|
"text": "IPartC",
|
|
10477
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
10477
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
10478
10478
|
},
|
|
10479
10479
|
{
|
|
10480
10480
|
"kind": "Content",
|
|
@@ -10559,7 +10559,7 @@
|
|
|
10559
10559
|
{
|
|
10560
10560
|
"kind": "Reference",
|
|
10561
10561
|
"text": "IPartC",
|
|
10562
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
10562
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
10563
10563
|
},
|
|
10564
10564
|
{
|
|
10565
10565
|
"kind": "Content",
|
|
@@ -10582,7 +10582,7 @@
|
|
|
10582
10582
|
{
|
|
10583
10583
|
"kind": "Reference",
|
|
10584
10584
|
"text": "IExceptionDetailsInternal",
|
|
10585
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
10585
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IExceptionDetailsInternal:interface"
|
|
10586
10586
|
},
|
|
10587
10587
|
{
|
|
10588
10588
|
"kind": "Content",
|
|
@@ -10762,7 +10762,7 @@
|
|
|
10762
10762
|
{
|
|
10763
10763
|
"kind": "Reference",
|
|
10764
10764
|
"text": "IPartC",
|
|
10765
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
10765
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
10766
10766
|
},
|
|
10767
10767
|
{
|
|
10768
10768
|
"kind": "Content",
|
|
@@ -11086,7 +11086,7 @@
|
|
|
11086
11086
|
{
|
|
11087
11087
|
"kind": "Reference",
|
|
11088
11088
|
"text": "IPartC",
|
|
11089
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
11089
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
11090
11090
|
},
|
|
11091
11091
|
{
|
|
11092
11092
|
"kind": "Content",
|
|
@@ -11350,7 +11350,7 @@
|
|
|
11350
11350
|
{
|
|
11351
11351
|
"kind": "Reference",
|
|
11352
11352
|
"text": "IEventData",
|
|
11353
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
11353
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IEventData:interface"
|
|
11354
11354
|
},
|
|
11355
11355
|
{
|
|
11356
11356
|
"kind": "Content",
|
|
@@ -11462,7 +11462,7 @@
|
|
|
11462
11462
|
{
|
|
11463
11463
|
"kind": "Reference",
|
|
11464
11464
|
"text": "IPartC",
|
|
11465
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
11465
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
11466
11466
|
},
|
|
11467
11467
|
{
|
|
11468
11468
|
"kind": "Content",
|
|
@@ -11848,7 +11848,7 @@
|
|
|
11848
11848
|
{
|
|
11849
11849
|
"kind": "Reference",
|
|
11850
11850
|
"text": "IPartC",
|
|
11851
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
11851
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
11852
11852
|
},
|
|
11853
11853
|
{
|
|
11854
11854
|
"kind": "Content",
|
|
@@ -13481,7 +13481,7 @@
|
|
|
13481
13481
|
{
|
|
13482
13482
|
"kind": "Reference",
|
|
13483
13483
|
"text": "IPartC",
|
|
13484
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
13484
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPartC:interface"
|
|
13485
13485
|
},
|
|
13486
13486
|
{
|
|
13487
13487
|
"kind": "Content",
|
|
@@ -14214,7 +14214,7 @@
|
|
|
14214
14214
|
{
|
|
14215
14215
|
"kind": "Reference",
|
|
14216
14216
|
"text": "IMetricData",
|
|
14217
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
14217
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IMetricData:interface"
|
|
14218
14218
|
},
|
|
14219
14219
|
{
|
|
14220
14220
|
"kind": "Content",
|
|
@@ -14550,7 +14550,7 @@
|
|
|
14550
14550
|
{
|
|
14551
14551
|
"kind": "Reference",
|
|
14552
14552
|
"text": "DataPoint",
|
|
14553
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
14553
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~DataPoint:class"
|
|
14554
14554
|
},
|
|
14555
14555
|
{
|
|
14556
14556
|
"kind": "Content",
|
|
@@ -15224,7 +15224,7 @@
|
|
|
15224
15224
|
{
|
|
15225
15225
|
"kind": "Reference",
|
|
15226
15226
|
"text": "IPageViewPerfData",
|
|
15227
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
15227
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IPageViewPerfData:interface"
|
|
15228
15228
|
},
|
|
15229
15229
|
{
|
|
15230
15230
|
"kind": "Content",
|
|
@@ -15940,7 +15940,7 @@
|
|
|
15940
15940
|
{
|
|
15941
15941
|
"kind": "Reference",
|
|
15942
15942
|
"text": "ConnectionString",
|
|
15943
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
15943
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~ConnectionString:type"
|
|
15944
15944
|
},
|
|
15945
15945
|
{
|
|
15946
15946
|
"kind": "Content",
|
|
@@ -16029,7 +16029,7 @@
|
|
|
16029
16029
|
{
|
|
16030
16030
|
"kind": "Reference",
|
|
16031
16031
|
"text": "IRemoteDependencyData",
|
|
16032
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
16032
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IRemoteDependencyData:interface"
|
|
16033
16033
|
},
|
|
16034
16034
|
{
|
|
16035
16035
|
"kind": "Content",
|
|
@@ -17139,7 +17139,7 @@
|
|
|
17139
17139
|
{
|
|
17140
17140
|
"kind": "Reference",
|
|
17141
17141
|
"text": "IMessageData",
|
|
17142
|
-
"canonicalReference": "@microsoft/applicationinsights-common
|
|
17142
|
+
"canonicalReference": "@microsoft/applicationinsights-common!~IMessageData:interface"
|
|
17143
17143
|
},
|
|
17144
17144
|
{
|
|
17145
17145
|
"kind": "Content",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2209-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2209-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.0.0-beta.2209-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.0.0-beta.2209-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -118,14 +118,21 @@
|
|
|
118
118
|
return _hasNavigator ? navigator : getInst(NAVIGATOR);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
var objGetOwnPropertyDescriptor = ObjClass$1.getOwnPropertyDescriptor;
|
|
122
|
+
|
|
121
123
|
function objHasOwnProperty(obj, prop) {
|
|
122
124
|
return obj && ObjProto$1[HAS_OWN_PROPERTY].call(obj, prop);
|
|
123
125
|
}
|
|
124
126
|
|
|
127
|
+
var objHasOwn = ObjClass$1["hasOwn"] || polyObjHasOwn;
|
|
128
|
+
function polyObjHasOwn(obj, prop) {
|
|
129
|
+
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
130
|
+
}
|
|
131
|
+
|
|
125
132
|
function objForEachKey(theObject, callbackfn, thisArg) {
|
|
126
133
|
if (theObject && isObject(theObject)) {
|
|
127
134
|
for (var prop in theObject) {
|
|
128
|
-
if (
|
|
135
|
+
if (objHasOwn(theObject, prop)) {
|
|
129
136
|
if (callbackfn.call(thisArg || theObject, prop, theObject[prop]) === -1) {
|
|
130
137
|
break;
|
|
131
138
|
}
|
|
@@ -1728,6 +1735,9 @@
|
|
|
1728
1735
|
else if (window && window["opera"] && errorObj[strMessage]) {
|
|
1729
1736
|
details = _getOperaStack(errorObj[_DYN_MESSAGE ]);
|
|
1730
1737
|
}
|
|
1738
|
+
else if (errorObj["reason"] && errorObj.reason[strStack]) {
|
|
1739
|
+
details = _convertStackObj(errorObj.reason[strStack]);
|
|
1740
|
+
}
|
|
1731
1741
|
else if (isString(errorObj)) {
|
|
1732
1742
|
details = _convertStackObj(errorObj);
|
|
1733
1743
|
}
|