@microsoft/applicationinsights-dependencies-js 2.8.0-beta.2203-15 → 2.8.0-nightly.2204-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-dependencies-js.integrity.json +9 -9
- package/browser/applicationinsights-dependencies-js.js +18 -29
- package/browser/applicationinsights-dependencies-js.js.map +1 -1
- package/browser/applicationinsights-dependencies-js.min.js +2 -2
- package/browser/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.api.json +46 -24
- package/dist/applicationinsights-dependencies-js.d.ts +1 -1
- package/dist/applicationinsights-dependencies-js.js +18 -29
- package/dist/applicationinsights-dependencies-js.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.min.js +2 -2
- package/dist/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.rollup.d.ts +1 -1
- package/dist-esm/TraceParent.js +1 -1
- package/dist-esm/ajax.js +1 -1
- package/dist-esm/ajaxRecord.js +1 -1
- package/dist-esm/ajaxUtils.js +1 -1
- package/dist-esm/applicationinsights-dependencies-js.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
4
|
+
"toolVersion": "7.20.0",
|
|
5
|
+
"schemaVersion": 1005,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
8
8
|
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
@@ -413,28 +413,32 @@
|
|
|
413
413
|
"parameterTypeTokenRange": {
|
|
414
414
|
"startIndex": 1,
|
|
415
415
|
"endIndex": 2
|
|
416
|
-
}
|
|
416
|
+
},
|
|
417
|
+
"isOptional": false
|
|
417
418
|
},
|
|
418
419
|
{
|
|
419
420
|
"parameterName": "input",
|
|
420
421
|
"parameterTypeTokenRange": {
|
|
421
422
|
"startIndex": 3,
|
|
422
423
|
"endIndex": 5
|
|
423
|
-
}
|
|
424
|
+
},
|
|
425
|
+
"isOptional": true
|
|
424
426
|
},
|
|
425
427
|
{
|
|
426
428
|
"parameterName": "init",
|
|
427
429
|
"parameterTypeTokenRange": {
|
|
428
430
|
"startIndex": 6,
|
|
429
431
|
"endIndex": 7
|
|
430
|
-
}
|
|
432
|
+
},
|
|
433
|
+
"isOptional": true
|
|
431
434
|
},
|
|
432
435
|
{
|
|
433
436
|
"parameterName": "xhr",
|
|
434
437
|
"parameterTypeTokenRange": {
|
|
435
438
|
"startIndex": 8,
|
|
436
439
|
"endIndex": 9
|
|
437
|
-
}
|
|
440
|
+
},
|
|
441
|
+
"isOptional": true
|
|
438
442
|
}
|
|
439
443
|
],
|
|
440
444
|
"name": "includeCorrelationHeaders"
|
|
@@ -520,28 +524,32 @@
|
|
|
520
524
|
"parameterTypeTokenRange": {
|
|
521
525
|
"startIndex": 1,
|
|
522
526
|
"endIndex": 4
|
|
523
|
-
}
|
|
527
|
+
},
|
|
528
|
+
"isOptional": false
|
|
524
529
|
},
|
|
525
530
|
{
|
|
526
531
|
"parameterName": "core",
|
|
527
532
|
"parameterTypeTokenRange": {
|
|
528
533
|
"startIndex": 5,
|
|
529
534
|
"endIndex": 6
|
|
530
|
-
}
|
|
535
|
+
},
|
|
536
|
+
"isOptional": false
|
|
531
537
|
},
|
|
532
538
|
{
|
|
533
539
|
"parameterName": "extensions",
|
|
534
540
|
"parameterTypeTokenRange": {
|
|
535
541
|
"startIndex": 7,
|
|
536
542
|
"endIndex": 9
|
|
537
|
-
}
|
|
543
|
+
},
|
|
544
|
+
"isOptional": false
|
|
538
545
|
},
|
|
539
546
|
{
|
|
540
547
|
"parameterName": "pluginChain",
|
|
541
548
|
"parameterTypeTokenRange": {
|
|
542
549
|
"startIndex": 10,
|
|
543
550
|
"endIndex": 11
|
|
544
|
-
}
|
|
551
|
+
},
|
|
552
|
+
"isOptional": true
|
|
545
553
|
}
|
|
546
554
|
],
|
|
547
555
|
"name": "initialize"
|
|
@@ -623,14 +631,16 @@
|
|
|
623
631
|
"parameterTypeTokenRange": {
|
|
624
632
|
"startIndex": 1,
|
|
625
633
|
"endIndex": 2
|
|
626
|
-
}
|
|
634
|
+
},
|
|
635
|
+
"isOptional": false
|
|
627
636
|
},
|
|
628
637
|
{
|
|
629
638
|
"parameterName": "itemCtx",
|
|
630
639
|
"parameterTypeTokenRange": {
|
|
631
640
|
"startIndex": 3,
|
|
632
641
|
"endIndex": 4
|
|
633
|
-
}
|
|
642
|
+
},
|
|
643
|
+
"isOptional": true
|
|
634
644
|
}
|
|
635
645
|
],
|
|
636
646
|
"name": "processTelemetry"
|
|
@@ -684,14 +694,16 @@
|
|
|
684
694
|
"parameterTypeTokenRange": {
|
|
685
695
|
"startIndex": 1,
|
|
686
696
|
"endIndex": 2
|
|
687
|
-
}
|
|
697
|
+
},
|
|
698
|
+
"isOptional": false
|
|
688
699
|
},
|
|
689
700
|
{
|
|
690
701
|
"parameterName": "properties",
|
|
691
702
|
"parameterTypeTokenRange": {
|
|
692
703
|
"startIndex": 3,
|
|
693
704
|
"endIndex": 4
|
|
694
|
-
}
|
|
705
|
+
},
|
|
706
|
+
"isOptional": true
|
|
695
707
|
}
|
|
696
708
|
],
|
|
697
709
|
"name": "trackDependencyData"
|
|
@@ -753,21 +765,24 @@
|
|
|
753
765
|
"parameterTypeTokenRange": {
|
|
754
766
|
"startIndex": 1,
|
|
755
767
|
"endIndex": 2
|
|
756
|
-
}
|
|
768
|
+
},
|
|
769
|
+
"isOptional": false
|
|
757
770
|
},
|
|
758
771
|
{
|
|
759
772
|
"parameterName": "properties",
|
|
760
773
|
"parameterTypeTokenRange": {
|
|
761
774
|
"startIndex": 3,
|
|
762
775
|
"endIndex": 4
|
|
763
|
-
}
|
|
776
|
+
},
|
|
777
|
+
"isOptional": true
|
|
764
778
|
},
|
|
765
779
|
{
|
|
766
780
|
"parameterName": "systemProperties",
|
|
767
781
|
"parameterTypeTokenRange": {
|
|
768
782
|
"startIndex": 5,
|
|
769
783
|
"endIndex": 6
|
|
770
|
-
}
|
|
784
|
+
},
|
|
785
|
+
"isOptional": true
|
|
771
786
|
}
|
|
772
787
|
],
|
|
773
788
|
"name": "trackDependencyDataInternal"
|
|
@@ -844,21 +859,24 @@
|
|
|
844
859
|
"parameterTypeTokenRange": {
|
|
845
860
|
"startIndex": 1,
|
|
846
861
|
"endIndex": 2
|
|
847
|
-
}
|
|
862
|
+
},
|
|
863
|
+
"isOptional": false
|
|
848
864
|
},
|
|
849
865
|
{
|
|
850
866
|
"parameterName": "spanID",
|
|
851
867
|
"parameterTypeTokenRange": {
|
|
852
868
|
"startIndex": 3,
|
|
853
869
|
"endIndex": 4
|
|
854
|
-
}
|
|
870
|
+
},
|
|
871
|
+
"isOptional": false
|
|
855
872
|
},
|
|
856
873
|
{
|
|
857
874
|
"parameterName": "logger",
|
|
858
875
|
"parameterTypeTokenRange": {
|
|
859
876
|
"startIndex": 5,
|
|
860
877
|
"endIndex": 6
|
|
861
|
-
}
|
|
878
|
+
},
|
|
879
|
+
"isOptional": false
|
|
862
880
|
}
|
|
863
881
|
]
|
|
864
882
|
},
|
|
@@ -1113,21 +1131,24 @@
|
|
|
1113
1131
|
"parameterTypeTokenRange": {
|
|
1114
1132
|
"startIndex": 1,
|
|
1115
1133
|
"endIndex": 2
|
|
1116
|
-
}
|
|
1134
|
+
},
|
|
1135
|
+
"isOptional": false
|
|
1117
1136
|
},
|
|
1118
1137
|
{
|
|
1119
1138
|
"parameterName": "enableRequestHeaderTracking",
|
|
1120
1139
|
"parameterTypeTokenRange": {
|
|
1121
1140
|
"startIndex": 3,
|
|
1122
1141
|
"endIndex": 4
|
|
1123
|
-
}
|
|
1142
|
+
},
|
|
1143
|
+
"isOptional": false
|
|
1124
1144
|
},
|
|
1125
1145
|
{
|
|
1126
1146
|
"parameterName": "getResponse",
|
|
1127
1147
|
"parameterTypeTokenRange": {
|
|
1128
1148
|
"startIndex": 5,
|
|
1129
1149
|
"endIndex": 7
|
|
1130
|
-
}
|
|
1150
|
+
},
|
|
1151
|
+
"isOptional": false
|
|
1131
1152
|
}
|
|
1132
1153
|
],
|
|
1133
1154
|
"name": "CreateTrackItem"
|
|
@@ -1762,7 +1783,8 @@
|
|
|
1762
1783
|
"parameterTypeTokenRange": {
|
|
1763
1784
|
"startIndex": 1,
|
|
1764
1785
|
"endIndex": 2
|
|
1765
|
-
}
|
|
1786
|
+
},
|
|
1787
|
+
"isOptional": false
|
|
1766
1788
|
}
|
|
1767
1789
|
],
|
|
1768
1790
|
"name": "trackDependencyData"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights XHR dependencies plugin, 2.8.0-
|
|
2
|
+
* Microsoft Application Insights XHR dependencies plugin, 2.8.0-nightly.2204-04
|
|
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 - Dependencies Plugin, 2.8.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 2.8.0-nightly.2204-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1142,7 +1142,7 @@
|
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
1144
|
var _objDefineProperty = ObjDefineProperty;
|
|
1145
|
-
var version = "2.8.0-
|
|
1145
|
+
var version = "2.8.0-nightly.2204-04";
|
|
1146
1146
|
var instanceName = "." + newId(6);
|
|
1147
1147
|
var _dataUid = 0;
|
|
1148
1148
|
function _createAccessor(target, prop, value) {
|
|
@@ -2402,22 +2402,10 @@
|
|
|
2402
2402
|
return result;
|
|
2403
2403
|
}
|
|
2404
2404
|
|
|
2405
|
-
var RemoteDependencyData
|
|
2406
|
-
function RemoteDependencyData() {
|
|
2407
|
-
this.ver = 2;
|
|
2408
|
-
this.success = true;
|
|
2409
|
-
this.properties = {};
|
|
2410
|
-
this.measurements = {};
|
|
2411
|
-
}
|
|
2412
|
-
return RemoteDependencyData;
|
|
2413
|
-
}());
|
|
2414
|
-
|
|
2415
|
-
var RemoteDependencyData = /** @class */ (function (_super) {
|
|
2416
|
-
__extendsFn(RemoteDependencyData, _super);
|
|
2405
|
+
var RemoteDependencyData = /** @class */ (function () {
|
|
2417
2406
|
function RemoteDependencyData(logger, id, absoluteUrl, commandName, value, success, resultCode, method, requestAPI, correlationContext, properties, measurements) {
|
|
2418
2407
|
if (requestAPI === void 0) { requestAPI = "Ajax"; }
|
|
2419
|
-
|
|
2420
|
-
_this.aiDataContract = {
|
|
2408
|
+
this.aiDataContract = {
|
|
2421
2409
|
id: 1 ,
|
|
2422
2410
|
ver: 1 ,
|
|
2423
2411
|
name: 0 ,
|
|
@@ -2440,26 +2428,27 @@
|
|
|
2440
2428
|
commandName: 0 ,
|
|
2441
2429
|
dependencyTypeName: 0
|
|
2442
2430
|
};
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2431
|
+
var _self = this;
|
|
2432
|
+
_self.ver = 2;
|
|
2433
|
+
_self.id = id;
|
|
2434
|
+
_self.duration = msToTimeSpan(value);
|
|
2435
|
+
_self.success = success;
|
|
2436
|
+
_self.resultCode = resultCode + "";
|
|
2437
|
+
_self.type = dataSanitizeString(logger, requestAPI);
|
|
2448
2438
|
var dependencyFields = AjaxHelperParseDependencyPath(logger, absoluteUrl, method, commandName);
|
|
2449
|
-
|
|
2450
|
-
|
|
2439
|
+
_self.data = dataSanitizeUrl(logger, commandName) || dependencyFields.data;
|
|
2440
|
+
_self.target = dataSanitizeString(logger, dependencyFields.target);
|
|
2451
2441
|
if (correlationContext) {
|
|
2452
|
-
|
|
2442
|
+
_self.target = "".concat(_self.target, " | ").concat(correlationContext);
|
|
2453
2443
|
}
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
return _this;
|
|
2444
|
+
_self.name = dataSanitizeString(logger, dependencyFields.name);
|
|
2445
|
+
_self.properties = dataSanitizeProperties(logger, properties);
|
|
2446
|
+
_self.measurements = dataSanitizeMeasurements(logger, measurements);
|
|
2458
2447
|
}
|
|
2459
2448
|
RemoteDependencyData.envelopeType = "Microsoft.ApplicationInsights.{0}.RemoteDependency";
|
|
2460
2449
|
RemoteDependencyData.dataType = "RemoteDependencyData";
|
|
2461
2450
|
return RemoteDependencyData;
|
|
2462
|
-
}(
|
|
2451
|
+
}());
|
|
2463
2452
|
|
|
2464
2453
|
var TelemetryItemCreator = /** @class */ (function () {
|
|
2465
2454
|
function TelemetryItemCreator() {
|