@microsoft/applicationinsights-dependencies-js 2.7.5-nightly.2203-03 → 2.7.5

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.19.5",
5
- "schemaVersion": 1004,
4
+ "toolVersion": "7.23.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",
@@ -156,7 +156,8 @@
156
156
  "@betaDocumentation": true,
157
157
  "@internalRemarks": true,
158
158
  "@preapproved": true
159
- }
159
+ },
160
+ "reportUnsupportedHtmlElements": false
160
161
  }
161
162
  },
162
163
  "kind": "Package",
@@ -413,28 +414,32 @@
413
414
  "parameterTypeTokenRange": {
414
415
  "startIndex": 1,
415
416
  "endIndex": 2
416
- }
417
+ },
418
+ "isOptional": false
417
419
  },
418
420
  {
419
421
  "parameterName": "input",
420
422
  "parameterTypeTokenRange": {
421
423
  "startIndex": 3,
422
424
  "endIndex": 5
423
- }
425
+ },
426
+ "isOptional": true
424
427
  },
425
428
  {
426
429
  "parameterName": "init",
427
430
  "parameterTypeTokenRange": {
428
431
  "startIndex": 6,
429
432
  "endIndex": 7
430
- }
433
+ },
434
+ "isOptional": true
431
435
  },
432
436
  {
433
437
  "parameterName": "xhr",
434
438
  "parameterTypeTokenRange": {
435
439
  "startIndex": 8,
436
440
  "endIndex": 9
437
- }
441
+ },
442
+ "isOptional": true
438
443
  }
439
444
  ],
440
445
  "name": "includeCorrelationHeaders"
@@ -520,28 +525,32 @@
520
525
  "parameterTypeTokenRange": {
521
526
  "startIndex": 1,
522
527
  "endIndex": 4
523
- }
528
+ },
529
+ "isOptional": false
524
530
  },
525
531
  {
526
532
  "parameterName": "core",
527
533
  "parameterTypeTokenRange": {
528
534
  "startIndex": 5,
529
535
  "endIndex": 6
530
- }
536
+ },
537
+ "isOptional": false
531
538
  },
532
539
  {
533
540
  "parameterName": "extensions",
534
541
  "parameterTypeTokenRange": {
535
542
  "startIndex": 7,
536
543
  "endIndex": 9
537
- }
544
+ },
545
+ "isOptional": false
538
546
  },
539
547
  {
540
548
  "parameterName": "pluginChain",
541
549
  "parameterTypeTokenRange": {
542
550
  "startIndex": 10,
543
551
  "endIndex": 11
544
- }
552
+ },
553
+ "isOptional": true
545
554
  }
546
555
  ],
547
556
  "name": "initialize"
@@ -623,18 +632,49 @@
623
632
  "parameterTypeTokenRange": {
624
633
  "startIndex": 1,
625
634
  "endIndex": 2
626
- }
635
+ },
636
+ "isOptional": false
627
637
  },
628
638
  {
629
639
  "parameterName": "itemCtx",
630
640
  "parameterTypeTokenRange": {
631
641
  "startIndex": 3,
632
642
  "endIndex": 4
633
- }
643
+ },
644
+ "isOptional": true
634
645
  }
635
646
  ],
636
647
  "name": "processTelemetry"
637
648
  },
649
+ {
650
+ "kind": "Method",
651
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#teardown:member(1)",
652
+ "docComment": "",
653
+ "excerptTokens": [
654
+ {
655
+ "kind": "Content",
656
+ "text": "teardown(): "
657
+ },
658
+ {
659
+ "kind": "Content",
660
+ "text": "void"
661
+ },
662
+ {
663
+ "kind": "Content",
664
+ "text": ";"
665
+ }
666
+ ],
667
+ "isOptional": false,
668
+ "isStatic": false,
669
+ "returnTypeTokenRange": {
670
+ "startIndex": 1,
671
+ "endIndex": 2
672
+ },
673
+ "releaseTag": "Public",
674
+ "overloadIndex": 1,
675
+ "parameters": [],
676
+ "name": "teardown"
677
+ },
638
678
  {
639
679
  "kind": "Method",
640
680
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#trackDependencyData:member(1)",
@@ -684,14 +724,16 @@
684
724
  "parameterTypeTokenRange": {
685
725
  "startIndex": 1,
686
726
  "endIndex": 2
687
- }
727
+ },
728
+ "isOptional": false
688
729
  },
689
730
  {
690
731
  "parameterName": "properties",
691
732
  "parameterTypeTokenRange": {
692
733
  "startIndex": 3,
693
734
  "endIndex": 4
694
- }
735
+ },
736
+ "isOptional": true
695
737
  }
696
738
  ],
697
739
  "name": "trackDependencyData"
@@ -753,21 +795,24 @@
753
795
  "parameterTypeTokenRange": {
754
796
  "startIndex": 1,
755
797
  "endIndex": 2
756
- }
798
+ },
799
+ "isOptional": false
757
800
  },
758
801
  {
759
802
  "parameterName": "properties",
760
803
  "parameterTypeTokenRange": {
761
804
  "startIndex": 3,
762
805
  "endIndex": 4
763
- }
806
+ },
807
+ "isOptional": true
764
808
  },
765
809
  {
766
810
  "parameterName": "systemProperties",
767
811
  "parameterTypeTokenRange": {
768
812
  "startIndex": 5,
769
813
  "endIndex": 6
770
- }
814
+ },
815
+ "isOptional": true
771
816
  }
772
817
  ],
773
818
  "name": "trackDependencyDataInternal"
@@ -775,7 +820,7 @@
775
820
  ],
776
821
  "extendsTokenRange": {
777
822
  "startIndex": 1,
778
- "endIndex": 3
823
+ "endIndex": 2
779
824
  },
780
825
  "implementsTokenRanges": [
781
826
  {
@@ -784,7 +829,7 @@
784
829
  },
785
830
  {
786
831
  "startIndex": 6,
787
- "endIndex": 8
832
+ "endIndex": 7
788
833
  }
789
834
  ]
790
835
  },
@@ -844,21 +889,24 @@
844
889
  "parameterTypeTokenRange": {
845
890
  "startIndex": 1,
846
891
  "endIndex": 2
847
- }
892
+ },
893
+ "isOptional": false
848
894
  },
849
895
  {
850
896
  "parameterName": "spanID",
851
897
  "parameterTypeTokenRange": {
852
898
  "startIndex": 3,
853
899
  "endIndex": 4
854
- }
900
+ },
901
+ "isOptional": false
855
902
  },
856
903
  {
857
904
  "parameterName": "logger",
858
905
  "parameterTypeTokenRange": {
859
906
  "startIndex": 5,
860
907
  "endIndex": 6
861
- }
908
+ },
909
+ "isOptional": false
862
910
  }
863
911
  ]
864
912
  },
@@ -1113,21 +1161,24 @@
1113
1161
  "parameterTypeTokenRange": {
1114
1162
  "startIndex": 1,
1115
1163
  "endIndex": 2
1116
- }
1164
+ },
1165
+ "isOptional": false
1117
1166
  },
1118
1167
  {
1119
1168
  "parameterName": "enableRequestHeaderTracking",
1120
1169
  "parameterTypeTokenRange": {
1121
1170
  "startIndex": 3,
1122
1171
  "endIndex": 4
1123
- }
1172
+ },
1173
+ "isOptional": false
1124
1174
  },
1125
1175
  {
1126
1176
  "parameterName": "getResponse",
1127
1177
  "parameterTypeTokenRange": {
1128
1178
  "startIndex": 5,
1129
1179
  "endIndex": 7
1130
- }
1180
+ },
1181
+ "isOptional": false
1131
1182
  }
1132
1183
  ],
1133
1184
  "name": "CreateTrackItem"
@@ -1762,7 +1813,8 @@
1762
1813
  "parameterTypeTokenRange": {
1763
1814
  "startIndex": 1,
1764
1815
  "endIndex": 2
1765
- }
1816
+ },
1817
+ "isOptional": false
1766
1818
  }
1767
1819
  ],
1768
1820
  "name": "trackDependencyData"
@@ -1858,7 +1910,7 @@
1858
1910
  "extendsTokenRanges": [
1859
1911
  {
1860
1912
  "startIndex": 1,
1861
- "endIndex": 3
1913
+ "endIndex": 2
1862
1914
  }
1863
1915
  ]
1864
1916
  },
@@ -1915,7 +1967,7 @@
1915
1967
  "extendsTokenRanges": [
1916
1968
  {
1917
1969
  "startIndex": 1,
1918
- "endIndex": 3
1970
+ "endIndex": 2
1919
1971
  }
1920
1972
  ]
1921
1973
  }
@@ -35,6 +35,8 @@ 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;
38
40
  trackDependencyData(dependency: IDependencyTelemetry, properties?: {
39
41
  [key: string]: any;
40
42
  }): void;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 2.7.5-nightly.2203-03
2
+ * Microsoft Application Insights XHR dependencies plugin, 2.7.5
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -27,6 +27,7 @@ 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;
30
31
  processTelemetry(item: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
31
32
  /**
32
33
  * Logs dependency call