@microsoft/applicationinsights-core-js 3.0.0-beta.2303-11 → 3.0.0-nightly3.2304-28

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 (261) hide show
  1. package/browser/es5/applicationinsights-core-js.cjs.js +5477 -0
  2. package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-core-js.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -0
  5. package/browser/es5/applicationinsights-core-js.gbl.js +5481 -0
  6. package/browser/es5/applicationinsights-core-js.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-core-js.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-core-js.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-core-js.integrity.json +66 -0
  10. package/browser/{applicationinsights-core-js.js → es5/applicationinsights-core-js.js} +259 -223
  11. package/browser/es5/applicationinsights-core-js.js.map +1 -0
  12. package/browser/es5/applicationinsights-core-js.min.js +6 -0
  13. package/browser/es5/applicationinsights-core-js.min.js.map +1 -0
  14. package/dist/{applicationinsights-core-js.js → es5/applicationinsights-core-js.js} +259 -223
  15. package/dist/es5/applicationinsights-core-js.js.map +1 -0
  16. package/dist/es5/applicationinsights-core-js.min.js +6 -0
  17. package/dist/es5/applicationinsights-core-js.min.js.map +1 -0
  18. package/{dist-esm → dist-es5}/Config/ConfigDefaultHelpers.js +1 -1
  19. package/{dist-esm → dist-es5}/Config/ConfigDefaults.js +1 -1
  20. package/{dist-esm → dist-es5}/Config/DynamicConfig.js +1 -1
  21. package/{dist-esm → dist-es5}/Config/DynamicProperty.js +1 -1
  22. package/{dist-esm → dist-es5}/Config/DynamicState.js +1 -1
  23. package/{dist-esm → dist-es5}/Config/DynamicSupport.js +1 -1
  24. package/dist-es5/Config/IConfigDefaults.js +8 -0
  25. package/dist-es5/Config/IDynamicConfigHandler.js +8 -0
  26. package/dist-es5/Config/IDynamicPropertyHandler.js +8 -0
  27. package/dist-es5/Config/IDynamicWatcher.js +8 -0
  28. package/dist-es5/Config/_IDynamicConfigHandlerState.js +6 -0
  29. package/{dist-esm → dist-es5}/JavaScriptSDK/AggregationError.js +2 -2
  30. package/{dist-esm → dist-es5}/JavaScriptSDK/AggregationError.js.map +1 -1
  31. package/{dist-esm → dist-es5}/JavaScriptSDK/AppInsightsCore.js +1 -1
  32. package/{dist-esm → dist-es5}/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  33. package/{dist-esm → dist-es5}/JavaScriptSDK/Constants.js +1 -1
  34. package/{dist-esm → dist-es5}/JavaScriptSDK/CookieMgr.js +14 -8
  35. package/dist-es5/JavaScriptSDK/CookieMgr.js.map +1 -0
  36. package/{dist-esm → dist-es5}/JavaScriptSDK/CoreUtils.js +1 -1
  37. package/{dist-esm → dist-es5}/JavaScriptSDK/DataCacheHelper.js +2 -2
  38. package/dist-es5/JavaScriptSDK/DataCacheHelper.js.map +1 -0
  39. package/{dist-esm → dist-es5}/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  40. package/{dist-esm → dist-es5}/JavaScriptSDK/DiagnosticLogger.js +1 -1
  41. package/{dist-esm → dist-es5}/JavaScriptSDK/EnvUtils.js +1 -1
  42. package/{dist-esm → dist-es5}/JavaScriptSDK/EventHelpers.js +1 -1
  43. package/{dist-esm → dist-es5}/JavaScriptSDK/HelperFuncs.js +1 -1
  44. package/{dist-esm → dist-es5}/JavaScriptSDK/InstrumentHooks.js +1 -1
  45. package/{dist-esm → dist-es5}/JavaScriptSDK/InternalConstants.js +1 -1
  46. package/{dist-esm → dist-es5}/JavaScriptSDK/NotificationManager.js +1 -1
  47. package/{dist-esm → dist-es5}/JavaScriptSDK/PerfManager.js +1 -1
  48. package/{dist-esm → dist-es5}/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  49. package/{dist-esm → dist-es5}/JavaScriptSDK/RandomHelper.js +7 -5
  50. package/dist-es5/JavaScriptSDK/RandomHelper.js.map +1 -0
  51. package/{dist-esm → dist-es5}/JavaScriptSDK/TelemetryHelpers.js +1 -1
  52. package/{dist-esm → dist-es5}/JavaScriptSDK/TelemetryInitializerPlugin.js +44 -38
  53. package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js.map +1 -0
  54. package/{dist-esm → dist-es5}/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  55. package/{dist-esm → dist-es5}/JavaScriptSDK/UnloadHookContainer.js +1 -1
  56. package/{dist-esm → dist-es5}/JavaScriptSDK/W3cTraceParent.js +1 -1
  57. package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  58. package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  59. package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  60. package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +6 -0
  61. package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +8 -0
  62. package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +8 -0
  63. package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +6 -0
  64. package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  65. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +8 -0
  66. package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +7 -0
  67. package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +8 -0
  68. package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +8 -0
  69. package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +6 -0
  70. package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +8 -0
  71. package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +8 -0
  72. package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +9 -0
  73. package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +6 -0
  74. package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +8 -0
  75. package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +6 -0
  76. package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +9 -0
  77. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +6 -0
  78. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +9 -0
  79. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +9 -0
  80. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +8 -0
  81. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +8 -0
  82. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +8 -0
  83. package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +8 -0
  84. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +8 -0
  85. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +8 -0
  86. package/{dist-esm → dist-es5}/__DynamicConstants.js +2 -2
  87. package/{dist-esm → dist-es5}/__DynamicConstants.js.map +1 -1
  88. package/{dist-esm → dist-es5}/applicationinsights-core-js.js +2 -2
  89. package/dist-es5/applicationinsights-core-js.js.map +1 -0
  90. package/package.json +16 -15
  91. package/tsconfig.json +5 -4
  92. package/types/applicationinsights-core-js.d.ts +3074 -58
  93. package/{dist/applicationinsights-core-js.d.ts → types/applicationinsights-core-js.namespaced.d.ts} +1 -4
  94. package/browser/applicationinsights-core-js.integrity.json +0 -26
  95. package/browser/applicationinsights-core-js.js.map +0 -1
  96. package/browser/applicationinsights-core-js.min.js +0 -6
  97. package/browser/applicationinsights-core-js.min.js.map +0 -1
  98. package/dist/applicationinsights-core-js.api.json +0 -25423
  99. package/dist/applicationinsights-core-js.api.md +0 -1374
  100. package/dist/applicationinsights-core-js.js.map +0 -1
  101. package/dist/applicationinsights-core-js.min.js +0 -6
  102. package/dist/applicationinsights-core-js.min.js.map +0 -1
  103. package/dist/applicationinsights-core-js.rollup.d.ts +0 -3078
  104. package/dist-esm/Config/IConfigDefaults.js +0 -8
  105. package/dist-esm/Config/IDynamicConfigHandler.js +0 -8
  106. package/dist-esm/Config/IDynamicPropertyHandler.js +0 -8
  107. package/dist-esm/Config/IDynamicWatcher.js +0 -8
  108. package/dist-esm/Config/_IDynamicConfigHandlerState.js +0 -6
  109. package/dist-esm/JavaScriptSDK/CookieMgr.js.map +0 -1
  110. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +0 -1
  111. package/dist-esm/JavaScriptSDK/RandomHelper.js.map +0 -1
  112. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js.map +0 -1
  113. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +0 -6
  114. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +0 -8
  115. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +0 -8
  116. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +0 -6
  117. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControlsHost.js +0 -8
  118. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +0 -7
  119. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +0 -8
  120. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +0 -8
  121. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +0 -6
  122. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +0 -8
  123. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +0 -8
  124. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +0 -9
  125. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +0 -6
  126. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +0 -8
  127. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +0 -6
  128. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +0 -9
  129. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +0 -6
  130. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +0 -9
  131. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +0 -9
  132. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +0 -8
  133. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +0 -8
  134. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +0 -8
  135. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +0 -8
  136. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +0 -8
  137. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +0 -8
  138. package/dist-esm/applicationinsights-core-js.js.map +0 -1
  139. package/types/Config/ConfigDefaultHelpers.d.ts +0 -47
  140. package/types/Config/ConfigDefaults.d.ts +0 -9
  141. package/types/Config/DynamicConfig.d.ts +0 -23
  142. package/types/Config/DynamicProperty.d.ts +0 -3
  143. package/types/Config/DynamicState.d.ts +0 -3
  144. package/types/Config/DynamicSupport.d.ts +0 -82
  145. package/types/Config/IConfigDefaults.d.ts +0 -63
  146. package/types/Config/IDynamicConfigHandler.d.ts +0 -69
  147. package/types/Config/IDynamicPropertyHandler.d.ts +0 -11
  148. package/types/Config/IDynamicWatcher.d.ts +0 -61
  149. package/types/Config/_IDynamicConfigHandlerState.d.ts +0 -52
  150. package/types/JavaScriptSDK/AggregationError.d.ts +0 -6
  151. package/types/JavaScriptSDK/AppInsightsCore.d.ts +0 -158
  152. package/types/JavaScriptSDK/BaseTelemetryPlugin.d.ts +0 -110
  153. package/types/JavaScriptSDK/Constants.d.ts +0 -1
  154. package/types/JavaScriptSDK/CookieMgr.d.ts +0 -15
  155. package/types/JavaScriptSDK/CoreUtils.d.ts +0 -13
  156. package/types/JavaScriptSDK/DataCacheHelper.d.ts +0 -13
  157. package/types/JavaScriptSDK/DbgExtensionUtils.d.ts +0 -5
  158. package/types/JavaScriptSDK/DiagnosticLogger.d.ts +0 -76
  159. package/types/JavaScriptSDK/EnvUtils.d.ts +0 -81
  160. package/types/JavaScriptSDK/EventHelpers.d.ts +0 -154
  161. package/types/JavaScriptSDK/HelperFuncs.d.ts +0 -106
  162. package/types/JavaScriptSDK/InstrumentHooks.d.ts +0 -43
  163. package/types/JavaScriptSDK/InternalConstants.d.ts +0 -20
  164. package/types/JavaScriptSDK/NotificationManager.d.ts +0 -46
  165. package/types/JavaScriptSDK/PerfManager.d.ts +0 -93
  166. package/types/JavaScriptSDK/ProcessTelemetryContext.d.ts +0 -119
  167. package/types/JavaScriptSDK/RandomHelper.d.ts +0 -29
  168. package/types/JavaScriptSDK/TelemetryHelpers.d.ts +0 -38
  169. package/types/JavaScriptSDK/TelemetryInitializerPlugin.d.ts +0 -16
  170. package/types/JavaScriptSDK/UnloadHandlerContainer.d.ts +0 -8
  171. package/types/JavaScriptSDK/UnloadHookContainer.d.ts +0 -16
  172. package/types/JavaScriptSDK/W3cTraceParent.d.ts +0 -59
  173. package/types/JavaScriptSDK.Enums/EnumHelperFuncs.d.ts +0 -22
  174. package/types/JavaScriptSDK.Enums/EventsDiscardedReason.d.ts +0 -34
  175. package/types/JavaScriptSDK.Enums/LoggingEnums.d.ts +0 -104
  176. package/types/JavaScriptSDK.Enums/SendRequestReason.d.ts +0 -45
  177. package/types/JavaScriptSDK.Enums/TelemetryUnloadReason.d.ts +0 -21
  178. package/types/JavaScriptSDK.Enums/TelemetryUpdateReason.d.ts +0 -21
  179. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +0 -171
  180. package/types/JavaScriptSDK.Interfaces/IChannelControls.d.ts +0 -36
  181. package/types/JavaScriptSDK.Interfaces/IChannelControlsHost.d.ts +0 -9
  182. package/types/JavaScriptSDK.Interfaces/IConfiguration.d.ts +0 -150
  183. package/types/JavaScriptSDK.Interfaces/ICookieMgr.d.ts +0 -97
  184. package/types/JavaScriptSDK.Interfaces/IDbgExtension.d.ts +0 -10
  185. package/types/JavaScriptSDK.Interfaces/IDiagnosticLogger.d.ts +0 -48
  186. package/types/JavaScriptSDK.Interfaces/IDistributedTraceContext.d.ts +0 -43
  187. package/types/JavaScriptSDK.Interfaces/IInstrumentHooks.d.ts +0 -81
  188. package/types/JavaScriptSDK.Interfaces/INotificationListener.d.ts +0 -32
  189. package/types/JavaScriptSDK.Interfaces/INotificationManager.d.ts +0 -43
  190. package/types/JavaScriptSDK.Interfaces/IPerfEvent.d.ts +0 -56
  191. package/types/JavaScriptSDK.Interfaces/IPerfManager.d.ts +0 -45
  192. package/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext.d.ts +0 -129
  193. package/types/JavaScriptSDK.Interfaces/ITelemetryInitializers.d.ts +0 -14
  194. package/types/JavaScriptSDK.Interfaces/ITelemetryItem.d.ts +0 -51
  195. package/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts +0 -80
  196. package/types/JavaScriptSDK.Interfaces/ITelemetryPluginChain.d.ts +0 -23
  197. package/types/JavaScriptSDK.Interfaces/ITelemetryUnloadState.d.ts +0 -6
  198. package/types/JavaScriptSDK.Interfaces/ITelemetryUpdateState.d.ts +0 -33
  199. package/types/JavaScriptSDK.Interfaces/ITraceParent.d.ts +0 -32
  200. package/types/JavaScriptSDK.Interfaces/IUnloadHook.d.ts +0 -18
  201. package/types/JavaScriptSDK.Interfaces/IUnloadableComponent.d.ts +0 -13
  202. package/types/__DynamicConstants.d.ts +0 -53
  203. package/types/tsdoc-metadata.json +0 -11
  204. /package/{dist-esm → dist-es5}/Config/ConfigDefaultHelpers.js.map +0 -0
  205. /package/{dist-esm → dist-es5}/Config/ConfigDefaults.js.map +0 -0
  206. /package/{dist-esm → dist-es5}/Config/DynamicConfig.js.map +0 -0
  207. /package/{dist-esm → dist-es5}/Config/DynamicProperty.js.map +0 -0
  208. /package/{dist-esm → dist-es5}/Config/DynamicState.js.map +0 -0
  209. /package/{dist-esm → dist-es5}/Config/DynamicSupport.js.map +0 -0
  210. /package/{dist-esm → dist-es5}/Config/IConfigDefaults.js.map +0 -0
  211. /package/{dist-esm → dist-es5}/Config/IDynamicConfigHandler.js.map +0 -0
  212. /package/{dist-esm → dist-es5}/Config/IDynamicPropertyHandler.js.map +0 -0
  213. /package/{dist-esm → dist-es5}/Config/IDynamicWatcher.js.map +0 -0
  214. /package/{dist-esm → dist-es5}/Config/_IDynamicConfigHandlerState.js.map +0 -0
  215. /package/{dist-esm → dist-es5}/JavaScriptSDK/AppInsightsCore.js.map +0 -0
  216. /package/{dist-esm → dist-es5}/JavaScriptSDK/BaseTelemetryPlugin.js.map +0 -0
  217. /package/{dist-esm → dist-es5}/JavaScriptSDK/Constants.js.map +0 -0
  218. /package/{dist-esm → dist-es5}/JavaScriptSDK/CoreUtils.js.map +0 -0
  219. /package/{dist-esm → dist-es5}/JavaScriptSDK/DbgExtensionUtils.js.map +0 -0
  220. /package/{dist-esm → dist-es5}/JavaScriptSDK/DiagnosticLogger.js.map +0 -0
  221. /package/{dist-esm → dist-es5}/JavaScriptSDK/EnvUtils.js.map +0 -0
  222. /package/{dist-esm → dist-es5}/JavaScriptSDK/EventHelpers.js.map +0 -0
  223. /package/{dist-esm → dist-es5}/JavaScriptSDK/HelperFuncs.js.map +0 -0
  224. /package/{dist-esm → dist-es5}/JavaScriptSDK/InstrumentHooks.js.map +0 -0
  225. /package/{dist-esm → dist-es5}/JavaScriptSDK/InternalConstants.js.map +0 -0
  226. /package/{dist-esm → dist-es5}/JavaScriptSDK/NotificationManager.js.map +0 -0
  227. /package/{dist-esm → dist-es5}/JavaScriptSDK/PerfManager.js.map +0 -0
  228. /package/{dist-esm → dist-es5}/JavaScriptSDK/ProcessTelemetryContext.js.map +0 -0
  229. /package/{dist-esm → dist-es5}/JavaScriptSDK/TelemetryHelpers.js.map +0 -0
  230. /package/{dist-esm → dist-es5}/JavaScriptSDK/UnloadHandlerContainer.js.map +0 -0
  231. /package/{dist-esm → dist-es5}/JavaScriptSDK/UnloadHookContainer.js.map +0 -0
  232. /package/{dist-esm → dist-es5}/JavaScriptSDK/W3cTraceParent.js.map +0 -0
  233. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/EnumHelperFuncs.js.map +0 -0
  234. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/EventsDiscardedReason.js.map +0 -0
  235. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/LoggingEnums.js.map +0 -0
  236. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/SendRequestReason.js.map +0 -0
  237. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/TelemetryUnloadReason.js.map +0 -0
  238. /package/{dist-esm → dist-es5}/JavaScriptSDK.Enums/TelemetryUpdateReason.js.map +0 -0
  239. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IAppInsightsCore.js.map +0 -0
  240. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IChannelControls.js.map +0 -0
  241. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IChannelControlsHost.js.map +0 -0
  242. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IConfiguration.js.map +0 -0
  243. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ICookieMgr.js.map +0 -0
  244. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IDbgExtension.js.map +0 -0
  245. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IDiagnosticLogger.js.map +0 -0
  246. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IDistributedTraceContext.js.map +0 -0
  247. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IInstrumentHooks.js.map +0 -0
  248. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/INotificationListener.js.map +0 -0
  249. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/INotificationManager.js.map +0 -0
  250. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IPerfEvent.js.map +0 -0
  251. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IPerfManager.js.map +0 -0
  252. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js.map +0 -0
  253. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryInitializers.js.map +0 -0
  254. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryItem.js.map +0 -0
  255. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryPlugin.js.map +0 -0
  256. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js.map +0 -0
  257. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js.map +0 -0
  258. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js.map +0 -0
  259. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/ITraceParent.js.map +0 -0
  260. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IUnloadHook.js.map +0 -0
  261. /package/{dist-esm → dist-es5}/JavaScriptSDK.Interfaces/IUnloadableComponent.js.map +0 -0
@@ -1,119 +0,0 @@
1
- import { IConfigDefaults } from "../Config/IConfigDefaults";
2
- import { IAppInsightsCore } from "../JavaScriptSDK.Interfaces/IAppInsightsCore";
3
- import { IConfiguration } from "../JavaScriptSDK.Interfaces/IConfiguration";
4
- import { IDiagnosticLogger } from "../JavaScriptSDK.Interfaces/IDiagnosticLogger";
5
- import { IProcessTelemetryContext, IProcessTelemetryUnloadContext, IProcessTelemetryUpdateContext } from "../JavaScriptSDK.Interfaces/IProcessTelemetryContext";
6
- import { ITelemetryItem } from "../JavaScriptSDK.Interfaces/ITelemetryItem";
7
- import { IPlugin, ITelemetryPlugin } from "../JavaScriptSDK.Interfaces/ITelemetryPlugin";
8
- import { ITelemetryPluginChain } from "../JavaScriptSDK.Interfaces/ITelemetryPluginChain";
9
- /**
10
- * Creates a new Telemetry Item context with the current config, core and plugin execution chain
11
- * @param plugins - The plugin instances that will be executed
12
- * @param config - The current config
13
- * @param core - The current core instance
14
- * @param startAt - Identifies the next plugin to execute, if null there is no "next" plugin and if undefined it should assume the start of the chain
15
- */
16
- export declare function createProcessTelemetryContext(telemetryChain: ITelemetryPluginChain | null, cfg: IConfiguration, core: IAppInsightsCore, startAt?: IPlugin): IProcessTelemetryContext;
17
- /**
18
- * Creates a new Telemetry Item context with the current config, core and plugin execution chain for handling the unloading of the chain
19
- * @param plugins - The plugin instances that will be executed
20
- * @param config - The current config
21
- * @param core - The current core instance
22
- * @param startAt - Identifies the next plugin to execute, if null there is no "next" plugin and if undefined it should assume the start of the chain
23
- */
24
- export declare function createProcessTelemetryUnloadContext(telemetryChain: ITelemetryPluginChain, core: IAppInsightsCore, startAt?: IPlugin): IProcessTelemetryUnloadContext;
25
- /**
26
- * Creates a new Telemetry Item context with the current config, core and plugin execution chain for updating the configuration
27
- * @param plugins - The plugin instances that will be executed
28
- * @param config - The current config
29
- * @param core - The current core instance
30
- * @param startAt - Identifies the next plugin to execute, if null there is no "next" plugin and if undefined it should assume the start of the chain
31
- */
32
- export declare function createProcessTelemetryUpdateContext(telemetryChain: ITelemetryPluginChain, core: IAppInsightsCore, startAt?: IPlugin): IProcessTelemetryUpdateContext;
33
- /**
34
- * Creates an execution chain from the array of plugins
35
- * @param plugins - The array of plugins that will be executed in this order
36
- * @param defItemCtx - The default execution context to use when no telemetry context is passed to processTelemetry(), this
37
- * should be for legacy plugins only. Currently, only used for passing the current core instance and to provide better error
38
- * reporting (hasRun) when errors occur.
39
- */
40
- export declare function createTelemetryProxyChain(plugins: IPlugin[], config: IConfiguration, core: IAppInsightsCore, startAt?: IPlugin): ITelemetryPluginChain;
41
- /**
42
- * Create the processing telemetry proxy instance, the proxy is used to abstract the current plugin to allow monitoring and
43
- * execution plugins while passing around the dynamic execution state (IProcessTelemetryContext), the proxy instance no longer
44
- * contains any execution state and can be reused between requests (this was not the case for 2.7.2 and earlier with the
45
- * TelemetryPluginChain class).
46
- * @param plugin - The plugin instance to proxy
47
- * @param config - The default execution context to use when no telemetry context is passed to processTelemetry(), this
48
- * should be for legacy plugins only. Currently, only used for passing the current core instance and to provide better error
49
- * reporting (hasRun) when errors occur.
50
- * @returns
51
- */
52
- export declare function createTelemetryPluginProxy(plugin: ITelemetryPlugin, config: IConfiguration, core: IAppInsightsCore): ITelemetryPluginChain;
53
- /**
54
- * This class will be removed!
55
- * @deprecated use createProcessTelemetryContext() instead
56
- */
57
- export declare class ProcessTelemetryContext implements IProcessTelemetryContext {
58
- /**
59
- * Gets the current core config instance
60
- */
61
- getCfg: () => IConfiguration;
62
- getExtCfg: <T>(identifier: string, defaultValue?: IConfigDefaults<T>) => T;
63
- getConfig: (identifier: string, field: string, defaultValue?: number | string | boolean | string[] | RegExp[] | Function) => number | string | boolean | string[] | RegExp[] | Function;
64
- /**
65
- * Returns the IAppInsightsCore instance for the current request
66
- */
67
- core: () => IAppInsightsCore;
68
- /**
69
- * Returns the current IDiagnosticsLogger for the current request
70
- */
71
- diagLog: () => IDiagnosticLogger;
72
- /**
73
- * Helper to allow inherited classes to check and possibly shortcut executing code only
74
- * required if there is a nextPlugin
75
- */
76
- hasNext: () => boolean;
77
- /**
78
- * Returns the next configured plugin proxy
79
- */
80
- getNext: () => ITelemetryPluginChain;
81
- /**
82
- * Helper to set the next plugin proxy
83
- */
84
- setNext: (nextCtx: ITelemetryPluginChain) => void;
85
- /**
86
- * Call back for telemetry processing before it it is sent
87
- * @param env - This is the current event being reported
88
- * @param itemCtx - This is the context for the current request, ITelemetryPlugin instances
89
- * can optionally use this to access the current core instance or define / pass additional information
90
- * to later plugins (vs appending items to the telemetry item)
91
- * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)
92
- */
93
- processNext: (env: ITelemetryItem) => boolean | void;
94
- /**
95
- * Synchronously iterate over the context chain running the callback for each plugin, once
96
- * every plugin has been executed via the callback, any associated onComplete will be called.
97
- * @param callback - The function call for each plugin in the context chain
98
- */
99
- iterate: <T extends ITelemetryPlugin = ITelemetryPlugin>(callback: (plugin: T) => void) => void;
100
- /**
101
- * Create a new context using the core and config from the current instance
102
- * @param plugins - The execution order to process the plugins, if null or not supplied
103
- * then the current execution order will be copied.
104
- * @param startAt - The plugin to start processing from, if missing from the execution
105
- * order then the next plugin will be NOT set.
106
- */
107
- createNew: (plugins?: IPlugin[] | ITelemetryPluginChain, startAt?: IPlugin) => IProcessTelemetryContext;
108
- /**
109
- * Set the function to call when the current chain has executed all processNext or unloadNext items.
110
- */
111
- onComplete: (onComplete: () => void) => void;
112
- /**
113
- * Creates a new Telemetry Item context with the current config, core and plugin execution chain
114
- * @param plugins - The plugin instances that will be executed
115
- * @param config - The current config
116
- * @param core - The current core instance
117
- */
118
- constructor(pluginChain: ITelemetryPluginChain, config: IConfiguration, core: IAppInsightsCore, startAt?: IPlugin);
119
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Generate a random value between 0 and maxValue, max value should be limited to a 32-bit maximum.
3
- * So maxValue(16) will produce a number from 0..16 (range of 17)
4
- * @param maxValue
5
- */
6
- export declare function randomValue(maxValue: number): number;
7
- /**
8
- * generate a random 32-bit number (0x000000..0xFFFFFFFF) or (-0x80000000..0x7FFFFFFF), defaults un-unsigned.
9
- * @param signed - True to return a signed 32-bit number (-0x80000000..0x7FFFFFFF) otherwise an unsigned one (0x000000..0xFFFFFFFF)
10
- */
11
- export declare function random32(signed?: boolean): number;
12
- /**
13
- * Seed the MWC random number generator with the specified seed or a random value
14
- * @param value - optional the number to used as the seed, if undefined, null or zero a random value will be chosen
15
- */
16
- export declare function mwcRandomSeed(value?: number): void;
17
- /**
18
- * Generate a random 32-bit number between (0x000000..0xFFFFFFFF) or (-0x80000000..0x7FFFFFFF), using MWC (Multiply with carry)
19
- * instead of Math.random() defaults to un-signed.
20
- * Used as a replacement random generator for IE to avoid issues with older IE instances.
21
- * @param signed - True to return a signed 32-bit number (-0x80000000..0x7FFFFFFF) otherwise an unsigned one (0x000000..0xFFFFFFFF)
22
- */
23
- export declare function mwcRandom32(signed?: boolean): number;
24
- /**
25
- * Generate random base64 id string.
26
- * The default length is 22 which is 132-bits so almost the same as a GUID but as base64 (the previous default was 5)
27
- * @param maxLength - Optional value to specify the length of the id to be generated, defaults to 22
28
- */
29
- export declare function newId(maxLength?: number): string;
@@ -1,38 +0,0 @@
1
- import { IAppInsightsCore } from "../JavaScriptSDK.Interfaces/IAppInsightsCore";
2
- import { IDistributedTraceContext } from "../JavaScriptSDK.Interfaces/IDistributedTraceContext";
3
- import { IProcessTelemetryContext, IProcessTelemetryUnloadContext } from "../JavaScriptSDK.Interfaces/IProcessTelemetryContext";
4
- import { IPlugin } from "../JavaScriptSDK.Interfaces/ITelemetryPlugin";
5
- import { ITelemetryUnloadState } from "../JavaScriptSDK.Interfaces/ITelemetryUnloadState";
6
- import { IUnloadableComponent } from "../JavaScriptSDK.Interfaces/IUnloadableComponent";
7
- export interface IPluginState {
8
- core?: IAppInsightsCore;
9
- isInitialized?: boolean;
10
- teardown?: boolean;
11
- disabled?: boolean;
12
- }
13
- export declare function _getPluginState(plugin: IPlugin): IPluginState;
14
- /**
15
- * Initialize the queue of plugins
16
- * @param plugins - The array of plugins to initialize and setting of the next plugin
17
- * @param config - The current config for the instance
18
- * @param core - THe current core instance
19
- * @param extensions - The extensions
20
- */
21
- export declare function initializePlugins(processContext: IProcessTelemetryContext, extensions: IPlugin[]): void;
22
- export declare function sortPlugins<T = IPlugin>(plugins: T[]): T[];
23
- /**
24
- * Teardown / Unload helper to perform teardown/unloading operations for the provided components synchronously or asynchronously, this will call any
25
- * _doTeardown() or _doUnload() functions on the provided components to allow them to finish removal.
26
- * @param components - The components you want to unload
27
- * @param unloadCtx - This is the context that should be used during unloading.
28
- * @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.
29
- * @param asyncCallback - An optional callback that the plugin must call if it returns true to inform the caller that it has completed any async unload/teardown operations.
30
- * @returns boolean - true if the plugin has or will call asyncCallback, this allows the plugin to perform any asynchronous operations.
31
- */
32
- export declare function unloadComponents(components: any | IUnloadableComponent[], unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState, asyncCallback?: () => void): void | boolean;
33
- /**
34
- * Creates a IDistributedTraceContext which optionally also "sets" the value on a parent
35
- * @param parentCtx - An optional parent distributed trace instance
36
- * @returns A new IDistributedTraceContext instance that uses an internal temporary object
37
- */
38
- export declare function createDistributedTraceContext(parentCtx?: IDistributedTraceContext): IDistributedTraceContext;
@@ -1,16 +0,0 @@
1
- import { IProcessTelemetryContext } from "../JavaScriptSDK.Interfaces/IProcessTelemetryContext";
2
- import { ITelemetryInitializerContainer, ITelemetryInitializerHandler, TelemetryInitializerFunction } from "../JavaScriptSDK.Interfaces/ITelemetryInitializers";
3
- import { ITelemetryItem } from "../JavaScriptSDK.Interfaces/ITelemetryItem";
4
- import { BaseTelemetryPlugin } from "./BaseTelemetryPlugin";
5
- export declare class TelemetryInitializerPlugin extends BaseTelemetryPlugin implements ITelemetryInitializerContainer {
6
- identifier: string;
7
- priority: number;
8
- constructor();
9
- /**
10
- * Add a telemetry processor to decorate or drop telemetry events.
11
- * @param telemetryInitializer - The Telemetry Initializer function
12
- * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed
13
- */
14
- addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
15
- processTelemetry(env: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
16
- }
@@ -1,8 +0,0 @@
1
- import { IProcessTelemetryUnloadContext } from "../JavaScriptSDK.Interfaces/IProcessTelemetryContext";
2
- import { ITelemetryUnloadState } from "../JavaScriptSDK.Interfaces/ITelemetryUnloadState";
3
- export type UnloadHandler = (itemCtx: IProcessTelemetryUnloadContext, unloadState: ITelemetryUnloadState) => void;
4
- export interface IUnloadHandlerContainer {
5
- add: (handler: UnloadHandler) => void;
6
- run: (itemCtx: IProcessTelemetryUnloadContext, unloadState: ITelemetryUnloadState) => void;
7
- }
8
- export declare function createUnloadHandlerContainer(): IUnloadHandlerContainer;
@@ -1,16 +0,0 @@
1
- import { IDiagnosticLogger } from "../JavaScriptSDK.Interfaces/IDiagnosticLogger";
2
- import { ILegacyUnloadHook, IUnloadHook } from "../JavaScriptSDK.Interfaces/IUnloadHook";
3
- /**
4
- * Interface which identifiesAdd this hook so that it is automatically removed during unloading
5
- * @param hooks - The single hook or an array of IInstrumentHook objects
6
- */
7
- export interface IUnloadHookContainer {
8
- add: (hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>) => void;
9
- run: (logger?: IDiagnosticLogger) => void;
10
- }
11
- /**
12
- * Create a IUnloadHookContainer which can be used to remember unload hook functions to be executed during the component unloading
13
- * process.
14
- * @returns A new IUnloadHookContainer instance
15
- */
16
- export declare function createUnloadHookContainer(): IUnloadHookContainer;
@@ -1,59 +0,0 @@
1
- import { ITraceParent } from "../JavaScriptSDK.Interfaces/ITraceParent";
2
- /**
3
- * Create a new ITraceParent instance using the provided values.
4
- * @param traceId - The traceId to use, when invalid a new random W3C id will be generated.
5
- * @param spanId - The parent/span id to use, a new random value will be generated if it is invalid.
6
- * @param flags - The traceFlags to use, defaults to zero (0) if not supplied or invalid
7
- * @param version - The version to used, defaults to version "01" if not supplied or invalid.
8
- * @returns
9
- */
10
- export declare function createTraceParent(traceId?: string, spanId?: string, flags?: number, version?: string): ITraceParent;
11
- /**
12
- * Attempt to parse the provided string as a W3C TraceParent header value (https://www.w3.org/TR/trace-context/#traceparent-header)
13
- *
14
- * @param value
15
- * @returns
16
- */
17
- export declare function parseTraceParent(value: string): ITraceParent;
18
- /**
19
- * Is the provided W3c Trace Id a valid string representation, it must be a 32-character string
20
- * of lowercase hexadecimal characters for example, 4bf92f3577b34da6a3ce929d0e0e4736.
21
- * If all characters as zero (00000000000000000000000000000000) it will be considered an invalid value.
22
- * @param value - The W3c trace Id to be validated
23
- * @returns true if valid otherwise false
24
- */
25
- export declare function isValidTraceId(value: string): boolean;
26
- /**
27
- * Is the provided W3c span id (aka. parent id) a valid string representation, it must be a 16-character
28
- * string of lowercase hexadecimal characters, for example, 00f067aa0ba902b7.
29
- * If all characters are zero (0000000000000000) this is considered an invalid value.
30
- * @param value - The W3c span id to be validated
31
- * @returns true if valid otherwise false
32
- */
33
- export declare function isValidSpanId(value: string): boolean;
34
- /**
35
- * Validates that the provided ITraceParent instance conforms to the currently supported specifications
36
- * @param value
37
- * @returns
38
- */
39
- export declare function isValidTraceParent(value: ITraceParent): boolean;
40
- /**
41
- * Is the parsed traceParent indicating that the trace is currently sampled.
42
- * @param value - The parsed traceParent value
43
- * @returns
44
- */
45
- export declare function isSampledFlag(value: ITraceParent): boolean;
46
- /**
47
- * Format the ITraceParent value as a string using the supported and know version formats.
48
- * So even if the passed traceParent is a later version the string value returned from this
49
- * function will convert it to only the known version formats.
50
- * This currently only supports version "00" and invalid "ff"
51
- * @param value - The parsed traceParent value
52
- * @returns
53
- */
54
- export declare function formatTraceParent(value: ITraceParent): string;
55
- /**
56
- * Helper function to fetch the passed traceparent from the page, looking for it as a meta-tag or a Server-Timing header.
57
- * @returns
58
- */
59
- export declare function findW3cTraceParent(): ITraceParent;
@@ -1,22 +0,0 @@
1
- import { EnumCls } from "@nevware21/ts-utils";
2
- export declare type EnumValue<E = any> = EnumCls<E>;
3
- /**
4
- * Create an enum style object which has both the key => value and value => key mappings
5
- * @param values - The values to populate on the new object
6
- * @returns
7
- */
8
- export declare const createEnumStyle: <E>(values: {
9
- [key in keyof E]: E[keyof E];
10
- }) => EnumValue<E>;
11
- /**
12
- * Create a 2 index map that maps an enum's key and value to the defined map value, X["key"] => mapValue and X[0] => mapValue.
13
- * Generic values
14
- * - E = the const enum type (typeof eRequestHeaders);
15
- * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The
16
- * resulting "Value" of each entry identifies the valid values withing the assignments.
17
- * @param values - The values to populate on the new object
18
- * @returns
19
- */
20
- export declare const createValueMap: <E, V = E>(values: {
21
- [key in keyof E]: [E[keyof E], V[keyof V]];
22
- }) => V;
@@ -1,34 +0,0 @@
1
- /**
2
- * The eEventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
3
- */
4
- export declare const enum eEventsDiscardedReason {
5
- /**
6
- * Unknown.
7
- */
8
- Unknown = 0,
9
- /**
10
- * Status set to non-retryable.
11
- */
12
- NonRetryableStatus = 1,
13
- /**
14
- * The event is invalid.
15
- */
16
- InvalidEvent = 2,
17
- /**
18
- * The size of the event is too large.
19
- */
20
- SizeLimitExceeded = 3,
21
- /**
22
- * The server is not accepting events from this instrumentation key.
23
- */
24
- KillSwitch = 4,
25
- /**
26
- * The event queue is full.
27
- */
28
- QueueFull = 5
29
- }
30
- /**
31
- * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
32
- */
33
- export declare const EventsDiscardedReason: import("../JavaScriptSDK.Enums/EnumHelperFuncs").EnumValue<typeof eEventsDiscardedReason>;
34
- export type EventsDiscardedReason = number | eEventsDiscardedReason;
@@ -1,104 +0,0 @@
1
- export declare const enum eLoggingSeverity {
2
- /**
3
- * No Logging will be enabled
4
- */
5
- DISABLED = 0,
6
- /**
7
- * Error will be sent as internal telemetry
8
- */
9
- CRITICAL = 1,
10
- /**
11
- * Error will NOT be sent as internal telemetry, and will only be shown in browser console
12
- */
13
- WARNING = 2
14
- }
15
- export declare const LoggingSeverity: import("../JavaScriptSDK.Enums/EnumHelperFuncs").EnumValue<typeof eLoggingSeverity>;
16
- export type LoggingSeverity = number | eLoggingSeverity;
17
- export declare const enum _eInternalMessageId {
18
- BrowserDoesNotSupportLocalStorage = 0,
19
- BrowserCannotReadLocalStorage = 1,
20
- BrowserCannotReadSessionStorage = 2,
21
- BrowserCannotWriteLocalStorage = 3,
22
- BrowserCannotWriteSessionStorage = 4,
23
- BrowserFailedRemovalFromLocalStorage = 5,
24
- BrowserFailedRemovalFromSessionStorage = 6,
25
- CannotSendEmptyTelemetry = 7,
26
- ClientPerformanceMathError = 8,
27
- ErrorParsingAISessionCookie = 9,
28
- ErrorPVCalc = 10,
29
- ExceptionWhileLoggingError = 11,
30
- FailedAddingTelemetryToBuffer = 12,
31
- FailedMonitorAjaxAbort = 13,
32
- FailedMonitorAjaxDur = 14,
33
- FailedMonitorAjaxOpen = 15,
34
- FailedMonitorAjaxRSC = 16,
35
- FailedMonitorAjaxSend = 17,
36
- FailedMonitorAjaxGetCorrelationHeader = 18,
37
- FailedToAddHandlerForOnBeforeUnload = 19,
38
- FailedToSendQueuedTelemetry = 20,
39
- FailedToReportDataLoss = 21,
40
- FlushFailed = 22,
41
- MessageLimitPerPVExceeded = 23,
42
- MissingRequiredFieldSpecification = 24,
43
- NavigationTimingNotSupported = 25,
44
- OnError = 26,
45
- SessionRenewalDateIsZero = 27,
46
- SenderNotInitialized = 28,
47
- StartTrackEventFailed = 29,
48
- StopTrackEventFailed = 30,
49
- StartTrackFailed = 31,
50
- StopTrackFailed = 32,
51
- TelemetrySampledAndNotSent = 33,
52
- TrackEventFailed = 34,
53
- TrackExceptionFailed = 35,
54
- TrackMetricFailed = 36,
55
- TrackPVFailed = 37,
56
- TrackPVFailedCalc = 38,
57
- TrackTraceFailed = 39,
58
- TransmissionFailed = 40,
59
- FailedToSetStorageBuffer = 41,
60
- FailedToRestoreStorageBuffer = 42,
61
- InvalidBackendResponse = 43,
62
- FailedToFixDepricatedValues = 44,
63
- InvalidDurationValue = 45,
64
- TelemetryEnvelopeInvalid = 46,
65
- CreateEnvelopeError = 47,
66
- CannotSerializeObject = 48,
67
- CannotSerializeObjectNonSerializable = 49,
68
- CircularReferenceDetected = 50,
69
- ClearAuthContextFailed = 51,
70
- ExceptionTruncated = 52,
71
- IllegalCharsInName = 53,
72
- ItemNotInArray = 54,
73
- MaxAjaxPerPVExceeded = 55,
74
- MessageTruncated = 56,
75
- NameTooLong = 57,
76
- SampleRateOutOfRange = 58,
77
- SetAuthContextFailed = 59,
78
- SetAuthContextFailedAccountName = 60,
79
- StringValueTooLong = 61,
80
- StartCalledMoreThanOnce = 62,
81
- StopCalledWithoutStart = 63,
82
- TelemetryInitializerFailed = 64,
83
- TrackArgumentsNotSpecified = 65,
84
- UrlTooLong = 66,
85
- SessionStorageBufferFull = 67,
86
- CannotAccessCookie = 68,
87
- IdTooLong = 69,
88
- InvalidEvent = 70,
89
- FailedMonitorAjaxSetRequestHeader = 71,
90
- SendBrowserInfoOnUserInit = 72,
91
- PluginException = 73,
92
- NotificationException = 74,
93
- SnippetScriptLoadFailure = 99,
94
- InvalidInstrumentationKey = 100,
95
- CannotParseAiBlobValue = 101,
96
- InvalidContentBlob = 102,
97
- TrackPageActionEventFailed = 103,
98
- FailedAddingCustomDefinedRequestContext = 104,
99
- InMemoryStorageBufferFull = 105,
100
- InstrumentationKeyDeprecation = 106,
101
- ConfigWatcherException = 107,
102
- DynamicConfigException = 108
103
- }
104
- export type _InternalMessageId = number | _eInternalMessageId;
@@ -1,45 +0,0 @@
1
- /**
2
- * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
3
- */
4
- export declare const enum SendRequestReason {
5
- /**
6
- * No specific reason was specified
7
- */
8
- Undefined = 0,
9
- /**
10
- * Events are being sent based on the normal event schedule / timer.
11
- */
12
- NormalSchedule = 1,
13
- /**
14
- * A manual flush request was received
15
- */
16
- ManualFlush = 1,
17
- /**
18
- * Unload event is being processed
19
- */
20
- Unload = 2,
21
- /**
22
- * The event(s) being sent are sync events
23
- */
24
- SyncEvent = 3,
25
- /**
26
- * The Channel was resumed
27
- */
28
- Resumed = 4,
29
- /**
30
- * The event(s) being sent as a retry
31
- */
32
- Retry = 5,
33
- /**
34
- * The SDK is unloading
35
- */
36
- SdkUnload = 6,
37
- /**
38
- * Maximum batch size would be exceeded
39
- */
40
- MaxBatchSize = 10,
41
- /**
42
- * The Maximum number of events have already been queued
43
- */
44
- MaxQueuedEvents = 20
45
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * The TelemetryUnloadReason enumeration contains the possible reasons for why a plugin is being unloaded / torndown().
3
- */
4
- export declare const enum TelemetryUnloadReason {
5
- /**
6
- * Teardown has been called without any context.
7
- */
8
- ManualTeardown = 0,
9
- /**
10
- * Just this plugin is being removed
11
- */
12
- PluginUnload = 1,
13
- /**
14
- * This instance of the plugin is being removed and replaced
15
- */
16
- PluginReplace = 2,
17
- /**
18
- * The entire SDK is being unloaded
19
- */
20
- SdkUnload = 50
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * The TelemetryUpdateReason enumeration contains a set of bit-wise values that specify the reason for update request.
3
- */
4
- export declare const enum TelemetryUpdateReason {
5
- /**
6
- * Unknown.
7
- */
8
- Unknown = 0,
9
- /**
10
- * The configuration has ben updated or changed
11
- */
12
- ConfigurationChanged = 1,
13
- /**
14
- * One or more plugins have been added
15
- */
16
- PluginAdded = 16,
17
- /**
18
- * One or more plugins have been removed
19
- */
20
- PluginRemoved = 32
21
- }