@microsoft/applicationinsights-core-js 2.7.5-nightly.2204-03 → 2.7.6

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 (160) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +774 -1973
  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 +9840 -16439
  7. package/dist/applicationinsights-core-js.api.md +48 -425
  8. package/dist/applicationinsights-core-js.d.ts +123 -784
  9. package/dist/applicationinsights-core-js.js +774 -1973
  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 +123 -784
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +69 -3
  15. package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  16. package/dist-esm/JavaScriptSDK/BaseCore.js +99 -496
  17. package/dist-esm/JavaScriptSDK/BaseCore.js.map +1 -1
  18. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +21 -120
  19. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js.map +1 -1
  20. package/dist-esm/JavaScriptSDK/ChannelController.js +87 -202
  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 +4 -4
  24. package/dist-esm/JavaScriptSDK/CookieMgr.js.map +1 -1
  25. package/dist-esm/JavaScriptSDK/CoreUtils.js +148 -7
  26. package/dist-esm/JavaScriptSDK/CoreUtils.js.map +1 -1
  27. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  28. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +14 -27
  29. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js.map +1 -1
  30. package/dist-esm/JavaScriptSDK/EnvUtils.js +12 -13
  31. package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
  32. package/dist-esm/JavaScriptSDK/HelperFuncs.js +86 -89
  33. package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
  34. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -3
  35. package/dist-esm/JavaScriptSDK/InstrumentHooks.js.map +1 -1
  36. package/dist-esm/JavaScriptSDK/NotificationManager.js +42 -37
  37. package/dist-esm/JavaScriptSDK/NotificationManager.js.map +1 -1
  38. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  39. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +119 -430
  40. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
  41. package/dist-esm/JavaScriptSDK/RandomHelper.js +4 -30
  42. package/dist-esm/JavaScriptSDK/RandomHelper.js.map +1 -1
  43. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +14 -60
  44. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js.map +1 -1
  45. package/dist-esm/JavaScriptSDK/TelemetryPluginChain.js +76 -0
  46. package/dist-esm/JavaScriptSDK/TelemetryPluginChain.js.map +1 -0
  47. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +96 -90
  49. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js.map +1 -1
  50. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +2 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js.map +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  65. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  66. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +2 -1
  67. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js.map +1 -1
  68. package/dist-esm/applicationinsights-core-js.js +7 -12
  69. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  70. package/package.json +67 -70
  71. package/src/JavaScriptSDK/AppInsightsCore.ts +101 -2
  72. package/src/JavaScriptSDK/BaseCore.ts +120 -696
  73. package/src/JavaScriptSDK/BaseTelemetryPlugin.ts +31 -205
  74. package/src/JavaScriptSDK/ChannelController.ts +103 -242
  75. package/src/JavaScriptSDK/CookieMgr.ts +5 -7
  76. package/src/JavaScriptSDK/CoreUtils.ts +172 -8
  77. package/src/JavaScriptSDK/DiagnosticLogger.ts +14 -29
  78. package/src/JavaScriptSDK/EnvUtils.ts +12 -13
  79. package/src/JavaScriptSDK/HelperFuncs.ts +97 -123
  80. package/src/JavaScriptSDK/InstrumentHooks.ts +2 -4
  81. package/src/JavaScriptSDK/NotificationManager.ts +37 -34
  82. package/src/JavaScriptSDK/PerfManager.ts +7 -4
  83. package/src/JavaScriptSDK/ProcessTelemetryContext.ts +134 -543
  84. package/src/JavaScriptSDK/RandomHelper.ts +3 -35
  85. package/src/JavaScriptSDK/TelemetryHelpers.ts +21 -83
  86. package/src/JavaScriptSDK/TelemetryPluginChain.ts +120 -0
  87. package/src/JavaScriptSDK.Enums/LoggingEnums.ts +87 -184
  88. package/src/JavaScriptSDK.Enums/SendRequestReason.ts +0 -5
  89. package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +2 -82
  90. package/src/JavaScriptSDK.Interfaces/IChannelControls.ts +5 -16
  91. package/src/JavaScriptSDK.Interfaces/IInstrumentHooks.ts +6 -16
  92. package/src/JavaScriptSDK.Interfaces/IProcessTelemetryContext.ts +14 -94
  93. package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +10 -28
  94. package/src/JavaScriptSDK.Interfaces/ITelemetryPluginChain.ts +11 -9
  95. package/types/JavaScriptSDK/AppInsightsCore.d.ts +21 -0
  96. package/types/JavaScriptSDK/BaseCore.d.ts +3 -81
  97. package/types/JavaScriptSDK/BaseTelemetryPlugin.d.ts +10 -53
  98. package/types/JavaScriptSDK/ChannelController.d.ts +17 -16
  99. package/types/JavaScriptSDK/CoreUtils.d.ts +48 -1
  100. package/types/JavaScriptSDK/DiagnosticLogger.d.ts +0 -10
  101. package/types/JavaScriptSDK/HelperFuncs.d.ts +32 -33
  102. package/types/JavaScriptSDK/PerfManager.d.ts +1 -1
  103. package/types/JavaScriptSDK/ProcessTelemetryContext.d.ts +6 -69
  104. package/types/JavaScriptSDK/RandomHelper.d.ts +0 -6
  105. package/types/JavaScriptSDK/TelemetryHelpers.d.ts +3 -23
  106. package/types/JavaScriptSDK/TelemetryPluginChain.d.ts +32 -0
  107. package/types/JavaScriptSDK.Enums/LoggingEnums.d.ts +2 -91
  108. package/types/JavaScriptSDK.Enums/SendRequestReason.d.ts +0 -4
  109. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +1 -72
  110. package/types/JavaScriptSDK.Interfaces/IChannelControls.d.ts +5 -16
  111. package/types/JavaScriptSDK.Interfaces/IInstrumentHooks.d.ts +0 -9
  112. package/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext.d.ts +11 -82
  113. package/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts +8 -25
  114. package/types/JavaScriptSDK.Interfaces/ITelemetryPluginChain.d.ts +10 -9
  115. package/types/applicationinsights-core-js.d.ts +9 -18
  116. package/types/tsdoc-metadata.json +1 -1
  117. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +0 -93
  118. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +0 -1
  119. package/dist-esm/JavaScriptSDK/EventHelpers.js +0 -477
  120. package/dist-esm/JavaScriptSDK/EventHelpers.js.map +0 -1
  121. package/dist-esm/JavaScriptSDK/InternalConstants.js +0 -28
  122. package/dist-esm/JavaScriptSDK/InternalConstants.js.map +0 -1
  123. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +0 -81
  124. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js.map +0 -1
  125. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +0 -33
  126. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js.map +0 -1
  127. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +0 -8
  128. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js.map +0 -1
  129. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +0 -8
  130. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js.map +0 -1
  131. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +0 -6
  132. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js.map +0 -1
  133. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +0 -8
  134. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js.map +0 -1
  135. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +0 -8
  136. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js.map +0 -1
  137. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +0 -6
  138. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js.map +0 -1
  139. package/src/JavaScriptSDK/DataCacheHelper.ts +0 -106
  140. package/src/JavaScriptSDK/EventHelpers.ts +0 -550
  141. package/src/JavaScriptSDK/InternalConstants.ts +0 -26
  142. package/src/JavaScriptSDK/TelemetryInitializerPlugin.ts +0 -111
  143. package/src/JavaScriptSDK/UnloadHandlerContainer.ts +0 -46
  144. package/src/JavaScriptSDK.Enums/TelemetryUnloadReason.ts +0 -27
  145. package/src/JavaScriptSDK.Enums/TelemetryUpdateReason.ts +0 -27
  146. package/src/JavaScriptSDK.Interfaces/ITelemetryInitializers.ts +0 -16
  147. package/src/JavaScriptSDK.Interfaces/ITelemetryUnloadState.ts +0 -10
  148. package/src/JavaScriptSDK.Interfaces/ITelemetryUpdateState.ts +0 -34
  149. package/src/JavaScriptSDK.Interfaces/IUnloadableComponent.ts +0 -17
  150. package/types/JavaScriptSDK/DataCacheHelper.d.ts +0 -13
  151. package/types/JavaScriptSDK/EventHelpers.d.ts +0 -154
  152. package/types/JavaScriptSDK/InternalConstants.d.ts +0 -20
  153. package/types/JavaScriptSDK/TelemetryInitializerPlugin.d.ts +0 -16
  154. package/types/JavaScriptSDK/UnloadHandlerContainer.d.ts +0 -11
  155. package/types/JavaScriptSDK.Enums/TelemetryUnloadReason.d.ts +0 -21
  156. package/types/JavaScriptSDK.Enums/TelemetryUpdateReason.d.ts +0 -20
  157. package/types/JavaScriptSDK.Interfaces/ITelemetryInitializers.d.ts +0 -13
  158. package/types/JavaScriptSDK.Interfaces/ITelemetryUnloadState.d.ts +0 -6
  159. package/types/JavaScriptSDK.Interfaces/ITelemetryUpdateState.d.ts +0 -22
  160. package/types/JavaScriptSDK.Interfaces/IUnloadableComponent.d.ts +0 -13
@@ -1,4 +1,4 @@
1
- export declare const enum eLoggingSeverity {
1
+ export declare enum LoggingSeverity {
2
2
  /**
3
3
  * Error will be sent as internal telemetry
4
4
  */
@@ -8,95 +8,6 @@ export declare const enum eLoggingSeverity {
8
8
  */
9
9
  WARNING = 2
10
10
  }
11
- export declare const LoggingSeverity: {
12
- CRITICAL: number;
13
- WARNING: number;
14
- };
15
- export declare type LoggingSeverity = number | eLoggingSeverity;
16
- export declare const enum _eInternalMessageId {
17
- BrowserDoesNotSupportLocalStorage = 0,
18
- BrowserCannotReadLocalStorage = 1,
19
- BrowserCannotReadSessionStorage = 2,
20
- BrowserCannotWriteLocalStorage = 3,
21
- BrowserCannotWriteSessionStorage = 4,
22
- BrowserFailedRemovalFromLocalStorage = 5,
23
- BrowserFailedRemovalFromSessionStorage = 6,
24
- CannotSendEmptyTelemetry = 7,
25
- ClientPerformanceMathError = 8,
26
- ErrorParsingAISessionCookie = 9,
27
- ErrorPVCalc = 10,
28
- ExceptionWhileLoggingError = 11,
29
- FailedAddingTelemetryToBuffer = 12,
30
- FailedMonitorAjaxAbort = 13,
31
- FailedMonitorAjaxDur = 14,
32
- FailedMonitorAjaxOpen = 15,
33
- FailedMonitorAjaxRSC = 16,
34
- FailedMonitorAjaxSend = 17,
35
- FailedMonitorAjaxGetCorrelationHeader = 18,
36
- FailedToAddHandlerForOnBeforeUnload = 19,
37
- FailedToSendQueuedTelemetry = 20,
38
- FailedToReportDataLoss = 21,
39
- FlushFailed = 22,
40
- MessageLimitPerPVExceeded = 23,
41
- MissingRequiredFieldSpecification = 24,
42
- NavigationTimingNotSupported = 25,
43
- OnError = 26,
44
- SessionRenewalDateIsZero = 27,
45
- SenderNotInitialized = 28,
46
- StartTrackEventFailed = 29,
47
- StopTrackEventFailed = 30,
48
- StartTrackFailed = 31,
49
- StopTrackFailed = 32,
50
- TelemetrySampledAndNotSent = 33,
51
- TrackEventFailed = 34,
52
- TrackExceptionFailed = 35,
53
- TrackMetricFailed = 36,
54
- TrackPVFailed = 37,
55
- TrackPVFailedCalc = 38,
56
- TrackTraceFailed = 39,
57
- TransmissionFailed = 40,
58
- FailedToSetStorageBuffer = 41,
59
- FailedToRestoreStorageBuffer = 42,
60
- InvalidBackendResponse = 43,
61
- FailedToFixDepricatedValues = 44,
62
- InvalidDurationValue = 45,
63
- TelemetryEnvelopeInvalid = 46,
64
- CreateEnvelopeError = 47,
65
- CannotSerializeObject = 48,
66
- CannotSerializeObjectNonSerializable = 49,
67
- CircularReferenceDetected = 50,
68
- ClearAuthContextFailed = 51,
69
- ExceptionTruncated = 52,
70
- IllegalCharsInName = 53,
71
- ItemNotInArray = 54,
72
- MaxAjaxPerPVExceeded = 55,
73
- MessageTruncated = 56,
74
- NameTooLong = 57,
75
- SampleRateOutOfRange = 58,
76
- SetAuthContextFailed = 59,
77
- SetAuthContextFailedAccountName = 60,
78
- StringValueTooLong = 61,
79
- StartCalledMoreThanOnce = 62,
80
- StopCalledWithoutStart = 63,
81
- TelemetryInitializerFailed = 64,
82
- TrackArgumentsNotSpecified = 65,
83
- UrlTooLong = 66,
84
- SessionStorageBufferFull = 67,
85
- CannotAccessCookie = 68,
86
- IdTooLong = 69,
87
- InvalidEvent = 70,
88
- FailedMonitorAjaxSetRequestHeader = 71,
89
- SendBrowserInfoOnUserInit = 72,
90
- PluginException = 73,
91
- NotificationException = 74,
92
- SnippetScriptLoadFailure = 99,
93
- InvalidInstrumentationKey = 100,
94
- CannotParseAiBlobValue = 101,
95
- InvalidContentBlob = 102,
96
- TrackPageActionEventFailed = 103,
97
- FailedAddingCustomDefinedRequestContext = 104,
98
- InMemoryStorageBufferFull = 105
99
- }
100
11
  /**
101
12
  * Internal message ID. Please create a new one for every conceptually different message. Please keep alphabetically ordered
102
13
  */
@@ -184,4 +95,4 @@ export declare const _InternalMessageId: {
184
95
  FailedAddingCustomDefinedRequestContext: number;
185
96
  InMemoryStorageBufferFull: number;
186
97
  };
187
- export declare type _InternalMessageId = number | _eInternalMessageId;
98
+ export declare type _InternalMessageId = number | typeof _InternalMessageId;
@@ -30,10 +30,6 @@ export declare const enum SendRequestReason {
30
30
  * The event(s) being sent as a retry
31
31
  */
32
32
  Retry = 5,
33
- /**
34
- * The SDK is unloading
35
- */
36
- SdkUnload = 6,
37
33
  /**
38
34
  * Maximum batch size would be exceeded
39
35
  */
@@ -1,6 +1,6 @@
1
1
  import { ITelemetryItem } from "./ITelemetryItem";
2
2
  import { IChannelControls } from "./IChannelControls";
3
- import { IPlugin, ITelemetryPlugin } from "./ITelemetryPlugin";
3
+ import { IPlugin } from "./ITelemetryPlugin";
4
4
  import { IConfiguration } from "./IConfiguration";
5
5
  import { INotificationManager } from "./INotificationManager";
6
6
  import { INotificationListener } from "./INotificationListener";
@@ -8,27 +8,6 @@ import { IDiagnosticLogger } from "./IDiagnosticLogger";
8
8
  import { IProcessTelemetryContext } from "./IProcessTelemetryContext";
9
9
  import { IPerfManagerProvider } from "./IPerfManager";
10
10
  import { ICookieMgr } from "./ICookieMgr";
11
- import { ITelemetryInitializerHandler, TelemetryInitializerFunction } from "./ITelemetryInitializers";
12
- import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
13
- import { UnloadHandler } from "../JavaScriptSDK/UnloadHandlerContainer";
14
- import { SendRequestReason } from "../JavaScriptSDK.Enums/SendRequestReason";
15
- export interface ILoadedPlugin<T extends IPlugin> {
16
- plugin: T;
17
- /**
18
- * Identifies whether the plugin is enabled and can process events. This is slightly different from isInitialized as the plugin may be initialized but disabled
19
- * via the setEnabled() or it may be a shared plugin which has had it's teardown function called from another instance..
20
- * @returns boolean = true if the plugin is in a state where it is operational.
21
- */
22
- isEnabled: () => boolean;
23
- /**
24
- * You can optionally enable / disable a plugin from processing events.
25
- * Setting enabled to true will not necessarily cause the `isEnabled()` to also return true
26
- * as the plugin must also have been successfully initialized and not had it's `teardown` method called
27
- * (unless it's also been re-initialized)
28
- */
29
- setEnabled: (isEnabled: boolean) => void;
30
- remove: (isAsync?: boolean, removeCb?: (removed?: boolean) => void) => void;
31
- }
32
11
  export interface IAppInsightsCore extends IPerfManagerProvider {
33
12
  config: IConfiguration;
34
13
  logger: IDiagnosticLogger;
@@ -64,60 +43,10 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
64
43
  * @param {INotificationListener} listener - INotificationListener to remove.
65
44
  */
66
45
  removeNotificationListener?(listener: INotificationListener): void;
67
- /**
68
- * Add a telemetry processor to decorate or drop telemetry events.
69
- * @param telemetryInitializer - The Telemetry Initializer function
70
- * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed
71
- */
72
- addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler | void;
73
46
  pollInternalLogs?(eventName?: string): number;
74
47
  stopPollingInternalLogs?(): void;
75
48
  /**
76
49
  * Return a new instance of the IProcessTelemetryContext for processing events
77
50
  */
78
51
  getProcessTelContext(): IProcessTelemetryContext;
79
- /**
80
- * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered
81
- * to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous
82
- * unload call return `true` stating that all plugins reported that they also unloaded, the recommended
83
- * approach is to create a new instance and initialize that instance.
84
- * This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable
85
- * to successfully remove any global references or they may just be completing the unload process asynchronously.
86
- * @param isAsync - Can the unload be performed asynchronously (default)
87
- * @param unloadComplete - An optional callback that will be called once the unload has completed
88
- * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.
89
- */
90
- unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
91
- /**
92
- * Find and return the (first) plugin with the specified identifier if present
93
- * @param pluginIdentifier
94
- */
95
- getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
96
- /**
97
- * Add a new plugin to the installation
98
- * @param plugin - The new plugin to add
99
- * @param replaceExisting - should any existing plugin be replaced, default is false
100
- * @param doAsync - Should the add be performed asynchronously
101
- * @param addCb - [Optional] callback to call after the plugin has been added
102
- */
103
- addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
104
- /**
105
- * Returns the unique event namespace that should be used when registering events
106
- */
107
- evtNamespace(): string;
108
- /**
109
- * Add a handler that will be called when the SDK is being unloaded
110
- * @param handler - the handler
111
- */
112
- addUnloadCb(handler: UnloadHandler): void;
113
- /**
114
- * Flush and send any batched / cached data immediately
115
- * @param async - send data asynchronously when true (defaults to true)
116
- * @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.
117
- * If the caller doesn't return true the caller should assume that it may never be called.
118
- * @param sendReason - specify the reason that you are calling "flush" defaults to ManualFlush (1) if not specified
119
- * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.
120
- * @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
121
- */
122
- flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
123
52
  }
@@ -1,7 +1,4 @@
1
- import { SendRequestReason } from "../JavaScriptSDK.Enums/SendRequestReason";
2
- import { IProcessTelemetryUnloadContext } from "./IProcessTelemetryContext";
3
1
  import { ITelemetryPlugin } from "./ITelemetryPlugin";
4
- import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
5
2
  /**
6
3
  * Provides data transmission capabilities
7
4
  */
@@ -15,22 +12,14 @@ export interface IChannelControls extends ITelemetryPlugin {
15
12
  */
16
13
  resume(): void;
17
14
  /**
18
- * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and
19
- * therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further
20
- * processTelemetry calls are ignored and it just calls the processNext() with the provided context.
21
- * @param unloadCtx - This is the context that should be used during unloading.
22
- * @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.
23
- * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.
15
+ * Tear down transmission pipeline
24
16
  */
25
- teardown: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
17
+ teardown(): void;
26
18
  /**
27
19
  * Flush to send data immediately; channel should default to sending data asynchronously
28
- * @param async - send data asynchronously when true
29
- * @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.
30
- * If the caller doesn't return true the caller should assume that it may never be called.
31
- * @param sendReason - specify the reason that you are calling "flush" defaults to ManualFlush (1) if not specified
32
- * @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
20
+ * @param async: send data asynchronously when true
21
+ * @param callBack: if specified, notify caller when send is complete
33
22
  */
34
- flush(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
23
+ flush(async: boolean, callBack?: () => void): void;
35
24
  }
36
25
  export declare const MinChannelPriorty: number;
@@ -8,11 +8,6 @@ export declare type InstrumentorHooksCallback = (funcArgs: IInstrumentCallDetail
8
8
  * You must always supply the error callback
9
9
  */
10
10
  export interface IInstrumentHooksCallbacks {
11
- /**
12
- * [Optional] Namespace details (same as the namespace used for events), useful for debugging and testing to
13
- * identify the source of the instrumented hooks
14
- */
15
- ns?: string | string[];
16
11
  /**
17
12
  * The hook callback to call before the original function is called
18
13
  */
@@ -73,8 +68,4 @@ export interface IInstrumentCallDetails {
73
68
  * The error (exception) which occurred while executing the original method
74
69
  */
75
70
  err?: Error;
76
- /**
77
- * The Event object from (window.event) at the start of the original call
78
- */
79
- evt?: Event;
80
71
  }
@@ -1,17 +1,14 @@
1
1
  import { IAppInsightsCore } from "./IAppInsightsCore";
2
- import { IConfiguration } from "./IConfiguration";
3
2
  import { IDiagnosticLogger } from "./IDiagnosticLogger";
3
+ import { IConfiguration } from "./IConfiguration";
4
4
  import { ITelemetryItem } from "./ITelemetryItem";
5
- import { IPlugin, ITelemetryPlugin } from "./ITelemetryPlugin";
5
+ import { IPlugin } from "./ITelemetryPlugin";
6
6
  import { ITelemetryPluginChain } from "./ITelemetryPluginChain";
7
- import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
8
- import { ITelemetryUpdateState } from "./ITelemetryUpdateState";
9
- export declare const enum GetExtCfgMergeType {
10
- None = 0,
11
- MergeDefaultOnly = 1,
12
- MergeDefaultFromRootOrDefault = 2
13
- }
14
- export interface IBaseProcessingContext {
7
+ /**
8
+ * The current context for the current call to processTelemetry(), used to support sharing the same plugin instance
9
+ * between multiple AppInsights instances
10
+ */
11
+ export interface IProcessTelemetryContext {
15
12
  /**
16
13
  * The current core instance for the request
17
14
  */
@@ -27,7 +24,7 @@ export interface IBaseProcessingContext {
27
24
  /**
28
25
  * Gets the named extension config
29
26
  */
30
- getExtCfg: <T>(identifier: string, defaultValue?: T | any, mergeDefault?: GetExtCfgMergeType) => T;
27
+ getExtCfg: <T>(identifier: string, defaultValue?: T | any) => T;
31
28
  /**
32
29
  * Gets the named config from either the named identifier extension or core config if neither exist then the
33
30
  * default value is returned
@@ -35,7 +32,7 @@ export interface IBaseProcessingContext {
35
32
  * @param field The config field name
36
33
  * @param defaultValue The default value to return if no defined config exists
37
34
  */
38
- getConfig: (identifier: string, field: string, defaultValue?: number | string | boolean | string[] | RegExp[] | Function) => number | string | boolean | string[] | RegExp[] | Function;
35
+ getConfig: (identifier: string, field: string, defaultValue?: number | string | boolean) => number | string | boolean;
39
36
  /**
40
37
  * Helper to allow plugins to check and possibly shortcut executing code only
41
38
  * required if there is a nextPlugin
@@ -49,41 +46,13 @@ export interface IBaseProcessingContext {
49
46
  * Helper to set the next plugin proxy
50
47
  */
51
48
  setNext: (nextCtx: ITelemetryPluginChain) => void;
52
- /**
53
- * Synchronously iterate over the context chain running the callback for each plugin, once
54
- * every plugin has been executed via the callback, any associated onComplete will be called.
55
- * @param callback - The function call for each plugin in the context chain
56
- */
57
- iterate: <T extends ITelemetryPlugin = ITelemetryPlugin>(callback: (plugin: T) => void) => void;
58
- /**
59
- * Set the function to call when the current chain has executed all processNext or unloadNext items.
60
- * @param onComplete - The onComplete to call
61
- * @param that - The "this" value to use for the onComplete call, if not provided or undefined defaults to the current context
62
- * @param args - Any additional arguments to pass to the onComplete function
63
- */
64
- onComplete: (onComplete: () => void, that?: any, ...args: any[]) => void;
65
- /**
66
- * Create a new context using the core and config from the current instance, returns a new instance of the same type
67
- * @param plugins - The execution order to process the plugins, if null or not supplied
68
- * then the current execution order will be copied.
69
- * @param startAt - The plugin to start processing from, if missing from the execution
70
- * order then the next plugin will be NOT set.
71
- */
72
- createNew: (plugins?: IPlugin[] | ITelemetryPluginChain, startAt?: IPlugin) => IBaseProcessingContext;
73
- }
74
- /**
75
- * The current context for the current call to processTelemetry(), used to support sharing the same plugin instance
76
- * between multiple AppInsights instances
77
- */
78
- export interface IProcessTelemetryContext extends IBaseProcessingContext {
79
49
  /**
80
50
  * Call back for telemetry processing before it it is sent
81
51
  * @param env - This is the current event being reported
82
- * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)
83
52
  */
84
- processNext: (env: ITelemetryItem) => boolean | void;
53
+ processNext: (env: ITelemetryItem) => void;
85
54
  /**
86
- * Create a new context using the core and config from the current instance, returns a new instance of the same type
55
+ * Create a new context using the core and config from the current instance
87
56
  * @param plugins - The execution order to process the plugins, if null or not supplied
88
57
  * then the current execution order will be copied.
89
58
  * @param startAt - The plugin to start processing from, if missing from the execution
@@ -91,43 +60,3 @@ export interface IProcessTelemetryContext extends IBaseProcessingContext {
91
60
  */
92
61
  createNew: (plugins?: IPlugin[] | ITelemetryPluginChain, startAt?: IPlugin) => IProcessTelemetryContext;
93
62
  }
94
- /**
95
- * The current context for the current call to teardown() implementations, used to support when plugins are being removed
96
- * or the SDK is being unloaded.
97
- */
98
- export interface IProcessTelemetryUnloadContext extends IBaseProcessingContext {
99
- /**
100
- * This Plugin has finished unloading, so unload the next one
101
- * @param uploadState - The state of the unload process
102
- * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)
103
- */
104
- processNext: (unloadState: ITelemetryUnloadState) => boolean | void;
105
- /**
106
- * Create a new context using the core and config from the current instance, returns a new instance of the same type
107
- * @param plugins - The execution order to process the plugins, if null or not supplied
108
- * then the current execution order will be copied.
109
- * @param startAt - The plugin to start processing from, if missing from the execution
110
- * order then the next plugin will be NOT set.
111
- */
112
- createNew: (plugins?: IPlugin[] | ITelemetryPluginChain, startAt?: IPlugin) => IProcessTelemetryUnloadContext;
113
- }
114
- /**
115
- * The current context for the current call to the plugin update() implementations, used to support the notifications
116
- * for when plugins are added, removed or the configuration was changed.
117
- */
118
- export interface IProcessTelemetryUpdateContext extends IBaseProcessingContext {
119
- /**
120
- * This Plugin has finished unloading, so unload the next one
121
- * @param updateState - The update State
122
- * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)
123
- */
124
- processNext: (updateState: ITelemetryUpdateState) => boolean | void;
125
- /**
126
- * Create a new context using the core and config from the current instance, returns a new instance of the same type
127
- * @param plugins - The execution order to process the plugins, if null or not supplied
128
- * then the current execution order will be copied.
129
- * @param startAt - The plugin to start processing from, if missing from the execution
130
- * order then the next plugin will be NOT set.
131
- */
132
- createNew: (plugins?: IPlugin[] | ITelemetryPluginChain, startAt?: IPlugin) => IProcessTelemetryUpdateContext;
133
- }
@@ -1,11 +1,12 @@
1
1
  import { ITelemetryItem } from "./ITelemetryItem";
2
2
  import { IConfiguration } from "./IConfiguration";
3
3
  import { IAppInsightsCore } from "./IAppInsightsCore";
4
- import { IProcessTelemetryContext, IProcessTelemetryUnloadContext, IProcessTelemetryUpdateContext } from "./IProcessTelemetryContext";
4
+ import { IProcessTelemetryContext } from "./IProcessTelemetryContext";
5
5
  import { ITelemetryPluginChain } from "./ITelemetryPluginChain";
6
- import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
7
- import { ITelemetryUpdateState } from "./ITelemetryUpdateState";
8
- export interface ITelemetryProcessor {
6
+ /**
7
+ * Configuration provided to SDK core
8
+ */
9
+ export interface ITelemetryPlugin extends IPlugin {
9
10
  /**
10
11
  * Call back for telemetry processing before it it is sent
11
12
  * @param env - This is the current event being reported
@@ -14,20 +15,6 @@ export interface ITelemetryProcessor {
14
15
  * to later plugins (vs appending items to the telemetry item)
15
16
  */
16
17
  processTelemetry: (env: ITelemetryItem, itemCtx?: IProcessTelemetryContext) => void;
17
- /**
18
- * The the plugin should re-evaluate configuration and update any cached configuration settings or
19
- * plugins. If implemented this method will be called whenever a plugin is added or removed and if
20
- * the configuration has bee updated.
21
- * @param updateCtx - This is the context that should be used during updating.
22
- * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.
23
- * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.
24
- */
25
- update?: (updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState) => void | boolean;
26
- }
27
- /**
28
- * Configuration provided to SDK core
29
- */
30
- export interface ITelemetryPlugin extends ITelemetryProcessor, IPlugin {
31
18
  /**
32
19
  * Set next extension for telemetry processing, this is not optional as plugins should use the
33
20
  * processNext() function of the passed IProcessTelemetryContext instead. It is being kept for
@@ -55,14 +42,10 @@ export interface IPlugin {
55
42
  */
56
43
  isInitialized?: () => boolean;
57
44
  /**
58
- * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and
59
- * therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further
60
- * processTelemetry calls are ignored and it just calls the processNext() with the provided context.
61
- * @param unloadCtx - This is the context that should be used during unloading.
62
- * @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.
63
- * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.
45
+ * Tear down the plugin and remove any hooked value, the plugin should remove that it is no longer initialized and
46
+ * therefore can be re-initialized after being torn down.
64
47
  */
65
- teardown?: (unloadCtx: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
48
+ teardown?: () => void;
66
49
  /**
67
50
  * Extension name
68
51
  */
@@ -1,10 +1,10 @@
1
- import { IProcessTelemetryUnloadContext } from "./IProcessTelemetryContext";
2
- import { ITelemetryPlugin, ITelemetryProcessor } from "./ITelemetryPlugin";
3
- import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
1
+ import { ITelemetryItem } from "./ITelemetryItem";
2
+ import { IProcessTelemetryContext } from "./IProcessTelemetryContext";
3
+ import { ITelemetryPlugin } from "./ITelemetryPlugin";
4
4
  /**
5
5
  * Configuration provided to SDK core
6
6
  */
7
- export interface ITelemetryPluginChain extends ITelemetryProcessor {
7
+ export interface ITelemetryPluginChain {
8
8
  /**
9
9
  * Returns the underlying plugin that is being proxied for the processTelemetry call
10
10
  */
@@ -14,10 +14,11 @@ export interface ITelemetryPluginChain extends ITelemetryProcessor {
14
14
  */
15
15
  getNext: () => ITelemetryPluginChain;
16
16
  /**
17
- * This plugin is being unloaded and should remove any hooked events and cleanup any global/scoped values, after this
18
- * call the plugin will be removed from the telemetry processing chain and will no longer receive any events..
19
- * @param unloadCtx - The unload context to use for this call.
20
- * @param unloadState - The details of the unload operation
17
+ * Call back for telemetry processing before it it is sent
18
+ * @param env - This is the current event being reported
19
+ * @param itemCtx - This is the context for the current request, ITelemetryPlugin instances
20
+ * can optionally use this to access the current core instance or define / pass additional information
21
+ * to later plugins (vs appending items to the telemetry item)
21
22
  */
22
- unload?: (unloadCtx: IProcessTelemetryUnloadContext, unloadState: ITelemetryUnloadState) => void;
23
+ processTelemetry: (env: ITelemetryItem, itemCtx: IProcessTelemetryContext) => void;
23
24
  }
@@ -1,25 +1,21 @@
1
1
  export { IConfiguration } from "./JavaScriptSDK.Interfaces/IConfiguration";
2
2
  export { IChannelControls, MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
3
3
  export { ITelemetryPlugin, IPlugin } from "./JavaScriptSDK.Interfaces/ITelemetryPlugin";
4
- export { IAppInsightsCore, ILoadedPlugin } from "./JavaScriptSDK.Interfaces/IAppInsightsCore";
4
+ export { IAppInsightsCore } from "./JavaScriptSDK.Interfaces/IAppInsightsCore";
5
5
  export { ITelemetryItem, ICustomProperties, Tags } from "./JavaScriptSDK.Interfaces/ITelemetryItem";
6
- export { IBaseProcessingContext, IProcessTelemetryContext, IProcessTelemetryUnloadContext, IProcessTelemetryUpdateContext, GetExtCfgMergeType } from "./JavaScriptSDK.Interfaces/IProcessTelemetryContext";
6
+ export { IProcessTelemetryContext } from "./JavaScriptSDK.Interfaces/IProcessTelemetryContext";
7
7
  export { INotificationListener } from "./JavaScriptSDK.Interfaces/INotificationListener";
8
8
  export { ITelemetryPluginChain } from "./JavaScriptSDK.Interfaces/ITelemetryPluginChain";
9
9
  export { IDiagnosticLogger } from "./JavaScriptSDK.Interfaces/IDiagnosticLogger";
10
10
  export { InstrumentorHooksCallback, IInstrumentHooksCallbacks, IInstrumentHooks, IInstrumentHook, IInstrumentCallDetails } from "./JavaScriptSDK.Interfaces/IInstrumentHooks";
11
- export { IUnloadableComponent } from "./JavaScriptSDK.Interfaces/IUnloadableComponent";
12
11
  export { EventsDiscardedReason } from "./JavaScriptSDK.Enums/EventsDiscardedReason";
13
12
  export { SendRequestReason } from "./JavaScriptSDK.Enums/SendRequestReason";
14
- export { TelemetryUpdateReason } from "./JavaScriptSDK.Enums/TelemetryUpdateReason";
15
- export { TelemetryUnloadReason } from "./JavaScriptSDK.Enums/TelemetryUnloadReason";
16
13
  export { AppInsightsCore } from "./JavaScriptSDK/AppInsightsCore";
17
14
  export { BaseCore } from "./JavaScriptSDK/BaseCore";
18
15
  export { BaseTelemetryPlugin } from "./JavaScriptSDK/BaseTelemetryPlugin";
19
- export { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from "./JavaScriptSDK/RandomHelper";
20
- export { CoreUtils, ICoreUtils, EventHelper, IEventHelper, Undefined, newGuid, perfNow, generateW3CId, disableCookies, canUseCookies, getCookie, setCookie, deleteCookie, _legacyCookieMgr } from "./JavaScriptSDK/CoreUtils";
21
- export { isTypeof, isUndefined, isNullOrUndefined, hasOwnProperty, isObject, isFunction, normalizeJsName, objForEachKey, strEndsWith, strStartsWith, isDate, isArray, isError, isString, isNumber, isBoolean, toISOString, arrForEach, arrIndexOf, arrMap, arrReduce, strTrim, objKeys, objDefineAccessors, dateNow, getExceptionName, throwError, strContains, isSymbol, setValue, getSetValue, isNotTruthy, isTruthy, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objFreeze, objSeal, createEnumStyle, objExtend, objToString } from "./JavaScriptSDK/HelperFuncs";
22
- export { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, removePageShowEventListener, eventOn, eventOff, mergeEvtNamespace, _IRegisteredEvents, __getRegisteredEvents } from "./JavaScriptSDK/EventHelpers";
16
+ export { randomValue, random32, mwcRandomSeed, mwcRandom32 } from "./JavaScriptSDK/RandomHelper";
17
+ export { CoreUtils, ICoreUtils, EventHelper, IEventHelper, Undefined, addEventHandler, newGuid, perfNow, newId, generateW3CId, disableCookies, canUseCookies, getCookie, setCookie, deleteCookie, _legacyCookieMgr, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener } from "./JavaScriptSDK/CoreUtils";
18
+ export { isTypeof, isUndefined, isNullOrUndefined, hasOwnProperty, isObject, isFunction, attachEvent, detachEvent, normalizeJsName, objForEachKey, strEndsWith, strStartsWith, isDate, isArray, isError, isString, isNumber, isBoolean, toISOString, arrForEach, arrIndexOf, arrMap, arrReduce, strTrim, objKeys, objDefineAccessors, dateNow, getExceptionName, throwError, strContains, isSymbol, setValue, getSetValue, isNotTruthy, isTruthy, proxyAssign, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objFreeze, objSeal } from "./JavaScriptSDK/HelperFuncs";
23
19
  export { getGlobalInst, hasWindow, getWindow, hasDocument, getDocument, getCrypto, getMsCrypto, hasNavigator, getNavigator, hasHistory, getHistory, getLocation, getPerformance, hasJSON, getJSON, isReactNative, getConsole, dumpObj, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported } from "./JavaScriptSDK/EnvUtils";
24
20
  export { getGlobal, objCreateFn as objCreate, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from "@microsoft/applicationinsights-shims";
25
21
  export { NotificationManager } from "./JavaScriptSDK/NotificationManager";
@@ -27,18 +23,13 @@ export { INotificationManager } from "./JavaScriptSDK.Interfaces/INotificationMa
27
23
  export { IPerfEvent } from "./JavaScriptSDK.Interfaces/IPerfEvent";
28
24
  export { IPerfManager, IPerfManagerProvider } from "./JavaScriptSDK.Interfaces/IPerfManager";
29
25
  export { PerfEvent, PerfManager, doPerf, getGblPerfMgr, setGblPerfMgr } from "./JavaScriptSDK/PerfManager";
30
- export { safeGetLogger, DiagnosticLogger, _InternalLogMessage, _throwInternal } from "./JavaScriptSDK/DiagnosticLogger";
31
- export { ProcessTelemetryContext, createProcessTelemetryContext } from "./JavaScriptSDK/ProcessTelemetryContext";
32
- export { initializePlugins, sortPlugins, unloadComponents } from "./JavaScriptSDK/TelemetryHelpers";
33
- export { _InternalMessageId, _eInternalMessageId, LoggingSeverity, eLoggingSeverity } from "./JavaScriptSDK.Enums/LoggingEnums";
26
+ export { safeGetLogger, DiagnosticLogger, _InternalLogMessage } from "./JavaScriptSDK/DiagnosticLogger";
27
+ export { ProcessTelemetryContext } from "./JavaScriptSDK/ProcessTelemetryContext";
28
+ export { initializePlugins, sortPlugins } from "./JavaScriptSDK/TelemetryHelpers";
29
+ export { _InternalMessageId, LoggingSeverity } from "./JavaScriptSDK.Enums/LoggingEnums";
34
30
  export { InstrumentProto, InstrumentProtos, InstrumentFunc, InstrumentFuncs } from "./JavaScriptSDK/InstrumentHooks";
35
31
  export { ICookieMgr, ICookieMgrConfig } from "./JavaScriptSDK.Interfaces/ICookieMgr";
36
32
  export { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesSupported } from "./JavaScriptSDK/CookieMgr";
37
33
  export { strIKey, strExtensionConfig } from "./JavaScriptSDK/Constants";
38
34
  export { IDbgExtension } from "./JavaScriptSDK.Interfaces/IDbgExtension";
39
35
  export { getDebugListener, getDebugExt } from "./JavaScriptSDK/DbgExtensionUtils";
40
- export { TelemetryInitializerFunction, ITelemetryInitializerHandler, ITelemetryInitializerContainer } from "./JavaScriptSDK.Interfaces/ITelemetryInitializers";
41
- export { createUniqueNamespace } from "./JavaScriptSDK/DataCacheHelper";
42
- export { UnloadHandler, IUnloadHandlerContainer, createUnloadHandlerContainer } from "./JavaScriptSDK/UnloadHandlerContainer";
43
- export { ITelemetryUpdateState } from "./JavaScriptSDK.Interfaces/ITelemetryUpdateState";
44
- export { ITelemetryUnloadState } from "./JavaScriptSDK.Interfaces/ITelemetryUnloadState";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.19.5"
8
+ "packageVersion": "7.23.0"
9
9
  }
10
10
  ]
11
11
  }