@microsoft/applicationinsights-web 2.8.0-beta.2203-03 → 2.8.0-beta.2203-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.
Files changed (50) hide show
  1. package/browser/{ai.2.8.0-beta.2203-03.cjs.js → ai.2.8.0-beta.2203-06.cjs.js} +639 -356
  2. package/browser/ai.2.8.0-beta.2203-06.cjs.js.map +1 -0
  3. package/browser/ai.2.8.0-beta.2203-06.cjs.min.js +6 -0
  4. package/browser/ai.2.8.0-beta.2203-06.cjs.min.js.map +1 -0
  5. package/browser/{ai.2.8.0-beta.2203-03.gbl.js → ai.2.8.0-beta.2203-06.gbl.js} +639 -356
  6. package/browser/ai.2.8.0-beta.2203-06.gbl.js.map +1 -0
  7. package/browser/ai.2.8.0-beta.2203-06.gbl.min.js +6 -0
  8. package/browser/ai.2.8.0-beta.2203-06.gbl.min.js.map +1 -0
  9. package/browser/ai.2.8.0-beta.2203-06.integrity.json +66 -0
  10. package/browser/{ai.2.8.0-beta.2203-03.js → ai.2.8.0-beta.2203-06.js} +639 -356
  11. package/browser/ai.2.8.0-beta.2203-06.js.map +1 -0
  12. package/browser/ai.2.8.0-beta.2203-06.min.js +6 -0
  13. package/browser/ai.2.8.0-beta.2203-06.min.js.map +1 -0
  14. package/browser/ai.2.cjs.js +638 -355
  15. package/browser/ai.2.cjs.js.map +1 -1
  16. package/browser/ai.2.cjs.min.js +2 -2
  17. package/browser/ai.2.cjs.min.js.map +1 -1
  18. package/browser/ai.2.gbl.js +638 -355
  19. package/browser/ai.2.gbl.js.map +1 -1
  20. package/browser/ai.2.gbl.min.js +2 -2
  21. package/browser/ai.2.gbl.min.js.map +1 -1
  22. package/browser/ai.2.js +638 -355
  23. package/browser/ai.2.js.map +1 -1
  24. package/browser/ai.2.min.js +2 -2
  25. package/browser/ai.2.min.js.map +1 -1
  26. package/dist/applicationinsights-web.api.json +227 -164
  27. package/dist/applicationinsights-web.api.md +14 -20
  28. package/dist/applicationinsights-web.d.ts +108 -106
  29. package/dist/applicationinsights-web.js +639 -356
  30. package/dist/applicationinsights-web.js.map +1 -1
  31. package/dist/applicationinsights-web.min.js +2 -2
  32. package/dist/applicationinsights-web.min.js.map +1 -1
  33. package/dist/applicationinsights-web.rollup.d.ts +108 -106
  34. package/dist-esm/ApplicationInsightsContainer.js +1 -1
  35. package/dist-esm/ApplicationInsightsDeprecated.js +1 -1
  36. package/dist-esm/Init.js +1 -1
  37. package/dist-esm/Initialization.js +1 -1
  38. package/dist-esm/applicationinsights-web.js +1 -1
  39. package/package.json +7 -7
  40. package/types/Initialization.d.ts +1 -1
  41. package/browser/ai.2.8.0-beta.2203-03.cjs.js.map +0 -1
  42. package/browser/ai.2.8.0-beta.2203-03.cjs.min.js +0 -6
  43. package/browser/ai.2.8.0-beta.2203-03.cjs.min.js.map +0 -1
  44. package/browser/ai.2.8.0-beta.2203-03.gbl.js.map +0 -1
  45. package/browser/ai.2.8.0-beta.2203-03.gbl.min.js +0 -6
  46. package/browser/ai.2.8.0-beta.2203-03.gbl.min.js.map +0 -1
  47. package/browser/ai.2.8.0-beta.2203-03.integrity.json +0 -66
  48. package/browser/ai.2.8.0-beta.2203-03.js.map +0 -1
  49. package/browser/ai.2.8.0-beta.2203-03.min.js +0 -6
  50. package/browser/ai.2.8.0-beta.2203-03.min.js.map +0 -1
@@ -432,7 +432,7 @@
432
432
  "excerptTokens": [
433
433
  {
434
434
  "kind": "Content",
435
- "text": "export declare class ApplicationInsights extends "
435
+ "text": "export declare class AnalyticsPlugin extends "
436
436
  },
437
437
  {
438
438
  "kind": "Reference",
@@ -515,135 +515,10 @@
515
515
  ],
516
516
  "name": "_onerror"
517
517
  },
518
- {
519
- "kind": "Property",
520
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics#_pageViewManager:member",
521
- "docComment": "",
522
- "excerptTokens": [
523
- {
524
- "kind": "Content",
525
- "text": "protected _pageViewManager: "
526
- },
527
- {
528
- "kind": "Reference",
529
- "text": "PageViewManager",
530
- "canonicalReference": "@microsoft/applicationinsights-web!PageViewManager:class"
531
- },
532
- {
533
- "kind": "Content",
534
- "text": ";"
535
- }
536
- ],
537
- "isOptional": false,
538
- "releaseTag": "Public",
539
- "name": "_pageViewManager",
540
- "propertyTypeTokenRange": {
541
- "startIndex": 1,
542
- "endIndex": 2
543
- },
544
- "isStatic": false
545
- },
546
- {
547
- "kind": "Property",
548
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics#_pageViewPerformanceManager:member",
549
- "docComment": "",
550
- "excerptTokens": [
551
- {
552
- "kind": "Content",
553
- "text": "protected _pageViewPerformanceManager: "
554
- },
555
- {
556
- "kind": "Reference",
557
- "text": "PageViewPerformanceManager",
558
- "canonicalReference": "@microsoft/applicationinsights-web!PageViewPerformanceManager:class"
559
- },
560
- {
561
- "kind": "Content",
562
- "text": ";"
563
- }
564
- ],
565
- "isOptional": false,
566
- "releaseTag": "Public",
567
- "name": "_pageViewPerformanceManager",
568
- "propertyTypeTokenRange": {
569
- "startIndex": 1,
570
- "endIndex": 2
571
- },
572
- "isStatic": false
573
- },
574
- {
575
- "kind": "Property",
576
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics#_pageVisitTimeManager:member",
577
- "docComment": "",
578
- "excerptTokens": [
579
- {
580
- "kind": "Content",
581
- "text": "protected _pageVisitTimeManager: "
582
- },
583
- {
584
- "kind": "Reference",
585
- "text": "PageVisitTimeManager",
586
- "canonicalReference": "@microsoft/applicationinsights-web!PageVisitTimeManager:class"
587
- },
588
- {
589
- "kind": "Content",
590
- "text": ";"
591
- }
592
- ],
593
- "isOptional": false,
594
- "releaseTag": "Public",
595
- "name": "_pageVisitTimeManager",
596
- "propertyTypeTokenRange": {
597
- "startIndex": 1,
598
- "endIndex": 2
599
- },
600
- "isStatic": false
601
- },
602
- {
603
- "kind": "Property",
604
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics#_telemetryInitializers:member",
605
- "docComment": "",
606
- "excerptTokens": [
607
- {
608
- "kind": "Content",
609
- "text": "protected _telemetryInitializers: "
610
- },
611
- {
612
- "kind": "Reference",
613
- "text": "Array",
614
- "canonicalReference": "!Array:interface"
615
- },
616
- {
617
- "kind": "Content",
618
- "text": "<(envelope: "
619
- },
620
- {
621
- "kind": "Reference",
622
- "text": "ITelemetryItem",
623
- "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryItem:interface"
624
- },
625
- {
626
- "kind": "Content",
627
- "text": ") => boolean | void>"
628
- },
629
- {
630
- "kind": "Content",
631
- "text": ";"
632
- }
633
- ],
634
- "isOptional": false,
635
- "releaseTag": "Public",
636
- "name": "_telemetryInitializers",
637
- "propertyTypeTokenRange": {
638
- "startIndex": 1,
639
- "endIndex": 5
640
- },
641
- "isStatic": false
642
- },
643
518
  {
644
519
  "kind": "Constructor",
645
520
  "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics:constructor(1)",
646
- "docComment": "/**\n * Constructs a new instance of the `ApplicationInsights` class\n */\n",
521
+ "docComment": "/**\n * Constructs a new instance of the `AnalyticsPlugin` class\n */\n",
647
522
  "excerptTokens": [
648
523
  {
649
524
  "kind": "Content",
@@ -680,9 +555,14 @@
680
555
  "kind": "Content",
681
556
  "text": "): "
682
557
  },
558
+ {
559
+ "kind": "Reference",
560
+ "text": "ITelemetryInitializerHandler",
561
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryInitializerHandler:interface"
562
+ },
683
563
  {
684
564
  "kind": "Content",
685
- "text": "void"
565
+ "text": " | void"
686
566
  },
687
567
  {
688
568
  "kind": "Content",
@@ -693,7 +573,7 @@
693
573
  "isStatic": false,
694
574
  "returnTypeTokenRange": {
695
575
  "startIndex": 5,
696
- "endIndex": 6
576
+ "endIndex": 7
697
577
  },
698
578
  "releaseTag": "Public",
699
579
  "overloadIndex": 1,
@@ -794,27 +674,22 @@
794
674
  "name": "getCookieMgr"
795
675
  },
796
676
  {
797
- "kind": "Method",
798
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics.getDefaultConfig:member(1)",
677
+ "kind": "Property",
678
+ "canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics.getDefaultConfig:member",
799
679
  "docComment": "",
800
680
  "excerptTokens": [
801
681
  {
802
682
  "kind": "Content",
803
- "text": "static getDefaultConfig(config?: "
804
- },
805
- {
806
- "kind": "Reference",
807
- "text": "IConfig",
808
- "canonicalReference": "@microsoft/applicationinsights-web!IConfig:interface"
683
+ "text": "static getDefaultConfig: "
809
684
  },
810
685
  {
811
686
  "kind": "Content",
812
- "text": "): "
687
+ "text": "typeof "
813
688
  },
814
689
  {
815
690
  "kind": "Reference",
816
- "text": "IConfig",
817
- "canonicalReference": "@microsoft/applicationinsights-web!IConfig:interface"
691
+ "text": "_getDefaultConfig",
692
+ "canonicalReference": "@microsoft/applicationinsights-web!~_getDefaultConfig:function"
818
693
  },
819
694
  {
820
695
  "kind": "Content",
@@ -822,23 +697,13 @@
822
697
  }
823
698
  ],
824
699
  "isOptional": false,
825
- "isStatic": true,
826
- "returnTypeTokenRange": {
827
- "startIndex": 3,
828
- "endIndex": 4
829
- },
830
700
  "releaseTag": "Public",
831
- "overloadIndex": 1,
832
- "parameters": [
833
- {
834
- "parameterName": "config",
835
- "parameterTypeTokenRange": {
836
- "startIndex": 1,
837
- "endIndex": 2
838
- }
839
- }
840
- ],
841
- "name": "getDefaultConfig"
701
+ "name": "getDefaultConfig",
702
+ "propertyTypeTokenRange": {
703
+ "startIndex": 1,
704
+ "endIndex": 3
705
+ },
706
+ "isStatic": true
842
707
  },
843
708
  {
844
709
  "kind": "Property",
@@ -2166,7 +2031,12 @@
2166
2031
  },
2167
2032
  {
2168
2033
  "kind": "Content",
2169
- "text": "void"
2034
+ "text": "void | import(\"@microsoft/applicationinsights-core-js\")."
2035
+ },
2036
+ {
2037
+ "kind": "Reference",
2038
+ "text": "ITelemetryInitializerHandler",
2039
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryInitializerHandler:interface"
2170
2040
  },
2171
2041
  {
2172
2042
  "kind": "Content",
@@ -2177,7 +2047,7 @@
2177
2047
  "isStatic": false,
2178
2048
  "returnTypeTokenRange": {
2179
2049
  "startIndex": 5,
2180
- "endIndex": 6
2050
+ "endIndex": 7
2181
2051
  },
2182
2052
  "releaseTag": "Public",
2183
2053
  "overloadIndex": 1,
@@ -2204,7 +2074,7 @@
2204
2074
  {
2205
2075
  "kind": "Reference",
2206
2076
  "text": "ApplicationInsights",
2207
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationInsights:class"
2077
+ "canonicalReference": "@microsoft/applicationinsights-web!AnalyticsPlugin:class"
2208
2078
  },
2209
2079
  {
2210
2080
  "kind": "Content",
@@ -3596,6 +3466,68 @@
3596
3466
  },
3597
3467
  "isStatic": false
3598
3468
  },
3469
+ {
3470
+ "kind": "Method",
3471
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#_updateHook:member(1)",
3472
+ "docComment": "/**\n * Hook for Core extensions to allow them to update their own configuration before updating all of the plugins.\n *\n * @param updateCtx - The plugin update context\n *\n * @param updateState - The Update State\n *\n * @returns boolean - True means the extension class will call updateState otherwise the Core will\n */\n",
3473
+ "excerptTokens": [
3474
+ {
3475
+ "kind": "Content",
3476
+ "text": "protected _updateHook?(updateCtx: "
3477
+ },
3478
+ {
3479
+ "kind": "Reference",
3480
+ "text": "IProcessTelemetryUpdateContext",
3481
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryUpdateContext:interface"
3482
+ },
3483
+ {
3484
+ "kind": "Content",
3485
+ "text": ", updateState: "
3486
+ },
3487
+ {
3488
+ "kind": "Reference",
3489
+ "text": "ITelemetryUpdateState",
3490
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryUpdateState:interface"
3491
+ },
3492
+ {
3493
+ "kind": "Content",
3494
+ "text": "): "
3495
+ },
3496
+ {
3497
+ "kind": "Content",
3498
+ "text": "void | boolean"
3499
+ },
3500
+ {
3501
+ "kind": "Content",
3502
+ "text": ";"
3503
+ }
3504
+ ],
3505
+ "isOptional": true,
3506
+ "isStatic": false,
3507
+ "returnTypeTokenRange": {
3508
+ "startIndex": 5,
3509
+ "endIndex": 6
3510
+ },
3511
+ "releaseTag": "Public",
3512
+ "overloadIndex": 1,
3513
+ "parameters": [
3514
+ {
3515
+ "parameterName": "updateCtx",
3516
+ "parameterTypeTokenRange": {
3517
+ "startIndex": 1,
3518
+ "endIndex": 2
3519
+ }
3520
+ },
3521
+ {
3522
+ "parameterName": "updateState",
3523
+ "parameterTypeTokenRange": {
3524
+ "startIndex": 3,
3525
+ "endIndex": 4
3526
+ }
3527
+ }
3528
+ ],
3529
+ "name": "_updateHook"
3530
+ },
3599
3531
  {
3600
3532
  "kind": "Constructor",
3601
3533
  "canonicalReference": "@microsoft/applicationinsights-web!BaseCore:constructor(1)",
@@ -4690,7 +4622,24 @@
4690
4622
  },
4691
4623
  {
4692
4624
  "kind": "Content",
4693
- "text": "() => void"
4625
+ "text": "(unloadState: "
4626
+ },
4627
+ {
4628
+ "kind": "Reference",
4629
+ "text": "ITelemetryUnloadState",
4630
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryUnloadState:interface"
4631
+ },
4632
+ {
4633
+ "kind": "Content",
4634
+ "text": ") => void"
4635
+ },
4636
+ {
4637
+ "kind": "Content",
4638
+ "text": ", cbTimeout?: "
4639
+ },
4640
+ {
4641
+ "kind": "Content",
4642
+ "text": "number"
4694
4643
  },
4695
4644
  {
4696
4645
  "kind": "Content",
@@ -4708,8 +4657,8 @@
4708
4657
  "isOptional": false,
4709
4658
  "isStatic": false,
4710
4659
  "returnTypeTokenRange": {
4711
- "startIndex": 5,
4712
- "endIndex": 6
4660
+ "startIndex": 9,
4661
+ "endIndex": 10
4713
4662
  },
4714
4663
  "releaseTag": "Public",
4715
4664
  "overloadIndex": 1,
@@ -4725,7 +4674,14 @@
4725
4674
  "parameterName": "unloadComplete",
4726
4675
  "parameterTypeTokenRange": {
4727
4676
  "startIndex": 3,
4728
- "endIndex": 4
4677
+ "endIndex": 6
4678
+ }
4679
+ },
4680
+ {
4681
+ "parameterName": "cbTimeout",
4682
+ "parameterTypeTokenRange": {
4683
+ "startIndex": 7,
4684
+ "endIndex": 8
4729
4685
  }
4730
4686
  }
4731
4687
  ],
@@ -4911,6 +4867,51 @@
4911
4867
  },
4912
4868
  "isStatic": false
4913
4869
  },
4870
+ {
4871
+ "kind": "Property",
4872
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_doUpdate:member",
4873
+ "docComment": "/**\n * Extension hook to allow implementations to perform some additional update operations before the BaseTelemetryPlugin finishes it's removal\n *\n * @param updateCtx - This is the context that should be used during updating.\n *\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\n *\n * @param asyncCallback - An optional callback that the plugin must call if it returns true to inform the caller that it has completed any async update operations.\n *\n * @returns boolean - true if the plugin has or will call asyncCallback, this allows the plugin to perform any asynchronous operations.\n */\n",
4874
+ "excerptTokens": [
4875
+ {
4876
+ "kind": "Content",
4877
+ "text": "protected _doUpdate?: "
4878
+ },
4879
+ {
4880
+ "kind": "Content",
4881
+ "text": "(updateCtx?: "
4882
+ },
4883
+ {
4884
+ "kind": "Reference",
4885
+ "text": "IProcessTelemetryUpdateContext",
4886
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryUpdateContext:interface"
4887
+ },
4888
+ {
4889
+ "kind": "Content",
4890
+ "text": ", updateState?: "
4891
+ },
4892
+ {
4893
+ "kind": "Reference",
4894
+ "text": "ITelemetryUpdateState",
4895
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryUpdateState:interface"
4896
+ },
4897
+ {
4898
+ "kind": "Content",
4899
+ "text": ", asyncCallback?: () => void) => void | boolean"
4900
+ },
4901
+ {
4902
+ "kind": "Content",
4903
+ "text": ";"
4904
+ }
4905
+ ],
4906
+ "isOptional": true,
4907
+ "releaseTag": "Public",
4908
+ "name": "_doUpdate",
4909
+ "propertyTypeTokenRange": {
4910
+ "startIndex": 1,
4911
+ "endIndex": 6
4912
+ },
4913
+ "isStatic": false
4914
+ },
4914
4915
  {
4915
4916
  "kind": "Property",
4916
4917
  "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_getTelCtx:member",
@@ -5455,6 +5456,68 @@
5455
5456
  ],
5456
5457
  "name": "teardown"
5457
5458
  },
5459
+ {
5460
+ "kind": "Method",
5461
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#update:member(1)",
5462
+ "docComment": "/**\n * The the plugin should re-evaluate configuration and update any cached configuration settings.\n *\n * @param updateCtx - This is the context that should be used during updating.\n *\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\n *\n * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.\n */\n",
5463
+ "excerptTokens": [
5464
+ {
5465
+ "kind": "Content",
5466
+ "text": "update(updateCtx: "
5467
+ },
5468
+ {
5469
+ "kind": "Reference",
5470
+ "text": "IProcessTelemetryUpdateContext",
5471
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryUpdateContext:interface"
5472
+ },
5473
+ {
5474
+ "kind": "Content",
5475
+ "text": ", updateState: "
5476
+ },
5477
+ {
5478
+ "kind": "Reference",
5479
+ "text": "ITelemetryUpdateState",
5480
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryUpdateState:interface"
5481
+ },
5482
+ {
5483
+ "kind": "Content",
5484
+ "text": "): "
5485
+ },
5486
+ {
5487
+ "kind": "Content",
5488
+ "text": "void | boolean"
5489
+ },
5490
+ {
5491
+ "kind": "Content",
5492
+ "text": ";"
5493
+ }
5494
+ ],
5495
+ "isOptional": false,
5496
+ "isStatic": false,
5497
+ "returnTypeTokenRange": {
5498
+ "startIndex": 5,
5499
+ "endIndex": 6
5500
+ },
5501
+ "releaseTag": "Public",
5502
+ "overloadIndex": 1,
5503
+ "parameters": [
5504
+ {
5505
+ "parameterName": "updateCtx",
5506
+ "parameterTypeTokenRange": {
5507
+ "startIndex": 1,
5508
+ "endIndex": 2
5509
+ }
5510
+ },
5511
+ {
5512
+ "parameterName": "updateState",
5513
+ "parameterTypeTokenRange": {
5514
+ "startIndex": 3,
5515
+ "endIndex": 4
5516
+ }
5517
+ }
5518
+ ],
5519
+ "name": "update"
5520
+ },
5458
5521
  {
5459
5522
  "kind": "Property",
5460
5523
  "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#version:member",
@@ -10596,7 +10659,7 @@
10596
10659
  {
10597
10660
  "kind": "Reference",
10598
10661
  "text": "ApplicationInsights",
10599
- "canonicalReference": "@microsoft/applicationinsights-web!ApplicationInsights:class"
10662
+ "canonicalReference": "@microsoft/applicationinsights-web!AnalyticsPlugin:class"
10600
10663
  },
10601
10664
  {
10602
10665
  "kind": "Content",
@@ -16,33 +16,25 @@ export class AppInsightsCore extends BaseCore implements IAppInsightsCore {
16
16
  // @public (undocumented)
17
17
  export class ApplicationAnalytics extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
18
18
  constructor();
19
+ // Warning: (ae-forgotten-export) The symbol "ITelemetryInitializerHandler" needs to be exported by the entry point applicationinsights-web.d.ts
20
+ //
19
21
  // (undocumented)
20
- addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): void;
22
+ addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): ITelemetryInitializerHandler | void;
21
23
  // (undocumented)
22
24
  autoRoutePVDelay: number;
23
25
  // (undocumented)
24
26
  config: IConfig;
25
27
  // Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point applicationinsights-web.d.ts
26
28
  getCookieMgr(): ICookieMgr;
29
+ // Warning: (ae-forgotten-export) The symbol "_getDefaultConfig" needs to be exported by the entry point applicationinsights-web.d.ts
30
+ //
27
31
  // (undocumented)
28
- static getDefaultConfig(config?: IConfig): IConfig;
32
+ static getDefaultConfig: typeof _getDefaultConfig;
29
33
  // (undocumented)
30
34
  identifier: string;
31
35
  // (undocumented)
32
36
  initialize(config: IConfiguration & IConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
33
37
  _onerror(exception: IAutoExceptionTelemetry): void;
34
- // Warning: (ae-forgotten-export) The symbol "PageViewManager" needs to be exported by the entry point applicationinsights-web.d.ts
35
- //
36
- // (undocumented)
37
- protected _pageViewManager: PageViewManager;
38
- // Warning: (ae-forgotten-export) The symbol "PageViewPerformanceManager" needs to be exported by the entry point applicationinsights-web.d.ts
39
- //
40
- // (undocumented)
41
- protected _pageViewPerformanceManager: PageViewPerformanceManager;
42
- // Warning: (ae-forgotten-export) The symbol "PageVisitTimeManager" needs to be exported by the entry point applicationinsights-web.d.ts
43
- //
44
- // (undocumented)
45
- protected _pageVisitTimeManager: PageVisitTimeManager;
46
38
  // (undocumented)
47
39
  priority: number;
48
40
  // (undocumented)
@@ -79,8 +71,6 @@ export class ApplicationAnalytics extends BaseTelemetryPlugin implements IAppIns
79
71
  [key: string]: number;
80
72
  }): void;
81
73
  // (undocumented)
82
- protected _telemetryInitializers: Array<(envelope: ITelemetryItem) => boolean | void>;
83
- // (undocumented)
84
74
  trackEvent(event: IEventTelemetry, customProperties?: ICustomProperties): void;
85
75
  trackException(exception: IExceptionTelemetry, customProperties?: ICustomProperties): void;
86
76
  trackMetric(metric: IMetricTelemetry, customProperties?: ICustomProperties): void;
@@ -97,7 +87,7 @@ export class ApplicationInsights implements IApplicationInsights {
97
87
  // (undocumented)
98
88
  addHousekeepingBeforeUnload(appInsightsInstance: IApplicationInsights): void;
99
89
  // (undocumented)
100
- addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): void;
90
+ addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): void | ITelemetryInitializerHandler;
101
91
  // (undocumented)
102
92
  appInsights: ApplicationAnalytics;
103
93
  clearAuthenticatedUserContext(): void;
@@ -160,7 +150,6 @@ export class BaseCore implements IAppInsightsCore {
160
150
  // (undocumented)
161
151
  addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
162
152
  // Warning: (ae-forgotten-export) The symbol "TelemetryInitializerFunction" needs to be exported by the entry point applicationinsights-web.d.ts
163
- // Warning: (ae-forgotten-export) The symbol "ITelemetryInitializerHandler" needs to be exported by the entry point applicationinsights-web.d.ts
164
153
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler | void;
165
154
  // Warning: (ae-forgotten-export) The symbol "UnloadHandler" needs to be exported by the entry point applicationinsights-web.d.ts
166
155
  addUnloadCb(handler: UnloadHandler): void;
@@ -204,7 +193,11 @@ export class BaseCore implements IAppInsightsCore {
204
193
  stopPollingInternalLogs(): void;
205
194
  // (undocumented)
206
195
  track(telemetryItem: ITelemetryItem): void;
207
- unload(isAsync?: boolean, unloadComplete?: () => void): void;
196
+ // Warning: (ae-forgotten-export) The symbol "ITelemetryUnloadState" needs to be exported by the entry point applicationinsights-web.d.ts
197
+ unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
198
+ // Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUpdateContext" needs to be exported by the entry point applicationinsights-web.d.ts
199
+ // Warning: (ae-forgotten-export) The symbol "ITelemetryUpdateState" needs to be exported by the entry point applicationinsights-web.d.ts
200
+ protected _updateHook?(updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState): void | boolean;
208
201
  }
209
202
 
210
203
  // @public
@@ -216,8 +209,8 @@ export abstract class BaseTelemetryPlugin implements ITelemetryPlugin {
216
209
  core: IAppInsightsCore;
217
210
  diagLog: (itemCtx?: IProcessTelemetryContext) => IDiagnosticLogger;
218
211
  // Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUnloadContext" needs to be exported by the entry point applicationinsights-web.d.ts
219
- // Warning: (ae-forgotten-export) The symbol "ITelemetryUnloadState" needs to be exported by the entry point applicationinsights-web.d.ts
220
212
  protected _doTeardown?: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState, asyncCallback?: () => void) => void | boolean;
213
+ protected _doUpdate?: (updateCtx?: IProcessTelemetryUpdateContext, updateState?: ITelemetryUpdateState, asyncCallback?: () => void) => void | boolean;
221
214
  protected _getTelCtx: (currentCtx?: IProcessTelemetryContext) => IProcessTelemetryContext;
222
215
  // (undocumented)
223
216
  identifier: string;
@@ -232,6 +225,7 @@ export abstract class BaseTelemetryPlugin implements ITelemetryPlugin {
232
225
  protected setInitialized: (isInitialized: boolean) => void;
233
226
  setNextPlugin: (next: ITelemetryPlugin | ITelemetryPluginChain) => void;
234
227
  teardown(unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState): void | boolean;
228
+ update(updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState): void | boolean;
235
229
  // (undocumented)
236
230
  version?: string;
237
231
  }