@microsoft/applicationinsights-dependencies-js 2.8.0-nightly.2202-06 → 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 +1099 -509
- 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 -53
- package/dist/applicationinsights-dependencies-js.api.md +0 -2
- package/dist/applicationinsights-dependencies-js.d.ts +1 -2
- package/dist/applicationinsights-dependencies-js.js +1099 -509
- 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 -2
- package/dist-esm/TraceParent.js +1 -1
- package/dist-esm/ajax.js +164 -131
- package/dist-esm/ajax.js.map +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/src/ajax.ts +192 -148
- package/src/ajaxRecord.ts +1 -1
- package/types/ajax.d.ts +0 -1
- 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,47 +631,20 @@
|
|
|
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"
|
|
637
647
|
},
|
|
638
|
-
{
|
|
639
|
-
"kind": "Method",
|
|
640
|
-
"canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#teardown:member(1)",
|
|
641
|
-
"docComment": "",
|
|
642
|
-
"excerptTokens": [
|
|
643
|
-
{
|
|
644
|
-
"kind": "Content",
|
|
645
|
-
"text": "teardown(): "
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"kind": "Content",
|
|
649
|
-
"text": "void"
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
"kind": "Content",
|
|
653
|
-
"text": ";"
|
|
654
|
-
}
|
|
655
|
-
],
|
|
656
|
-
"isOptional": false,
|
|
657
|
-
"isStatic": false,
|
|
658
|
-
"returnTypeTokenRange": {
|
|
659
|
-
"startIndex": 1,
|
|
660
|
-
"endIndex": 2
|
|
661
|
-
},
|
|
662
|
-
"releaseTag": "Public",
|
|
663
|
-
"overloadIndex": 1,
|
|
664
|
-
"parameters": [],
|
|
665
|
-
"name": "teardown"
|
|
666
|
-
},
|
|
667
648
|
{
|
|
668
649
|
"kind": "Method",
|
|
669
650
|
"canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#trackDependencyData:member(1)",
|
|
@@ -713,14 +694,16 @@
|
|
|
713
694
|
"parameterTypeTokenRange": {
|
|
714
695
|
"startIndex": 1,
|
|
715
696
|
"endIndex": 2
|
|
716
|
-
}
|
|
697
|
+
},
|
|
698
|
+
"isOptional": false
|
|
717
699
|
},
|
|
718
700
|
{
|
|
719
701
|
"parameterName": "properties",
|
|
720
702
|
"parameterTypeTokenRange": {
|
|
721
703
|
"startIndex": 3,
|
|
722
704
|
"endIndex": 4
|
|
723
|
-
}
|
|
705
|
+
},
|
|
706
|
+
"isOptional": true
|
|
724
707
|
}
|
|
725
708
|
],
|
|
726
709
|
"name": "trackDependencyData"
|
|
@@ -782,21 +765,24 @@
|
|
|
782
765
|
"parameterTypeTokenRange": {
|
|
783
766
|
"startIndex": 1,
|
|
784
767
|
"endIndex": 2
|
|
785
|
-
}
|
|
768
|
+
},
|
|
769
|
+
"isOptional": false
|
|
786
770
|
},
|
|
787
771
|
{
|
|
788
772
|
"parameterName": "properties",
|
|
789
773
|
"parameterTypeTokenRange": {
|
|
790
774
|
"startIndex": 3,
|
|
791
775
|
"endIndex": 4
|
|
792
|
-
}
|
|
776
|
+
},
|
|
777
|
+
"isOptional": true
|
|
793
778
|
},
|
|
794
779
|
{
|
|
795
780
|
"parameterName": "systemProperties",
|
|
796
781
|
"parameterTypeTokenRange": {
|
|
797
782
|
"startIndex": 5,
|
|
798
783
|
"endIndex": 6
|
|
799
|
-
}
|
|
784
|
+
},
|
|
785
|
+
"isOptional": true
|
|
800
786
|
}
|
|
801
787
|
],
|
|
802
788
|
"name": "trackDependencyDataInternal"
|
|
@@ -873,21 +859,24 @@
|
|
|
873
859
|
"parameterTypeTokenRange": {
|
|
874
860
|
"startIndex": 1,
|
|
875
861
|
"endIndex": 2
|
|
876
|
-
}
|
|
862
|
+
},
|
|
863
|
+
"isOptional": false
|
|
877
864
|
},
|
|
878
865
|
{
|
|
879
866
|
"parameterName": "spanID",
|
|
880
867
|
"parameterTypeTokenRange": {
|
|
881
868
|
"startIndex": 3,
|
|
882
869
|
"endIndex": 4
|
|
883
|
-
}
|
|
870
|
+
},
|
|
871
|
+
"isOptional": false
|
|
884
872
|
},
|
|
885
873
|
{
|
|
886
874
|
"parameterName": "logger",
|
|
887
875
|
"parameterTypeTokenRange": {
|
|
888
876
|
"startIndex": 5,
|
|
889
877
|
"endIndex": 6
|
|
890
|
-
}
|
|
878
|
+
},
|
|
879
|
+
"isOptional": false
|
|
891
880
|
}
|
|
892
881
|
]
|
|
893
882
|
},
|
|
@@ -1142,21 +1131,24 @@
|
|
|
1142
1131
|
"parameterTypeTokenRange": {
|
|
1143
1132
|
"startIndex": 1,
|
|
1144
1133
|
"endIndex": 2
|
|
1145
|
-
}
|
|
1134
|
+
},
|
|
1135
|
+
"isOptional": false
|
|
1146
1136
|
},
|
|
1147
1137
|
{
|
|
1148
1138
|
"parameterName": "enableRequestHeaderTracking",
|
|
1149
1139
|
"parameterTypeTokenRange": {
|
|
1150
1140
|
"startIndex": 3,
|
|
1151
1141
|
"endIndex": 4
|
|
1152
|
-
}
|
|
1142
|
+
},
|
|
1143
|
+
"isOptional": false
|
|
1153
1144
|
},
|
|
1154
1145
|
{
|
|
1155
1146
|
"parameterName": "getResponse",
|
|
1156
1147
|
"parameterTypeTokenRange": {
|
|
1157
1148
|
"startIndex": 5,
|
|
1158
1149
|
"endIndex": 7
|
|
1159
|
-
}
|
|
1150
|
+
},
|
|
1151
|
+
"isOptional": false
|
|
1160
1152
|
}
|
|
1161
1153
|
],
|
|
1162
1154
|
"name": "CreateTrackItem"
|
|
@@ -1791,7 +1783,8 @@
|
|
|
1791
1783
|
"parameterTypeTokenRange": {
|
|
1792
1784
|
"startIndex": 1,
|
|
1793
1785
|
"endIndex": 2
|
|
1794
|
-
}
|
|
1786
|
+
},
|
|
1787
|
+
"isOptional": false
|
|
1795
1788
|
}
|
|
1796
1789
|
],
|
|
1797
1790
|
"name": "trackDependencyData"
|
|
@@ -35,8 +35,6 @@ export class AjaxPlugin extends BaseTelemetryPlugin implements IDependenciesPlug
|
|
|
35
35
|
priority: number;
|
|
36
36
|
// (undocumented)
|
|
37
37
|
processTelemetry(item: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
38
|
-
// (undocumented)
|
|
39
|
-
teardown(): void;
|
|
40
38
|
trackDependencyData(dependency: IDependencyTelemetry, properties?: {
|
|
41
39
|
[key: string]: any;
|
|
42
40
|
}): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights XHR dependencies plugin, 2.8.0-nightly.
|
|
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
|
|
@@ -27,7 +27,6 @@ declare namespace ApplicationInsights {
|
|
|
27
27
|
priority: number;
|
|
28
28
|
constructor();
|
|
29
29
|
initialize(config: IConfiguration & IConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
|
|
30
|
-
teardown(): void;
|
|
31
30
|
processTelemetry(item: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
32
31
|
/**
|
|
33
32
|
* Logs dependency call
|