@microsoft/applicationinsights-core-js 2.7.5-nightly.2203-01 → 2.8.0-beta.2203-01

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 (108) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +860 -457
  3. package/browser/applicationinsights-core-js.js.map +1 -1
  4. package/browser/applicationinsights-core-js.min.js +2 -2
  5. package/browser/applicationinsights-core-js.min.js.map +1 -1
  6. package/dist/applicationinsights-core-js.api.json +1193 -267
  7. package/dist/applicationinsights-core-js.api.md +54 -14
  8. package/dist/applicationinsights-core-js.d.ts +133 -45
  9. package/dist/applicationinsights-core-js.js +860 -457
  10. package/dist/applicationinsights-core-js.js.map +1 -1
  11. package/dist/applicationinsights-core-js.min.js +2 -2
  12. package/dist/applicationinsights-core-js.min.js.map +1 -1
  13. package/dist/applicationinsights-core-js.rollup.d.ts +133 -45
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +3 -69
  15. package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  16. package/dist-esm/JavaScriptSDK/BaseCore.js +237 -82
  17. package/dist-esm/JavaScriptSDK/BaseCore.js.map +1 -1
  18. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +45 -19
  19. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js.map +1 -1
  20. package/dist-esm/JavaScriptSDK/ChannelController.js +155 -87
  21. package/dist-esm/JavaScriptSDK/ChannelController.js.map +1 -1
  22. package/dist-esm/JavaScriptSDK/Constants.js +1 -1
  23. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  24. package/dist-esm/JavaScriptSDK/CoreUtils.js +2 -27
  25. package/dist-esm/JavaScriptSDK/CoreUtils.js.map +1 -1
  26. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  27. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  28. package/dist-esm/JavaScriptSDK/EnvUtils.js +6 -6
  29. package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
  30. package/dist-esm/JavaScriptSDK/HelperFuncs.js +51 -11
  31. package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
  32. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +3 -1
  33. package/dist-esm/JavaScriptSDK/InstrumentHooks.js.map +1 -1
  34. package/dist-esm/JavaScriptSDK/NotificationManager.js +34 -36
  35. package/dist-esm/JavaScriptSDK/NotificationManager.js.map +1 -1
  36. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  37. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +289 -119
  38. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
  39. package/dist-esm/JavaScriptSDK/RandomHelper.js +29 -4
  40. package/dist-esm/JavaScriptSDK/RandomHelper.js.map +1 -1
  41. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +2 -2
  42. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js.map +1 -1
  43. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +82 -0
  44. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js.map +1 -0
  45. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  46. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  47. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -2
  49. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js.map +1 -1
  50. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +6 -0
  62. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js.map +1 -0
  63. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  65. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  66. package/dist-esm/applicationinsights-core-js.js +4 -4
  67. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  68. package/package.json +2 -2
  69. package/src/JavaScriptSDK/AppInsightsCore.ts +2 -101
  70. package/src/JavaScriptSDK/BaseCore.ts +330 -100
  71. package/src/JavaScriptSDK/BaseTelemetryPlugin.ts +69 -32
  72. package/src/JavaScriptSDK/ChannelController.ts +175 -103
  73. package/src/JavaScriptSDK/CoreUtils.ts +1 -28
  74. package/src/JavaScriptSDK/EnvUtils.ts +5 -5
  75. package/src/JavaScriptSDK/HelperFuncs.ts +57 -14
  76. package/src/JavaScriptSDK/InstrumentHooks.ts +3 -1
  77. package/src/JavaScriptSDK/NotificationManager.ts +32 -31
  78. package/src/JavaScriptSDK/PerfManager.ts +1 -1
  79. package/src/JavaScriptSDK/ProcessTelemetryContext.ts +350 -133
  80. package/src/JavaScriptSDK/RandomHelper.ts +34 -3
  81. package/src/JavaScriptSDK/TelemetryHelpers.ts +4 -6
  82. package/src/JavaScriptSDK/TelemetryInitializerPlugin.ts +119 -0
  83. package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +17 -1
  84. package/src/JavaScriptSDK.Interfaces/IChannelControls.ts +7 -3
  85. package/src/JavaScriptSDK.Interfaces/IInstrumentHooks.ts +5 -0
  86. package/src/JavaScriptSDK.Interfaces/IProcessTelemetryContext.ts +23 -5
  87. package/src/JavaScriptSDK.Interfaces/ITelemetryInitializers.ts +16 -0
  88. package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +1 -1
  89. package/types/JavaScriptSDK/AppInsightsCore.d.ts +0 -21
  90. package/types/JavaScriptSDK/BaseCore.d.ts +30 -1
  91. package/types/JavaScriptSDK/BaseTelemetryPlugin.d.ts +13 -11
  92. package/types/JavaScriptSDK/ChannelController.d.ts +12 -17
  93. package/types/JavaScriptSDK/CoreUtils.d.ts +0 -6
  94. package/types/JavaScriptSDK/HelperFuncs.d.ts +14 -5
  95. package/types/JavaScriptSDK/ProcessTelemetryContext.d.ts +49 -3
  96. package/types/JavaScriptSDK/RandomHelper.d.ts +6 -0
  97. package/types/JavaScriptSDK/TelemetryHelpers.d.ts +3 -3
  98. package/types/JavaScriptSDK/TelemetryInitializerPlugin.d.ts +23 -0
  99. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +15 -0
  100. package/types/JavaScriptSDK.Interfaces/IChannelControls.d.ts +7 -3
  101. package/types/JavaScriptSDK.Interfaces/IInstrumentHooks.d.ts +4 -0
  102. package/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext.d.ts +18 -3
  103. package/types/JavaScriptSDK.Interfaces/ITelemetryInitializers.d.ts +13 -0
  104. package/types/applicationinsights-core-js.d.ts +5 -4
  105. package/dist-esm/JavaScriptSDK/TelemetryPluginChain.js +0 -76
  106. package/dist-esm/JavaScriptSDK/TelemetryPluginChain.js.map +0 -1
  107. package/src/JavaScriptSDK/TelemetryPluginChain.ts +0 -120
  108. package/types/JavaScriptSDK/TelemetryPluginChain.d.ts +0 -32
@@ -810,52 +810,6 @@
810
810
  "overloadIndex": 1,
811
811
  "parameters": []
812
812
  },
813
- {
814
- "kind": "Method",
815
- "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#addNotificationListener:member(1)",
816
- "docComment": "/**\n * Adds a notification listener. The SDK calls methods on the listener when an appropriate notification is raised. The added plugins must raise notifications. If the plugins do not implement the notifications, then no methods will be called.\n *\n * @param listener - An INotificationListener object.\n */\n",
817
- "excerptTokens": [
818
- {
819
- "kind": "Content",
820
- "text": "addNotificationListener(listener: "
821
- },
822
- {
823
- "kind": "Reference",
824
- "text": "INotificationListener",
825
- "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationListener:interface"
826
- },
827
- {
828
- "kind": "Content",
829
- "text": "): "
830
- },
831
- {
832
- "kind": "Content",
833
- "text": "void"
834
- },
835
- {
836
- "kind": "Content",
837
- "text": ";"
838
- }
839
- ],
840
- "isOptional": false,
841
- "isStatic": false,
842
- "returnTypeTokenRange": {
843
- "startIndex": 3,
844
- "endIndex": 4
845
- },
846
- "releaseTag": "Public",
847
- "overloadIndex": 1,
848
- "parameters": [
849
- {
850
- "parameterName": "listener",
851
- "parameterTypeTokenRange": {
852
- "startIndex": 1,
853
- "endIndex": 2
854
- }
855
- }
856
- ],
857
- "name": "addNotificationListener"
858
- },
859
813
  {
860
814
  "kind": "Method",
861
815
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#initialize:member(1)",
@@ -954,126 +908,6 @@
954
908
  ],
955
909
  "name": "initialize"
956
910
  },
957
- {
958
- "kind": "Method",
959
- "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#pollInternalLogs:member(1)",
960
- "docComment": "/**\n * Periodically check logger.queue for\n */\n",
961
- "excerptTokens": [
962
- {
963
- "kind": "Content",
964
- "text": "pollInternalLogs(eventName?: "
965
- },
966
- {
967
- "kind": "Content",
968
- "text": "string"
969
- },
970
- {
971
- "kind": "Content",
972
- "text": "): "
973
- },
974
- {
975
- "kind": "Content",
976
- "text": "number"
977
- },
978
- {
979
- "kind": "Content",
980
- "text": ";"
981
- }
982
- ],
983
- "isOptional": false,
984
- "isStatic": false,
985
- "returnTypeTokenRange": {
986
- "startIndex": 3,
987
- "endIndex": 4
988
- },
989
- "releaseTag": "Public",
990
- "overloadIndex": 1,
991
- "parameters": [
992
- {
993
- "parameterName": "eventName",
994
- "parameterTypeTokenRange": {
995
- "startIndex": 1,
996
- "endIndex": 2
997
- }
998
- }
999
- ],
1000
- "name": "pollInternalLogs"
1001
- },
1002
- {
1003
- "kind": "Method",
1004
- "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#removeNotificationListener:member(1)",
1005
- "docComment": "/**\n * Removes all instances of the listener.\n *\n * @param listener - INotificationListener to remove.\n */\n",
1006
- "excerptTokens": [
1007
- {
1008
- "kind": "Content",
1009
- "text": "removeNotificationListener(listener: "
1010
- },
1011
- {
1012
- "kind": "Reference",
1013
- "text": "INotificationListener",
1014
- "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationListener:interface"
1015
- },
1016
- {
1017
- "kind": "Content",
1018
- "text": "): "
1019
- },
1020
- {
1021
- "kind": "Content",
1022
- "text": "void"
1023
- },
1024
- {
1025
- "kind": "Content",
1026
- "text": ";"
1027
- }
1028
- ],
1029
- "isOptional": false,
1030
- "isStatic": false,
1031
- "returnTypeTokenRange": {
1032
- "startIndex": 3,
1033
- "endIndex": 4
1034
- },
1035
- "releaseTag": "Public",
1036
- "overloadIndex": 1,
1037
- "parameters": [
1038
- {
1039
- "parameterName": "listener",
1040
- "parameterTypeTokenRange": {
1041
- "startIndex": 1,
1042
- "endIndex": 2
1043
- }
1044
- }
1045
- ],
1046
- "name": "removeNotificationListener"
1047
- },
1048
- {
1049
- "kind": "Method",
1050
- "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#stopPollingInternalLogs:member(1)",
1051
- "docComment": "/**\n * Periodically check logger.queue for\n */\n",
1052
- "excerptTokens": [
1053
- {
1054
- "kind": "Content",
1055
- "text": "stopPollingInternalLogs(): "
1056
- },
1057
- {
1058
- "kind": "Content",
1059
- "text": "void"
1060
- },
1061
- {
1062
- "kind": "Content",
1063
- "text": ";"
1064
- }
1065
- ],
1066
- "isOptional": false,
1067
- "isStatic": false,
1068
- "returnTypeTokenRange": {
1069
- "startIndex": 1,
1070
- "endIndex": 2
1071
- },
1072
- "releaseTag": "Public",
1073
- "overloadIndex": 1,
1074
- "parameters": [],
1075
- "name": "stopPollingInternalLogs"
1076
- },
1077
911
  {
1078
912
  "kind": "Method",
1079
913
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#track:member(1)",
@@ -1183,7 +1017,15 @@
1183
1017
  "excerptTokens": [
1184
1018
  {
1185
1019
  "kind": "Content",
1186
- "text": "export declare function arrForEach<T>(arr: "
1020
+ "text": "export declare function arrForEach<T = "
1021
+ },
1022
+ {
1023
+ "kind": "Content",
1024
+ "text": "any"
1025
+ },
1026
+ {
1027
+ "kind": "Content",
1028
+ "text": ">(arr: "
1187
1029
  },
1188
1030
  {
1189
1031
  "kind": "Content",
@@ -1219,8 +1061,8 @@
1219
1061
  }
1220
1062
  ],
1221
1063
  "returnTypeTokenRange": {
1222
- "startIndex": 7,
1223
- "endIndex": 8
1064
+ "startIndex": 9,
1065
+ "endIndex": 10
1224
1066
  },
1225
1067
  "releaseTag": "Public",
1226
1068
  "overloadIndex": 1,
@@ -1228,22 +1070,22 @@
1228
1070
  {
1229
1071
  "parameterName": "arr",
1230
1072
  "parameterTypeTokenRange": {
1231
- "startIndex": 1,
1232
- "endIndex": 2
1073
+ "startIndex": 3,
1074
+ "endIndex": 4
1233
1075
  }
1234
1076
  },
1235
1077
  {
1236
1078
  "parameterName": "callbackfn",
1237
1079
  "parameterTypeTokenRange": {
1238
- "startIndex": 3,
1239
- "endIndex": 4
1080
+ "startIndex": 5,
1081
+ "endIndex": 6
1240
1082
  }
1241
1083
  },
1242
1084
  {
1243
1085
  "parameterName": "thisArg",
1244
1086
  "parameterTypeTokenRange": {
1245
- "startIndex": 5,
1246
- "endIndex": 6
1087
+ "startIndex": 7,
1088
+ "endIndex": 8
1247
1089
  }
1248
1090
  }
1249
1091
  ],
@@ -1255,8 +1097,8 @@
1255
1097
  "endIndex": 0
1256
1098
  },
1257
1099
  "defaultTypeTokenRange": {
1258
- "startIndex": 0,
1259
- "endIndex": 0
1100
+ "startIndex": 1,
1101
+ "endIndex": 2
1260
1102
  }
1261
1103
  }
1262
1104
  ],
@@ -1698,6 +1540,103 @@
1698
1540
  "overloadIndex": 1,
1699
1541
  "parameters": []
1700
1542
  },
1543
+ {
1544
+ "kind": "Method",
1545
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#addNotificationListener:member(1)",
1546
+ "docComment": "/**\n * Adds a notification listener. The SDK calls methods on the listener when an appropriate notification is raised. The added plugins must raise notifications. If the plugins do not implement the notifications, then no methods will be called.\n *\n * @param listener - An INotificationListener object.\n */\n",
1547
+ "excerptTokens": [
1548
+ {
1549
+ "kind": "Content",
1550
+ "text": "addNotificationListener(listener: "
1551
+ },
1552
+ {
1553
+ "kind": "Reference",
1554
+ "text": "INotificationListener",
1555
+ "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationListener:interface"
1556
+ },
1557
+ {
1558
+ "kind": "Content",
1559
+ "text": "): "
1560
+ },
1561
+ {
1562
+ "kind": "Content",
1563
+ "text": "void"
1564
+ },
1565
+ {
1566
+ "kind": "Content",
1567
+ "text": ";"
1568
+ }
1569
+ ],
1570
+ "isOptional": false,
1571
+ "isStatic": false,
1572
+ "returnTypeTokenRange": {
1573
+ "startIndex": 3,
1574
+ "endIndex": 4
1575
+ },
1576
+ "releaseTag": "Public",
1577
+ "overloadIndex": 1,
1578
+ "parameters": [
1579
+ {
1580
+ "parameterName": "listener",
1581
+ "parameterTypeTokenRange": {
1582
+ "startIndex": 1,
1583
+ "endIndex": 2
1584
+ }
1585
+ }
1586
+ ],
1587
+ "name": "addNotificationListener"
1588
+ },
1589
+ {
1590
+ "kind": "Method",
1591
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#addTelemetryInitializer:member(1)",
1592
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
1593
+ "excerptTokens": [
1594
+ {
1595
+ "kind": "Content",
1596
+ "text": "addTelemetryInitializer(telemetryInitializer: "
1597
+ },
1598
+ {
1599
+ "kind": "Reference",
1600
+ "text": "TelemetryInitializerFunction",
1601
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryInitializerFunction:type"
1602
+ },
1603
+ {
1604
+ "kind": "Content",
1605
+ "text": "): "
1606
+ },
1607
+ {
1608
+ "kind": "Reference",
1609
+ "text": "ITelemetryInitializerHandler",
1610
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerHandler:interface"
1611
+ },
1612
+ {
1613
+ "kind": "Content",
1614
+ "text": " | void"
1615
+ },
1616
+ {
1617
+ "kind": "Content",
1618
+ "text": ";"
1619
+ }
1620
+ ],
1621
+ "isOptional": false,
1622
+ "isStatic": false,
1623
+ "returnTypeTokenRange": {
1624
+ "startIndex": 3,
1625
+ "endIndex": 5
1626
+ },
1627
+ "releaseTag": "Public",
1628
+ "overloadIndex": 1,
1629
+ "parameters": [
1630
+ {
1631
+ "parameterName": "telemetryInitializer",
1632
+ "parameterTypeTokenRange": {
1633
+ "startIndex": 1,
1634
+ "endIndex": 2
1635
+ }
1636
+ }
1637
+ ],
1638
+ "name": "addTelemetryInitializer"
1639
+ },
1701
1640
  {
1702
1641
  "kind": "Property",
1703
1642
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#config:member",
@@ -1873,6 +1812,91 @@
1873
1812
  "parameters": [],
1874
1813
  "name": "getPerfMgr"
1875
1814
  },
1815
+ {
1816
+ "kind": "Method",
1817
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#getPlugin:member(1)",
1818
+ "docComment": "",
1819
+ "excerptTokens": [
1820
+ {
1821
+ "kind": "Content",
1822
+ "text": "getPlugin<T extends "
1823
+ },
1824
+ {
1825
+ "kind": "Reference",
1826
+ "text": "IPlugin",
1827
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
1828
+ },
1829
+ {
1830
+ "kind": "Content",
1831
+ "text": " "
1832
+ },
1833
+ {
1834
+ "kind": "Content",
1835
+ "text": "= "
1836
+ },
1837
+ {
1838
+ "kind": "Reference",
1839
+ "text": "IPlugin",
1840
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
1841
+ },
1842
+ {
1843
+ "kind": "Content",
1844
+ "text": ">(pluginIdentifier: "
1845
+ },
1846
+ {
1847
+ "kind": "Content",
1848
+ "text": "string"
1849
+ },
1850
+ {
1851
+ "kind": "Content",
1852
+ "text": "): "
1853
+ },
1854
+ {
1855
+ "kind": "Reference",
1856
+ "text": "ILoadedPlugin",
1857
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ILoadedPlugin:interface"
1858
+ },
1859
+ {
1860
+ "kind": "Content",
1861
+ "text": "<T>"
1862
+ },
1863
+ {
1864
+ "kind": "Content",
1865
+ "text": ";"
1866
+ }
1867
+ ],
1868
+ "isOptional": false,
1869
+ "isStatic": false,
1870
+ "returnTypeTokenRange": {
1871
+ "startIndex": 8,
1872
+ "endIndex": 10
1873
+ },
1874
+ "releaseTag": "Public",
1875
+ "overloadIndex": 1,
1876
+ "parameters": [
1877
+ {
1878
+ "parameterName": "pluginIdentifier",
1879
+ "parameterTypeTokenRange": {
1880
+ "startIndex": 6,
1881
+ "endIndex": 7
1882
+ }
1883
+ }
1884
+ ],
1885
+ "typeParameters": [
1886
+ {
1887
+ "typeParameterName": "T",
1888
+ "constraintTokenRange": {
1889
+ "startIndex": 1,
1890
+ "endIndex": 3
1891
+ },
1892
+ "defaultTypeTokenRange": {
1893
+ "startIndex": 4,
1894
+ "endIndex": 5
1895
+ }
1896
+ }
1897
+ ],
1898
+ "name": "getPlugin"
1899
+ },
1876
1900
  {
1877
1901
  "kind": "Method",
1878
1902
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#getProcessTelContext:member(1)",
@@ -2090,6 +2114,51 @@
2090
2114
  },
2091
2115
  "isStatic": false
2092
2116
  },
2117
+ {
2118
+ "kind": "Method",
2119
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#pollInternalLogs:member(1)",
2120
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
2121
+ "excerptTokens": [
2122
+ {
2123
+ "kind": "Content",
2124
+ "text": "pollInternalLogs(eventName?: "
2125
+ },
2126
+ {
2127
+ "kind": "Content",
2128
+ "text": "string"
2129
+ },
2130
+ {
2131
+ "kind": "Content",
2132
+ "text": "): "
2133
+ },
2134
+ {
2135
+ "kind": "Content",
2136
+ "text": "number"
2137
+ },
2138
+ {
2139
+ "kind": "Content",
2140
+ "text": ";"
2141
+ }
2142
+ ],
2143
+ "isOptional": false,
2144
+ "isStatic": false,
2145
+ "returnTypeTokenRange": {
2146
+ "startIndex": 3,
2147
+ "endIndex": 4
2148
+ },
2149
+ "releaseTag": "Public",
2150
+ "overloadIndex": 1,
2151
+ "parameters": [
2152
+ {
2153
+ "parameterName": "eventName",
2154
+ "parameterTypeTokenRange": {
2155
+ "startIndex": 1,
2156
+ "endIndex": 2
2157
+ }
2158
+ }
2159
+ ],
2160
+ "name": "pollInternalLogs"
2161
+ },
2093
2162
  {
2094
2163
  "kind": "Method",
2095
2164
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#releaseQueue:member(1)",
@@ -2119,6 +2188,52 @@
2119
2188
  "parameters": [],
2120
2189
  "name": "releaseQueue"
2121
2190
  },
2191
+ {
2192
+ "kind": "Method",
2193
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#removeNotificationListener:member(1)",
2194
+ "docComment": "/**\n * Removes all instances of the listener.\n *\n * @param listener - INotificationListener to remove.\n */\n",
2195
+ "excerptTokens": [
2196
+ {
2197
+ "kind": "Content",
2198
+ "text": "removeNotificationListener(listener: "
2199
+ },
2200
+ {
2201
+ "kind": "Reference",
2202
+ "text": "INotificationListener",
2203
+ "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationListener:interface"
2204
+ },
2205
+ {
2206
+ "kind": "Content",
2207
+ "text": "): "
2208
+ },
2209
+ {
2210
+ "kind": "Content",
2211
+ "text": "void"
2212
+ },
2213
+ {
2214
+ "kind": "Content",
2215
+ "text": ";"
2216
+ }
2217
+ ],
2218
+ "isOptional": false,
2219
+ "isStatic": false,
2220
+ "returnTypeTokenRange": {
2221
+ "startIndex": 3,
2222
+ "endIndex": 4
2223
+ },
2224
+ "releaseTag": "Public",
2225
+ "overloadIndex": 1,
2226
+ "parameters": [
2227
+ {
2228
+ "parameterName": "listener",
2229
+ "parameterTypeTokenRange": {
2230
+ "startIndex": 1,
2231
+ "endIndex": 2
2232
+ }
2233
+ }
2234
+ ],
2235
+ "name": "removeNotificationListener"
2236
+ },
2122
2237
  {
2123
2238
  "kind": "Method",
2124
2239
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#setCookieMgr:member(1)",
@@ -2211,6 +2326,35 @@
2211
2326
  ],
2212
2327
  "name": "setPerfMgr"
2213
2328
  },
2329
+ {
2330
+ "kind": "Method",
2331
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#stopPollingInternalLogs:member(1)",
2332
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
2333
+ "excerptTokens": [
2334
+ {
2335
+ "kind": "Content",
2336
+ "text": "stopPollingInternalLogs(): "
2337
+ },
2338
+ {
2339
+ "kind": "Content",
2340
+ "text": "void"
2341
+ },
2342
+ {
2343
+ "kind": "Content",
2344
+ "text": ";"
2345
+ }
2346
+ ],
2347
+ "isOptional": false,
2348
+ "isStatic": false,
2349
+ "returnTypeTokenRange": {
2350
+ "startIndex": 1,
2351
+ "endIndex": 2
2352
+ },
2353
+ "releaseTag": "Public",
2354
+ "overloadIndex": 1,
2355
+ "parameters": [],
2356
+ "name": "stopPollingInternalLogs"
2357
+ },
2214
2358
  {
2215
2359
  "kind": "Method",
2216
2360
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#track:member(1)",
@@ -2279,14 +2423,73 @@
2279
2423
  "text": "ITelemetryPlugin",
2280
2424
  "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
2281
2425
  },
2282
- {
2283
- "kind": "Content",
2284
- "text": " "
2285
- }
2286
- ],
2287
- "releaseTag": "Public",
2288
- "name": "BaseTelemetryPlugin",
2289
- "members": [
2426
+ {
2427
+ "kind": "Content",
2428
+ "text": " "
2429
+ }
2430
+ ],
2431
+ "releaseTag": "Public",
2432
+ "name": "BaseTelemetryPlugin",
2433
+ "members": [
2434
+ {
2435
+ "kind": "Method",
2436
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#_addHook:member(1)",
2437
+ "docComment": "/**\n * Add this hook so that it is automatically removed during unloading\n *\n * @param hooks - The single hook or an array of IInstrumentHook objects\n */\n",
2438
+ "excerptTokens": [
2439
+ {
2440
+ "kind": "Content",
2441
+ "text": "protected _addHook(hooks: "
2442
+ },
2443
+ {
2444
+ "kind": "Reference",
2445
+ "text": "IInstrumentHook",
2446
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHook:interface"
2447
+ },
2448
+ {
2449
+ "kind": "Content",
2450
+ "text": " | "
2451
+ },
2452
+ {
2453
+ "kind": "Reference",
2454
+ "text": "IInstrumentHook",
2455
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHook:interface"
2456
+ },
2457
+ {
2458
+ "kind": "Content",
2459
+ "text": "[]"
2460
+ },
2461
+ {
2462
+ "kind": "Content",
2463
+ "text": "): "
2464
+ },
2465
+ {
2466
+ "kind": "Content",
2467
+ "text": "void"
2468
+ },
2469
+ {
2470
+ "kind": "Content",
2471
+ "text": ";"
2472
+ }
2473
+ ],
2474
+ "isOptional": false,
2475
+ "isStatic": false,
2476
+ "returnTypeTokenRange": {
2477
+ "startIndex": 6,
2478
+ "endIndex": 7
2479
+ },
2480
+ "releaseTag": "Public",
2481
+ "overloadIndex": 1,
2482
+ "parameters": [
2483
+ {
2484
+ "parameterName": "hooks",
2485
+ "parameterTypeTokenRange": {
2486
+ "startIndex": 1,
2487
+ "endIndex": 5
2488
+ }
2489
+ }
2490
+ ],
2491
+ "name": "_addHook"
2492
+ },
2290
2493
  {
2291
2494
  "kind": "Property",
2292
2495
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#_getTelCtx:member",
@@ -2987,6 +3190,99 @@
2987
3190
  ],
2988
3191
  "name": "createCookieMgr"
2989
3192
  },
3193
+ {
3194
+ "kind": "Function",
3195
+ "canonicalReference": "@microsoft/applicationinsights-core-js!createProcessTelemetryContext:function(1)",
3196
+ "docComment": "/**\n * Creates a new Telemetry Item context with the current config, core and plugin execution chain\n *\n * @param plugins - The plugin instances that will be executed\n *\n * @param config - The current config\n *\n * @param core - The current core instance\n */\n",
3197
+ "excerptTokens": [
3198
+ {
3199
+ "kind": "Content",
3200
+ "text": "export declare function createProcessTelemetryContext(telemetryChain: "
3201
+ },
3202
+ {
3203
+ "kind": "Reference",
3204
+ "text": "ITelemetryPluginChain",
3205
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
3206
+ },
3207
+ {
3208
+ "kind": "Content",
3209
+ "text": ", config: "
3210
+ },
3211
+ {
3212
+ "kind": "Reference",
3213
+ "text": "IConfiguration",
3214
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
3215
+ },
3216
+ {
3217
+ "kind": "Content",
3218
+ "text": ", core: "
3219
+ },
3220
+ {
3221
+ "kind": "Reference",
3222
+ "text": "IAppInsightsCore",
3223
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
3224
+ },
3225
+ {
3226
+ "kind": "Content",
3227
+ "text": ", startAt?: "
3228
+ },
3229
+ {
3230
+ "kind": "Reference",
3231
+ "text": "IPlugin",
3232
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
3233
+ },
3234
+ {
3235
+ "kind": "Content",
3236
+ "text": "): "
3237
+ },
3238
+ {
3239
+ "kind": "Reference",
3240
+ "text": "IProcessTelemetryContext",
3241
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
3242
+ },
3243
+ {
3244
+ "kind": "Content",
3245
+ "text": ";"
3246
+ }
3247
+ ],
3248
+ "returnTypeTokenRange": {
3249
+ "startIndex": 9,
3250
+ "endIndex": 10
3251
+ },
3252
+ "releaseTag": "Public",
3253
+ "overloadIndex": 1,
3254
+ "parameters": [
3255
+ {
3256
+ "parameterName": "telemetryChain",
3257
+ "parameterTypeTokenRange": {
3258
+ "startIndex": 1,
3259
+ "endIndex": 2
3260
+ }
3261
+ },
3262
+ {
3263
+ "parameterName": "config",
3264
+ "parameterTypeTokenRange": {
3265
+ "startIndex": 3,
3266
+ "endIndex": 4
3267
+ }
3268
+ },
3269
+ {
3270
+ "parameterName": "core",
3271
+ "parameterTypeTokenRange": {
3272
+ "startIndex": 5,
3273
+ "endIndex": 6
3274
+ }
3275
+ },
3276
+ {
3277
+ "parameterName": "startAt",
3278
+ "parameterTypeTokenRange": {
3279
+ "startIndex": 7,
3280
+ "endIndex": 8
3281
+ }
3282
+ }
3283
+ ],
3284
+ "name": "createProcessTelemetryContext"
3285
+ },
2990
3286
  {
2991
3287
  "kind": "Function",
2992
3288
  "canonicalReference": "@microsoft/applicationinsights-core-js!dateNow:function(1)",
@@ -4249,6 +4545,84 @@
4249
4545
  ],
4250
4546
  "name": "getExceptionName"
4251
4547
  },
4548
+ {
4549
+ "kind": "Enum",
4550
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType:enum",
4551
+ "docComment": "",
4552
+ "excerptTokens": [
4553
+ {
4554
+ "kind": "Content",
4555
+ "text": "export declare const enum GetExtCfgMergeType "
4556
+ }
4557
+ ],
4558
+ "releaseTag": "Public",
4559
+ "name": "GetExtCfgMergeType",
4560
+ "members": [
4561
+ {
4562
+ "kind": "EnumMember",
4563
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType.MergeDefaultFromRootOrDefault:member",
4564
+ "docComment": "",
4565
+ "excerptTokens": [
4566
+ {
4567
+ "kind": "Content",
4568
+ "text": "MergeDefaultFromRootOrDefault = "
4569
+ },
4570
+ {
4571
+ "kind": "Content",
4572
+ "text": "2"
4573
+ }
4574
+ ],
4575
+ "releaseTag": "Public",
4576
+ "name": "MergeDefaultFromRootOrDefault",
4577
+ "initializerTokenRange": {
4578
+ "startIndex": 1,
4579
+ "endIndex": 2
4580
+ }
4581
+ },
4582
+ {
4583
+ "kind": "EnumMember",
4584
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType.MergeDefaultOnly:member",
4585
+ "docComment": "",
4586
+ "excerptTokens": [
4587
+ {
4588
+ "kind": "Content",
4589
+ "text": "MergeDefaultOnly = "
4590
+ },
4591
+ {
4592
+ "kind": "Content",
4593
+ "text": "1"
4594
+ }
4595
+ ],
4596
+ "releaseTag": "Public",
4597
+ "name": "MergeDefaultOnly",
4598
+ "initializerTokenRange": {
4599
+ "startIndex": 1,
4600
+ "endIndex": 2
4601
+ }
4602
+ },
4603
+ {
4604
+ "kind": "EnumMember",
4605
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType.None:member",
4606
+ "docComment": "",
4607
+ "excerptTokens": [
4608
+ {
4609
+ "kind": "Content",
4610
+ "text": "None = "
4611
+ },
4612
+ {
4613
+ "kind": "Content",
4614
+ "text": "0"
4615
+ }
4616
+ ],
4617
+ "releaseTag": "Public",
4618
+ "name": "None",
4619
+ "initializerTokenRange": {
4620
+ "startIndex": 1,
4621
+ "endIndex": 2
4622
+ }
4623
+ }
4624
+ ]
4625
+ },
4252
4626
  {
4253
4627
  "kind": "Function",
4254
4628
  "canonicalReference": "@microsoft/applicationinsights-core-js!getGblPerfMgr:function(1)",
@@ -4981,6 +5355,56 @@
4981
5355
  ],
4982
5356
  "name": "addNotificationListener"
4983
5357
  },
5358
+ {
5359
+ "kind": "MethodSignature",
5360
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#addTelemetryInitializer:member(1)",
5361
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
5362
+ "excerptTokens": [
5363
+ {
5364
+ "kind": "Content",
5365
+ "text": "addTelemetryInitializer(telemetryInitializer: "
5366
+ },
5367
+ {
5368
+ "kind": "Reference",
5369
+ "text": "TelemetryInitializerFunction",
5370
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryInitializerFunction:type"
5371
+ },
5372
+ {
5373
+ "kind": "Content",
5374
+ "text": "): "
5375
+ },
5376
+ {
5377
+ "kind": "Reference",
5378
+ "text": "ITelemetryInitializerHandler",
5379
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerHandler:interface"
5380
+ },
5381
+ {
5382
+ "kind": "Content",
5383
+ "text": " | void"
5384
+ },
5385
+ {
5386
+ "kind": "Content",
5387
+ "text": ";"
5388
+ }
5389
+ ],
5390
+ "isOptional": false,
5391
+ "returnTypeTokenRange": {
5392
+ "startIndex": 3,
5393
+ "endIndex": 5
5394
+ },
5395
+ "releaseTag": "Public",
5396
+ "overloadIndex": 1,
5397
+ "parameters": [
5398
+ {
5399
+ "parameterName": "telemetryInitializer",
5400
+ "parameterTypeTokenRange": {
5401
+ "startIndex": 1,
5402
+ "endIndex": 2
5403
+ }
5404
+ }
5405
+ ],
5406
+ "name": "addTelemetryInitializer"
5407
+ },
4984
5408
  {
4985
5409
  "kind": "PropertySignature",
4986
5410
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#config:member",
@@ -5044,12 +5468,75 @@
5044
5468
  "excerptTokens": [
5045
5469
  {
5046
5470
  "kind": "Content",
5047
- "text": "getNotifyMgr(): "
5471
+ "text": "getNotifyMgr(): "
5472
+ },
5473
+ {
5474
+ "kind": "Reference",
5475
+ "text": "INotificationManager",
5476
+ "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationManager:interface"
5477
+ },
5478
+ {
5479
+ "kind": "Content",
5480
+ "text": ";"
5481
+ }
5482
+ ],
5483
+ "isOptional": false,
5484
+ "returnTypeTokenRange": {
5485
+ "startIndex": 1,
5486
+ "endIndex": 2
5487
+ },
5488
+ "releaseTag": "Public",
5489
+ "overloadIndex": 1,
5490
+ "parameters": [],
5491
+ "name": "getNotifyMgr"
5492
+ },
5493
+ {
5494
+ "kind": "MethodSignature",
5495
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getPlugin:member(1)",
5496
+ "docComment": "/**\n * Find and return the (first) plugin with the specified identifier if present\n *\n * @param pluginIdentifier - \n */\n",
5497
+ "excerptTokens": [
5498
+ {
5499
+ "kind": "Content",
5500
+ "text": "getPlugin<T extends "
5501
+ },
5502
+ {
5503
+ "kind": "Reference",
5504
+ "text": "IPlugin",
5505
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
5506
+ },
5507
+ {
5508
+ "kind": "Content",
5509
+ "text": " "
5510
+ },
5511
+ {
5512
+ "kind": "Content",
5513
+ "text": "= "
5048
5514
  },
5049
5515
  {
5050
5516
  "kind": "Reference",
5051
- "text": "INotificationManager",
5052
- "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationManager:interface"
5517
+ "text": "IPlugin",
5518
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
5519
+ },
5520
+ {
5521
+ "kind": "Content",
5522
+ "text": ">(pluginIdentifier: "
5523
+ },
5524
+ {
5525
+ "kind": "Content",
5526
+ "text": "string"
5527
+ },
5528
+ {
5529
+ "kind": "Content",
5530
+ "text": "): "
5531
+ },
5532
+ {
5533
+ "kind": "Reference",
5534
+ "text": "ILoadedPlugin",
5535
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ILoadedPlugin:interface"
5536
+ },
5537
+ {
5538
+ "kind": "Content",
5539
+ "text": "<T>"
5053
5540
  },
5054
5541
  {
5055
5542
  "kind": "Content",
@@ -5058,13 +5545,34 @@
5058
5545
  ],
5059
5546
  "isOptional": false,
5060
5547
  "returnTypeTokenRange": {
5061
- "startIndex": 1,
5062
- "endIndex": 2
5548
+ "startIndex": 8,
5549
+ "endIndex": 10
5063
5550
  },
5064
5551
  "releaseTag": "Public",
5065
5552
  "overloadIndex": 1,
5066
- "parameters": [],
5067
- "name": "getNotifyMgr"
5553
+ "parameters": [
5554
+ {
5555
+ "parameterName": "pluginIdentifier",
5556
+ "parameterTypeTokenRange": {
5557
+ "startIndex": 6,
5558
+ "endIndex": 7
5559
+ }
5560
+ }
5561
+ ],
5562
+ "typeParameters": [
5563
+ {
5564
+ "typeParameterName": "T",
5565
+ "constraintTokenRange": {
5566
+ "startIndex": 1,
5567
+ "endIndex": 3
5568
+ },
5569
+ "defaultTypeTokenRange": {
5570
+ "startIndex": 4,
5571
+ "endIndex": 5
5572
+ }
5573
+ }
5574
+ ],
5575
+ "name": "getPlugin"
5068
5576
  },
5069
5577
  {
5070
5578
  "kind": "MethodSignature",
@@ -5518,7 +6026,7 @@
5518
6026
  {
5519
6027
  "kind": "MethodSignature",
5520
6028
  "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls#flush:member(1)",
5521
- "docComment": "/**\n * Flush to send data immediately; channel should default to sending data asynchronously\n *\n * @param async - : send data asynchronously when true\n *\n * @param callBack - : if specified, notify caller when send is complete\n */\n",
6029
+ "docComment": "/**\n * Flush to send data immediately; channel should default to sending data asynchronously\n *\n * @param async - send data asynchronously when true\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
5522
6030
  "excerptTokens": [
5523
6031
  {
5524
6032
  "kind": "Content",
@@ -5534,7 +6042,16 @@
5534
6042
  },
5535
6043
  {
5536
6044
  "kind": "Content",
5537
- "text": "() => void"
6045
+ "text": "(flushComplete?: boolean) => void"
6046
+ },
6047
+ {
6048
+ "kind": "Content",
6049
+ "text": ", sendReason?: "
6050
+ },
6051
+ {
6052
+ "kind": "Reference",
6053
+ "text": "SendRequestReason",
6054
+ "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum"
5538
6055
  },
5539
6056
  {
5540
6057
  "kind": "Content",
@@ -5542,7 +6059,7 @@
5542
6059
  },
5543
6060
  {
5544
6061
  "kind": "Content",
5545
- "text": "void"
6062
+ "text": "boolean | void"
5546
6063
  },
5547
6064
  {
5548
6065
  "kind": "Content",
@@ -5551,8 +6068,8 @@
5551
6068
  ],
5552
6069
  "isOptional": false,
5553
6070
  "returnTypeTokenRange": {
5554
- "startIndex": 5,
5555
- "endIndex": 6
6071
+ "startIndex": 7,
6072
+ "endIndex": 8
5556
6073
  },
5557
6074
  "releaseTag": "Public",
5558
6075
  "overloadIndex": 1,
@@ -5570,6 +6087,13 @@
5570
6087
  "startIndex": 3,
5571
6088
  "endIndex": 4
5572
6089
  }
6090
+ },
6091
+ {
6092
+ "parameterName": "sendReason",
6093
+ "parameterTypeTokenRange": {
6094
+ "startIndex": 5,
6095
+ "endIndex": 6
6096
+ }
5573
6097
  }
5574
6098
  ],
5575
6099
  "name": "flush"
@@ -8696,6 +9220,33 @@
8696
9220
  "endIndex": 2
8697
9221
  }
8698
9222
  },
9223
+ {
9224
+ "kind": "PropertySignature",
9225
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentCallDetails#evt:member",
9226
+ "docComment": "/**\n * The Event object from (window.event) at the start of the original call\n */\n",
9227
+ "excerptTokens": [
9228
+ {
9229
+ "kind": "Content",
9230
+ "text": "evt?: "
9231
+ },
9232
+ {
9233
+ "kind": "Reference",
9234
+ "text": "Event",
9235
+ "canonicalReference": "!Event:interface"
9236
+ },
9237
+ {
9238
+ "kind": "Content",
9239
+ "text": ";"
9240
+ }
9241
+ ],
9242
+ "isOptional": true,
9243
+ "releaseTag": "Public",
9244
+ "name": "evt",
9245
+ "propertyTypeTokenRange": {
9246
+ "startIndex": 1,
9247
+ "endIndex": 2
9248
+ }
9249
+ },
8699
9250
  {
8700
9251
  "kind": "PropertySignature",
8701
9252
  "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentCallDetails#inst:member",
@@ -9158,8 +9709,8 @@
9158
9709
  },
9159
9710
  {
9160
9711
  "kind": "Reference",
9161
- "text": "ProcessTelemetryContext",
9162
- "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext:class"
9712
+ "text": "IProcessTelemetryContext",
9713
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
9163
9714
  },
9164
9715
  {
9165
9716
  "kind": "Content",
@@ -11108,7 +11659,39 @@
11108
11659
  },
11109
11660
  {
11110
11661
  "kind": "Content",
11111
- "text": "(identifier: string, field: string, defaultValue?: number | string | boolean) => number | string | boolean"
11662
+ "text": "(identifier: string, field: string, defaultValue?: number | string | boolean | string[] | "
11663
+ },
11664
+ {
11665
+ "kind": "Reference",
11666
+ "text": "RegExp",
11667
+ "canonicalReference": "!RegExp:interface"
11668
+ },
11669
+ {
11670
+ "kind": "Content",
11671
+ "text": "[] | "
11672
+ },
11673
+ {
11674
+ "kind": "Reference",
11675
+ "text": "Function",
11676
+ "canonicalReference": "!Function:interface"
11677
+ },
11678
+ {
11679
+ "kind": "Content",
11680
+ "text": ") => number | string | boolean | string[] | "
11681
+ },
11682
+ {
11683
+ "kind": "Reference",
11684
+ "text": "RegExp",
11685
+ "canonicalReference": "!RegExp:interface"
11686
+ },
11687
+ {
11688
+ "kind": "Content",
11689
+ "text": "[] | "
11690
+ },
11691
+ {
11692
+ "kind": "Reference",
11693
+ "text": "Function",
11694
+ "canonicalReference": "!Function:interface"
11112
11695
  },
11113
11696
  {
11114
11697
  "kind": "Content",
@@ -11120,7 +11703,7 @@
11120
11703
  "name": "getConfig",
11121
11704
  "propertyTypeTokenRange": {
11122
11705
  "startIndex": 1,
11123
- "endIndex": 2
11706
+ "endIndex": 9
11124
11707
  }
11125
11708
  },
11126
11709
  {
@@ -11134,7 +11717,16 @@
11134
11717
  },
11135
11718
  {
11136
11719
  "kind": "Content",
11137
- "text": "<T>(identifier: string, defaultValue?: T | any) => T"
11720
+ "text": "<T>(identifier: string, defaultValue?: T | any, mergeDefault?: "
11721
+ },
11722
+ {
11723
+ "kind": "Reference",
11724
+ "text": "GetExtCfgMergeType",
11725
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType:enum"
11726
+ },
11727
+ {
11728
+ "kind": "Content",
11729
+ "text": ") => T"
11138
11730
  },
11139
11731
  {
11140
11732
  "kind": "Content",
@@ -11146,7 +11738,7 @@
11146
11738
  "name": "getExtCfg",
11147
11739
  "propertyTypeTokenRange": {
11148
11740
  "startIndex": 1,
11149
- "endIndex": 2
11741
+ "endIndex": 4
11150
11742
  }
11151
11743
  },
11152
11744
  {
@@ -11206,6 +11798,76 @@
11206
11798
  "endIndex": 2
11207
11799
  }
11208
11800
  },
11801
+ {
11802
+ "kind": "PropertySignature",
11803
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#iterate:member",
11804
+ "docComment": "/**\n * Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.\n *\n * @param callback - The function call for each plugin in the context chain\n */\n",
11805
+ "excerptTokens": [
11806
+ {
11807
+ "kind": "Content",
11808
+ "text": "iterate: "
11809
+ },
11810
+ {
11811
+ "kind": "Content",
11812
+ "text": "<T extends "
11813
+ },
11814
+ {
11815
+ "kind": "Reference",
11816
+ "text": "ITelemetryPlugin",
11817
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
11818
+ },
11819
+ {
11820
+ "kind": "Content",
11821
+ "text": " = "
11822
+ },
11823
+ {
11824
+ "kind": "Reference",
11825
+ "text": "ITelemetryPlugin",
11826
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
11827
+ },
11828
+ {
11829
+ "kind": "Content",
11830
+ "text": ">(callback: (plugin: T) => void) => void"
11831
+ },
11832
+ {
11833
+ "kind": "Content",
11834
+ "text": ";"
11835
+ }
11836
+ ],
11837
+ "isOptional": false,
11838
+ "releaseTag": "Public",
11839
+ "name": "iterate",
11840
+ "propertyTypeTokenRange": {
11841
+ "startIndex": 1,
11842
+ "endIndex": 6
11843
+ }
11844
+ },
11845
+ {
11846
+ "kind": "PropertySignature",
11847
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#onComplete:member",
11848
+ "docComment": "/**\n * Set the function to call when the current chain has executed all processNext or unloadNext items.\n */\n",
11849
+ "excerptTokens": [
11850
+ {
11851
+ "kind": "Content",
11852
+ "text": "onComplete: "
11853
+ },
11854
+ {
11855
+ "kind": "Content",
11856
+ "text": "(onComplete: () => void) => void"
11857
+ },
11858
+ {
11859
+ "kind": "Content",
11860
+ "text": ";"
11861
+ }
11862
+ ],
11863
+ "isOptional": false,
11864
+ "releaseTag": "Public",
11865
+ "name": "onComplete",
11866
+ "propertyTypeTokenRange": {
11867
+ "startIndex": 1,
11868
+ "endIndex": 2
11869
+ }
11870
+ },
11209
11871
  {
11210
11872
  "kind": "PropertySignature",
11211
11873
  "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#processNext:member",
@@ -11282,7 +11944,7 @@
11282
11944
  {
11283
11945
  "kind": "Variable",
11284
11946
  "canonicalReference": "@microsoft/applicationinsights-core-js!isArray:var",
11285
- "docComment": "/**\n * Check if an object is of type Array\n */\n",
11947
+ "docComment": "/**\n * Check if an object is of type Array with optional generic T, the generic type is not validated and exists to help with TypeScript validation only.\n */\n",
11286
11948
  "excerptTokens": [
11287
11949
  {
11288
11950
  "kind": "Content",
@@ -12188,34 +12850,144 @@
12188
12850
  }
12189
12851
  }
12190
12852
  ],
12191
- "name": "isUndefined"
12853
+ "name": "isUndefined"
12854
+ },
12855
+ {
12856
+ "kind": "Function",
12857
+ "canonicalReference": "@microsoft/applicationinsights-core-js!isXhrSupported:function(1)",
12858
+ "docComment": "/**\n * Checks if XMLHttpRequest is supported\n *\n * @returns True if supported, otherwise false\n */\n",
12859
+ "excerptTokens": [
12860
+ {
12861
+ "kind": "Content",
12862
+ "text": "export declare function isXhrSupported(): "
12863
+ },
12864
+ {
12865
+ "kind": "Content",
12866
+ "text": "boolean"
12867
+ },
12868
+ {
12869
+ "kind": "Content",
12870
+ "text": ";"
12871
+ }
12872
+ ],
12873
+ "returnTypeTokenRange": {
12874
+ "startIndex": 1,
12875
+ "endIndex": 2
12876
+ },
12877
+ "releaseTag": "Public",
12878
+ "overloadIndex": 1,
12879
+ "parameters": [],
12880
+ "name": "isXhrSupported"
12881
+ },
12882
+ {
12883
+ "kind": "Interface",
12884
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerContainer:interface",
12885
+ "docComment": "",
12886
+ "excerptTokens": [
12887
+ {
12888
+ "kind": "Content",
12889
+ "text": "export interface ITelemetryInitializerContainer "
12890
+ }
12891
+ ],
12892
+ "releaseTag": "Public",
12893
+ "name": "ITelemetryInitializerContainer",
12894
+ "members": [
12895
+ {
12896
+ "kind": "MethodSignature",
12897
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerContainer#addTelemetryInitializer:member(1)",
12898
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
12899
+ "excerptTokens": [
12900
+ {
12901
+ "kind": "Content",
12902
+ "text": "addTelemetryInitializer(telemetryInitializer: "
12903
+ },
12904
+ {
12905
+ "kind": "Reference",
12906
+ "text": "TelemetryInitializerFunction",
12907
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryInitializerFunction:type"
12908
+ },
12909
+ {
12910
+ "kind": "Content",
12911
+ "text": "): "
12912
+ },
12913
+ {
12914
+ "kind": "Reference",
12915
+ "text": "ITelemetryInitializerHandler",
12916
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerHandler:interface"
12917
+ },
12918
+ {
12919
+ "kind": "Content",
12920
+ "text": " | void"
12921
+ },
12922
+ {
12923
+ "kind": "Content",
12924
+ "text": ";"
12925
+ }
12926
+ ],
12927
+ "isOptional": false,
12928
+ "returnTypeTokenRange": {
12929
+ "startIndex": 3,
12930
+ "endIndex": 5
12931
+ },
12932
+ "releaseTag": "Public",
12933
+ "overloadIndex": 1,
12934
+ "parameters": [
12935
+ {
12936
+ "parameterName": "telemetryInitializer",
12937
+ "parameterTypeTokenRange": {
12938
+ "startIndex": 1,
12939
+ "endIndex": 2
12940
+ }
12941
+ }
12942
+ ],
12943
+ "name": "addTelemetryInitializer"
12944
+ }
12945
+ ],
12946
+ "extendsTokenRanges": []
12192
12947
  },
12193
12948
  {
12194
- "kind": "Function",
12195
- "canonicalReference": "@microsoft/applicationinsights-core-js!isXhrSupported:function(1)",
12196
- "docComment": "/**\n * Checks if XMLHttpRequest is supported\n *\n * @returns True if supported, otherwise false\n */\n",
12949
+ "kind": "Interface",
12950
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerHandler:interface",
12951
+ "docComment": "",
12197
12952
  "excerptTokens": [
12198
12953
  {
12199
12954
  "kind": "Content",
12200
- "text": "export declare function isXhrSupported(): "
12201
- },
12202
- {
12203
- "kind": "Content",
12204
- "text": "boolean"
12205
- },
12206
- {
12207
- "kind": "Content",
12208
- "text": ";"
12955
+ "text": "export interface ITelemetryInitializerHandler "
12209
12956
  }
12210
12957
  ],
12211
- "returnTypeTokenRange": {
12212
- "startIndex": 1,
12213
- "endIndex": 2
12214
- },
12215
12958
  "releaseTag": "Public",
12216
- "overloadIndex": 1,
12217
- "parameters": [],
12218
- "name": "isXhrSupported"
12959
+ "name": "ITelemetryInitializerHandler",
12960
+ "members": [
12961
+ {
12962
+ "kind": "MethodSignature",
12963
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryInitializerHandler#remove:member(1)",
12964
+ "docComment": "",
12965
+ "excerptTokens": [
12966
+ {
12967
+ "kind": "Content",
12968
+ "text": "remove(): "
12969
+ },
12970
+ {
12971
+ "kind": "Content",
12972
+ "text": "void"
12973
+ },
12974
+ {
12975
+ "kind": "Content",
12976
+ "text": ";"
12977
+ }
12978
+ ],
12979
+ "isOptional": false,
12980
+ "returnTypeTokenRange": {
12981
+ "startIndex": 1,
12982
+ "endIndex": 2
12983
+ },
12984
+ "releaseTag": "Public",
12985
+ "overloadIndex": 1,
12986
+ "parameters": [],
12987
+ "name": "remove"
12988
+ }
12989
+ ],
12990
+ "extendsTokenRanges": []
12219
12991
  },
12220
12992
  {
12221
12993
  "kind": "Interface",
@@ -13539,19 +14311,27 @@
13539
14311
  "excerptTokens": [
13540
14312
  {
13541
14313
  "kind": "Content",
13542
- "text": "export declare function objForEachKey(target: "
14314
+ "text": "export declare function objForEachKey<T = "
13543
14315
  },
13544
14316
  {
13545
14317
  "kind": "Content",
13546
14318
  "text": "any"
13547
14319
  },
14320
+ {
14321
+ "kind": "Content",
14322
+ "text": ">(target: "
14323
+ },
14324
+ {
14325
+ "kind": "Content",
14326
+ "text": "T"
14327
+ },
13548
14328
  {
13549
14329
  "kind": "Content",
13550
14330
  "text": ", callbackfn: "
13551
14331
  },
13552
14332
  {
13553
14333
  "kind": "Content",
13554
- "text": "(name: string, value: any) => void"
14334
+ "text": "(name: string, value: T[keyof T]) => void"
13555
14335
  },
13556
14336
  {
13557
14337
  "kind": "Content",
@@ -13567,8 +14347,8 @@
13567
14347
  }
13568
14348
  ],
13569
14349
  "returnTypeTokenRange": {
13570
- "startIndex": 5,
13571
- "endIndex": 6
14350
+ "startIndex": 7,
14351
+ "endIndex": 8
13572
14352
  },
13573
14353
  "releaseTag": "Public",
13574
14354
  "overloadIndex": 1,
@@ -13576,15 +14356,28 @@
13576
14356
  {
13577
14357
  "parameterName": "target",
13578
14358
  "parameterTypeTokenRange": {
13579
- "startIndex": 1,
13580
- "endIndex": 2
14359
+ "startIndex": 3,
14360
+ "endIndex": 4
13581
14361
  }
13582
14362
  },
13583
14363
  {
13584
14364
  "parameterName": "callbackfn",
13585
14365
  "parameterTypeTokenRange": {
13586
- "startIndex": 3,
13587
- "endIndex": 4
14366
+ "startIndex": 5,
14367
+ "endIndex": 6
14368
+ }
14369
+ }
14370
+ ],
14371
+ "typeParameters": [
14372
+ {
14373
+ "typeParameterName": "T",
14374
+ "constraintTokenRange": {
14375
+ "startIndex": 0,
14376
+ "endIndex": 0
14377
+ },
14378
+ "defaultTypeTokenRange": {
14379
+ "startIndex": 1,
14380
+ "endIndex": 2
13588
14381
  }
13589
14382
  }
13590
14383
  ],
@@ -14467,7 +15260,7 @@
14467
15260
  {
14468
15261
  "kind": "Class",
14469
15262
  "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext:class",
14470
- "docComment": "",
15263
+ "docComment": "/**\n * This class will be removed!\n *\n * @deprecated\n *\n * use createProcessTelemetryContext() instead\n */\n",
14471
15264
  "excerptTokens": [
14472
15265
  {
14473
15266
  "kind": "Content",
@@ -14493,16 +15286,7 @@
14493
15286
  "excerptTokens": [
14494
15287
  {
14495
15288
  "kind": "Content",
14496
- "text": "constructor(plugins: "
14497
- },
14498
- {
14499
- "kind": "Reference",
14500
- "text": "IPlugin",
14501
- "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
14502
- },
14503
- {
14504
- "kind": "Content",
14505
- "text": "[] | "
15289
+ "text": "constructor(pluginChain: "
14506
15290
  },
14507
15291
  {
14508
15292
  "kind": "Reference",
@@ -14545,31 +15329,31 @@
14545
15329
  "overloadIndex": 1,
14546
15330
  "parameters": [
14547
15331
  {
14548
- "parameterName": "plugins",
15332
+ "parameterName": "pluginChain",
14549
15333
  "parameterTypeTokenRange": {
14550
15334
  "startIndex": 1,
14551
- "endIndex": 4
15335
+ "endIndex": 2
14552
15336
  }
14553
15337
  },
14554
15338
  {
14555
15339
  "parameterName": "config",
14556
15340
  "parameterTypeTokenRange": {
14557
- "startIndex": 5,
14558
- "endIndex": 6
15341
+ "startIndex": 3,
15342
+ "endIndex": 4
14559
15343
  }
14560
15344
  },
14561
15345
  {
14562
15346
  "parameterName": "core",
14563
15347
  "parameterTypeTokenRange": {
14564
- "startIndex": 7,
14565
- "endIndex": 8
15348
+ "startIndex": 5,
15349
+ "endIndex": 6
14566
15350
  }
14567
15351
  },
14568
15352
  {
14569
15353
  "parameterName": "startAt",
14570
15354
  "parameterTypeTokenRange": {
14571
- "startIndex": 9,
14572
- "endIndex": 10
15355
+ "startIndex": 7,
15356
+ "endIndex": 8
14573
15357
  }
14574
15358
  }
14575
15359
  ]
@@ -14609,7 +15393,7 @@
14609
15393
  {
14610
15394
  "kind": "Property",
14611
15395
  "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#createNew:member",
14612
- "docComment": "/**\n * Create a new context using the core and config from the current instance\n */\n",
15396
+ "docComment": "/**\n * /** Create a new context using the core and config from the current instance\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n",
14613
15397
  "excerptTokens": [
14614
15398
  {
14615
15399
  "kind": "Content",
@@ -14842,6 +15626,78 @@
14842
15626
  },
14843
15627
  "isStatic": false
14844
15628
  },
15629
+ {
15630
+ "kind": "Property",
15631
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#iterate:member",
15632
+ "docComment": "/**\n * Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.\n *\n * @param callback - The function call for each plugin in the context chain\n */\n",
15633
+ "excerptTokens": [
15634
+ {
15635
+ "kind": "Content",
15636
+ "text": "iterate: "
15637
+ },
15638
+ {
15639
+ "kind": "Content",
15640
+ "text": "<T extends "
15641
+ },
15642
+ {
15643
+ "kind": "Reference",
15644
+ "text": "ITelemetryPlugin",
15645
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
15646
+ },
15647
+ {
15648
+ "kind": "Content",
15649
+ "text": " = "
15650
+ },
15651
+ {
15652
+ "kind": "Reference",
15653
+ "text": "ITelemetryPlugin",
15654
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
15655
+ },
15656
+ {
15657
+ "kind": "Content",
15658
+ "text": ">(callback: (plugin: T) => void) => void"
15659
+ },
15660
+ {
15661
+ "kind": "Content",
15662
+ "text": ";"
15663
+ }
15664
+ ],
15665
+ "isOptional": false,
15666
+ "releaseTag": "Public",
15667
+ "name": "iterate",
15668
+ "propertyTypeTokenRange": {
15669
+ "startIndex": 1,
15670
+ "endIndex": 6
15671
+ },
15672
+ "isStatic": false
15673
+ },
15674
+ {
15675
+ "kind": "Property",
15676
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#onComplete:member",
15677
+ "docComment": "/**\n * Set the function to call when the current chain has executed all processNext or unloadNext items.\n */\n",
15678
+ "excerptTokens": [
15679
+ {
15680
+ "kind": "Content",
15681
+ "text": "onComplete: "
15682
+ },
15683
+ {
15684
+ "kind": "Content",
15685
+ "text": "(onComplete: () => void) => void"
15686
+ },
15687
+ {
15688
+ "kind": "Content",
15689
+ "text": ";"
15690
+ }
15691
+ ],
15692
+ "isOptional": false,
15693
+ "releaseTag": "Public",
15694
+ "name": "onComplete",
15695
+ "propertyTypeTokenRange": {
15696
+ "startIndex": 1,
15697
+ "endIndex": 2
15698
+ },
15699
+ "isStatic": false
15700
+ },
14845
15701
  {
14846
15702
  "kind": "Property",
14847
15703
  "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#processNext:member",
@@ -14925,15 +15781,15 @@
14925
15781
  {
14926
15782
  "kind": "Function",
14927
15783
  "canonicalReference": "@microsoft/applicationinsights-core-js!proxyAssign:function(1)",
14928
- "docComment": "/**\n * Effectively assigns all enumerable properties (not just own properties) and functions (including inherited prototype) from the source object to the target, it attempts to use proxy getters / setters (if possible) and proxy functions to avoid potential implementation issues by assigning prototype functions as instance ones\n *\n * This method is the primary method used to \"update\" the snippet proxy with the ultimate implementations.\n *\n * Special ES3 Notes: Updates (setting) of direct property values on the target or indirectly on the source object WILL NOT WORK PROPERLY, updates to the properties of \"referenced\" object will work (target.context.newValue = 10 => will be reflected in the source.context as it's the same object). ES3 Failures: assigning target.myProp = 3 -> Won't change source.myProp = 3, likewise the reverse would also fail.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param chkSet - An optional callback to determine whether a specific property/function should be proxied @memberof Initialization\n */\n",
15784
+ "docComment": "/**\n * Effectively assigns all enumerable properties (not just own properties) and functions (including inherited prototype) from the source object to the target, it attempts to use proxy getters / setters (if possible) and proxy functions to avoid potential implementation issues by assigning prototype functions as instance ones\n *\n * This method is the primary method used to \"update\" the snippet proxy with the ultimate implementations.\n *\n * Special ES3 Notes: Updates (setting) of direct property values on the target or indirectly on the source object WILL NOT WORK PROPERLY, updates to the properties of \"referenced\" object will work (target.context.newValue = 10 => will be reflected in the source.context as it's the same object). ES3 Failures: assigning target.myProp = 3 -> Won't change source.myProp = 3, likewise the reverse would also fail.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param chkSet - An optional callback to determine whether a specific property/function should be proxied\n */\n",
14929
15785
  "excerptTokens": [
14930
15786
  {
14931
15787
  "kind": "Content",
14932
- "text": "export declare function proxyAssign(target: "
15788
+ "text": "export declare function proxyAssign<T, S>(target: "
14933
15789
  },
14934
15790
  {
14935
15791
  "kind": "Content",
14936
- "text": "any"
15792
+ "text": "T"
14937
15793
  },
14938
15794
  {
14939
15795
  "kind": "Content",
@@ -14941,7 +15797,7 @@
14941
15797
  },
14942
15798
  {
14943
15799
  "kind": "Content",
14944
- "text": "any"
15800
+ "text": "S"
14945
15801
  },
14946
15802
  {
14947
15803
  "kind": "Content",
@@ -14949,7 +15805,7 @@
14949
15805
  },
14950
15806
  {
14951
15807
  "kind": "Content",
14952
- "text": "(name: string, isFunc?: boolean, source?: any, target?: any) => boolean"
15808
+ "text": "(name: string, isFunc?: boolean, source?: S, target?: T) => boolean"
14953
15809
  },
14954
15810
  {
14955
15811
  "kind": "Content",
@@ -14957,7 +15813,7 @@
14957
15813
  },
14958
15814
  {
14959
15815
  "kind": "Content",
14960
- "text": "any"
15816
+ "text": "T"
14961
15817
  },
14962
15818
  {
14963
15819
  "kind": "Content",
@@ -14993,6 +15849,30 @@
14993
15849
  }
14994
15850
  }
14995
15851
  ],
15852
+ "typeParameters": [
15853
+ {
15854
+ "typeParameterName": "T",
15855
+ "constraintTokenRange": {
15856
+ "startIndex": 0,
15857
+ "endIndex": 0
15858
+ },
15859
+ "defaultTypeTokenRange": {
15860
+ "startIndex": 0,
15861
+ "endIndex": 0
15862
+ }
15863
+ },
15864
+ {
15865
+ "typeParameterName": "S",
15866
+ "constraintTokenRange": {
15867
+ "startIndex": 0,
15868
+ "endIndex": 0
15869
+ },
15870
+ "defaultTypeTokenRange": {
15871
+ "startIndex": 0,
15872
+ "endIndex": 0
15873
+ }
15874
+ }
15875
+ ],
14996
15876
  "name": "proxyAssign"
14997
15877
  },
14998
15878
  {
@@ -15725,7 +16605,7 @@
15725
16605
  "excerptTokens": [
15726
16606
  {
15727
16607
  "kind": "Content",
15728
- "text": "export declare function sortPlugins(plugins: "
16608
+ "text": "export declare function sortPlugins<T = "
15729
16609
  },
15730
16610
  {
15731
16611
  "kind": "Reference",
@@ -15734,20 +16614,19 @@
15734
16614
  },
15735
16615
  {
15736
16616
  "kind": "Content",
15737
- "text": "[]"
16617
+ "text": ">(plugins: "
15738
16618
  },
15739
16619
  {
15740
16620
  "kind": "Content",
15741
- "text": "): "
16621
+ "text": "T[]"
15742
16622
  },
15743
16623
  {
15744
- "kind": "Reference",
15745
- "text": "IPlugin",
15746
- "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
16624
+ "kind": "Content",
16625
+ "text": "): "
15747
16626
  },
15748
16627
  {
15749
16628
  "kind": "Content",
15750
- "text": "[]"
16629
+ "text": "T[]"
15751
16630
  },
15752
16631
  {
15753
16632
  "kind": "Content",
@@ -15755,7 +16634,7 @@
15755
16634
  }
15756
16635
  ],
15757
16636
  "returnTypeTokenRange": {
15758
- "startIndex": 4,
16637
+ "startIndex": 5,
15759
16638
  "endIndex": 6
15760
16639
  },
15761
16640
  "releaseTag": "Public",
@@ -15764,8 +16643,21 @@
15764
16643
  {
15765
16644
  "parameterName": "plugins",
15766
16645
  "parameterTypeTokenRange": {
16646
+ "startIndex": 3,
16647
+ "endIndex": 4
16648
+ }
16649
+ }
16650
+ ],
16651
+ "typeParameters": [
16652
+ {
16653
+ "typeParameterName": "T",
16654
+ "constraintTokenRange": {
16655
+ "startIndex": 0,
16656
+ "endIndex": 0
16657
+ },
16658
+ "defaultTypeTokenRange": {
15767
16659
  "startIndex": 1,
15768
- "endIndex": 3
16660
+ "endIndex": 2
15769
16661
  }
15770
16662
  }
15771
16663
  ],
@@ -16080,6 +16972,40 @@
16080
16972
  ],
16081
16973
  "extendsTokenRanges": []
16082
16974
  },
16975
+ {
16976
+ "kind": "TypeAlias",
16977
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryInitializerFunction:type",
16978
+ "docComment": "",
16979
+ "excerptTokens": [
16980
+ {
16981
+ "kind": "Content",
16982
+ "text": "export declare type TelemetryInitializerFunction = "
16983
+ },
16984
+ {
16985
+ "kind": "Content",
16986
+ "text": "<T extends "
16987
+ },
16988
+ {
16989
+ "kind": "Reference",
16990
+ "text": "ITelemetryItem",
16991
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
16992
+ },
16993
+ {
16994
+ "kind": "Content",
16995
+ "text": ">(item: T) => boolean | void"
16996
+ },
16997
+ {
16998
+ "kind": "Content",
16999
+ "text": ";"
17000
+ }
17001
+ ],
17002
+ "releaseTag": "Public",
17003
+ "name": "TelemetryInitializerFunction",
17004
+ "typeTokenRange": {
17005
+ "startIndex": 1,
17006
+ "endIndex": 4
17007
+ }
17008
+ },
16083
17009
  {
16084
17010
  "kind": "Function",
16085
17011
  "canonicalReference": "@microsoft/applicationinsights-core-js!throwError:function(1)",