@microsoft/applicationinsights-analytics-js 3.4.0-nightlybeta3.2505-36 → 3.4.0-nightlybeta3.2507-22

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 (35) hide show
  1. package/browser/es5/applicationinsights-analytics-js.cjs.js +471 -422
  2. package/browser/es5/applicationinsights-analytics-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-analytics-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-analytics-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-analytics-js.gbl.js +473 -424
  6. package/browser/es5/applicationinsights-analytics-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-analytics-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-analytics-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-analytics-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-analytics-js.js +473 -424
  11. package/browser/es5/applicationinsights-analytics-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-analytics-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-analytics-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-analytics-js.js +471 -422
  15. package/dist/es5/applicationinsights-analytics-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-analytics-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-analytics-js.min.js.map +1 -1
  18. package/dist-es5/JavaScriptSDK/AnalyticsPlugin.js +40 -41
  19. package/dist-es5/JavaScriptSDK/AnalyticsPlugin.js.map +1 -1
  20. package/dist-es5/JavaScriptSDK/Interfaces/IAnalyticsConfig.js +8 -0
  21. package/dist-es5/JavaScriptSDK/Interfaces/IAnalyticsConfig.js.map +1 -0
  22. package/dist-es5/JavaScriptSDK/Telemetry/PageViewManager.js +175 -178
  23. package/dist-es5/JavaScriptSDK/Telemetry/PageViewManager.js.map +1 -1
  24. package/dist-es5/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js +86 -96
  25. package/dist-es5/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js.map +1 -1
  26. package/dist-es5/JavaScriptSDK/Telemetry/PageVisitTimeManager.js +85 -92
  27. package/dist-es5/JavaScriptSDK/Telemetry/PageVisitTimeManager.js.map +1 -1
  28. package/dist-es5/JavaScriptSDK/Timing.js +18 -15
  29. package/dist-es5/JavaScriptSDK/Timing.js.map +1 -1
  30. package/dist-es5/__DynamicConstants.js +7 -4
  31. package/dist-es5/__DynamicConstants.js.map +1 -1
  32. package/dist-es5/applicationinsights-analytics-js.js +1 -1
  33. package/package.json +5 -5
  34. package/types/applicationinsights-analytics-js.d.ts +100 -1
  35. package/types/applicationinsights-analytics-js.namespaced.d.ts +381 -14
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2505-36
2
+ * Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2507-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -14,19 +14,21 @@
14
14
  export var _DYN_TO_STRING = "toString"; // Count: 4
15
15
  export var _DYN_IS_STORAGE_USE_DISAB0 = "isStorageUseDisabled"; // Count: 3
16
16
  export var _DYN__ADD_HOOK = "_addHook"; // Count: 6
17
- export var _DYN_CORE = "core"; // Count: 7
17
+ export var _DYN_CORE = "core"; // Count: 11
18
18
  export var _DYN_DATA_TYPE = "dataType"; // Count: 8
19
19
  export var _DYN_ENVELOPE_TYPE = "envelopeType"; // Count: 7
20
20
  export var _DYN_DIAG_LOG = "diagLog"; // Count: 13
21
21
  export var _DYN_TRACK = "track"; // Count: 7
22
22
  export var _DYN_TRACK_PAGE_VIEW = "trackPageView"; // Count: 4
23
+ export var _DYN_CONFIG = "config"; // Count: 12
23
24
  export var _DYN_TRACK_PREVIOUS_PAGE_1 = "trackPreviousPageVisit"; // Count: 3
24
25
  export var _DYN_SEND_PAGE_VIEW_INTER2 = "sendPageViewInternal"; // Count: 7
26
+ export var _DYN_REF_URI = "refUri"; // Count: 5
25
27
  export var _DYN_START_TIME = "startTime"; // Count: 6
26
28
  export var _DYN_PROPERTIES = "properties"; // Count: 5
27
29
  export var _DYN_DURATION = "duration"; // Count: 12
28
30
  export var _DYN_SEND_PAGE_VIEW_PERFO3 = "sendPageViewPerformanceInternal"; // Count: 3
29
- export var _DYN_POPULATE_PAGE_VIEW_P4 = "populatePageViewPerformanceEvent"; // Count: 3
31
+ export var _DYN_POPULATE_PAGE_VIEW_P4 = "populatePageViewPerformanceEvent"; // Count: 2
30
32
  export var _DYN_HREF = "href"; // Count: 6
31
33
  export var _DYN_SEND_EXCEPTION_INTER5 = "sendExceptionInternal"; // Count: 2
32
34
  export var _DYN_ERROR = "error"; // Count: 5
@@ -46,11 +48,12 @@ export var _DYN_GET_ENTRIES_BY_TYPE = "getEntriesByType"; // Count: 5
46
48
  export var _DYN_IS_PERFORMANCE_TIMIN15 = "isPerformanceTimingSupported"; // Count: 2
47
49
  export var _DYN_GET_PERFORMANCE_TIMI16 = "getPerformanceTiming"; // Count: 2
48
50
  export var _DYN_NAVIGATION_START = "navigationStart"; // Count: 4
49
- export var _DYN_SHOULD_COLLECT_DURAT17 = "shouldCollectDuration"; // Count: 3
51
+ export var _DYN_SHOULD_COLLECT_DURAT17 = "shouldCollectDuration"; // Count: 2
50
52
  export var _DYN_IS_PERFORMANCE_TIMIN18 = "isPerformanceTimingDataReady"; // Count: 2
51
53
  export var _DYN_RESPONSE_START = "responseStart"; // Count: 5
52
54
  export var _DYN_REQUEST_START = "requestStart"; // Count: 3
53
55
  export var _DYN_LOAD_EVENT_END = "loadEventEnd"; // Count: 4
54
56
  export var _DYN_RESPONSE_END = "responseEnd"; // Count: 5
55
57
  export var _DYN_CONNECT_END = "connectEnd"; // Count: 4
58
+ export var _DYN_PAGE_VISIT_TIME = "pageVisitTime"; // Count: 3
56
59
  //# sourceMappingURL=__DynamicConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES5 which can result in a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_TO_STRING = \"toString\"; // Count: 4\r\nexport var _DYN_IS_STORAGE_USE_DISAB0 = \"isStorageUseDisabled\"; // Count: 3\r\nexport var _DYN__ADD_HOOK = \"_addHook\"; // Count: 6\r\nexport var _DYN_CORE = \"core\"; // Count: 7\r\nexport var _DYN_DATA_TYPE = \"dataType\"; // Count: 8\r\nexport var _DYN_ENVELOPE_TYPE = \"envelopeType\"; // Count: 7\r\nexport var _DYN_DIAG_LOG = \"diagLog\"; // Count: 13\r\nexport var _DYN_TRACK = \"track\"; // Count: 7\r\nexport var _DYN_TRACK_PAGE_VIEW = \"trackPageView\"; // Count: 4\r\nexport var _DYN_TRACK_PREVIOUS_PAGE_1 = \"trackPreviousPageVisit\"; // Count: 3\r\nexport var _DYN_SEND_PAGE_VIEW_INTER2 = \"sendPageViewInternal\"; // Count: 7\r\nexport var _DYN_START_TIME = \"startTime\"; // Count: 6\r\nexport var _DYN_PROPERTIES = \"properties\"; // Count: 5\r\nexport var _DYN_DURATION = \"duration\"; // Count: 12\r\nexport var _DYN_SEND_PAGE_VIEW_PERFO3 = \"sendPageViewPerformanceInternal\"; // Count: 3\r\nexport var _DYN_POPULATE_PAGE_VIEW_P4 = \"populatePageViewPerformanceEvent\"; // Count: 3\r\nexport var _DYN_HREF = \"href\"; // Count: 6\r\nexport var _DYN_SEND_EXCEPTION_INTER5 = \"sendExceptionInternal\"; // Count: 2\r\nexport var _DYN_ERROR = \"error\"; // Count: 5\r\nexport var _DYN_LINE_NUMBER = \"lineNumber\"; // Count: 4\r\nexport var _DYN_COLUMN_NUMBER = \"columnNumber\"; // Count: 5\r\nexport var _DYN__CREATE_AUTO_EXCEPTI6 = \"CreateAutoException\"; // Count: 3\r\nexport var _DYN_ADD_TELEMETRY_INITIA7 = \"addTelemetryInitializer\"; // Count: 4\r\nexport var _DYN_OVERRIDE_PAGE_VIEW_D8 = \"overridePageViewDuration\"; // Count: 2\r\nexport var _DYN_AUTO_EXCEPTION_INSTR9 = \"autoExceptionInstrumented\"; // Count: 3\r\nexport var _DYN_AUTO_TRACK_PAGE_VISI10 = \"autoTrackPageVisitTime\"; // Count: 2\r\nexport var _DYN_IS_BROWSER_LINK_TRAC11 = \"isBrowserLinkTrackingEnabled\"; // Count: 2\r\nexport var _DYN_LENGTH = \"length\"; // Count: 5\r\nexport var _DYN_ENABLE_AUTO_ROUTE_TR12 = \"enableAutoRouteTracking\"; // Count: 2\r\nexport var _DYN_ENABLE_UNHANDLED_PRO13 = \"enableUnhandledPromiseRejectionTracking\"; // Count: 2\r\nexport var _DYN_AUTO_UNHANDLED_PROMI14 = \"autoUnhandledPromiseInstrumented\"; // Count: 3\r\nexport var _DYN_GET_ENTRIES_BY_TYPE = \"getEntriesByType\"; // Count: 5\r\nexport var _DYN_IS_PERFORMANCE_TIMIN15 = \"isPerformanceTimingSupported\"; // Count: 2\r\nexport var _DYN_GET_PERFORMANCE_TIMI16 = \"getPerformanceTiming\"; // Count: 2\r\nexport var _DYN_NAVIGATION_START = \"navigationStart\"; // Count: 4\r\nexport var _DYN_SHOULD_COLLECT_DURAT17 = \"shouldCollectDuration\"; // Count: 3\r\nexport var _DYN_IS_PERFORMANCE_TIMIN18 = \"isPerformanceTimingDataReady\"; // Count: 2\r\nexport var _DYN_RESPONSE_START = \"responseStart\"; // Count: 5\r\nexport var _DYN_REQUEST_START = \"requestStart\"; // Count: 3\r\nexport var _DYN_LOAD_EVENT_END = \"loadEventEnd\"; // Count: 4\r\nexport var _DYN_RESPONSE_END = \"responseEnd\"; // Count: 5\r\nexport var _DYN_CONNECT_END = \"connectEnd\"; // Count: 4\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES5 which can result in a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_TO_STRING = \"toString\"; // Count: 4\r\nexport var _DYN_IS_STORAGE_USE_DISAB0 = \"isStorageUseDisabled\"; // Count: 3\r\nexport var _DYN__ADD_HOOK = \"_addHook\"; // Count: 6\r\nexport var _DYN_CORE = \"core\"; // Count: 11\r\nexport var _DYN_DATA_TYPE = \"dataType\"; // Count: 8\r\nexport var _DYN_ENVELOPE_TYPE = \"envelopeType\"; // Count: 7\r\nexport var _DYN_DIAG_LOG = \"diagLog\"; // Count: 13\r\nexport var _DYN_TRACK = \"track\"; // Count: 7\r\nexport var _DYN_TRACK_PAGE_VIEW = \"trackPageView\"; // Count: 4\r\nexport var _DYN_CONFIG = \"config\"; // Count: 12\r\nexport var _DYN_TRACK_PREVIOUS_PAGE_1 = \"trackPreviousPageVisit\"; // Count: 3\r\nexport var _DYN_SEND_PAGE_VIEW_INTER2 = \"sendPageViewInternal\"; // Count: 7\r\nexport var _DYN_REF_URI = \"refUri\"; // Count: 5\r\nexport var _DYN_START_TIME = \"startTime\"; // Count: 6\r\nexport var _DYN_PROPERTIES = \"properties\"; // Count: 5\r\nexport var _DYN_DURATION = \"duration\"; // Count: 12\r\nexport var _DYN_SEND_PAGE_VIEW_PERFO3 = \"sendPageViewPerformanceInternal\"; // Count: 3\r\nexport var _DYN_POPULATE_PAGE_VIEW_P4 = \"populatePageViewPerformanceEvent\"; // Count: 2\r\nexport var _DYN_HREF = \"href\"; // Count: 6\r\nexport var _DYN_SEND_EXCEPTION_INTER5 = \"sendExceptionInternal\"; // Count: 2\r\nexport var _DYN_ERROR = \"error\"; // Count: 5\r\nexport var _DYN_LINE_NUMBER = \"lineNumber\"; // Count: 4\r\nexport var _DYN_COLUMN_NUMBER = \"columnNumber\"; // Count: 5\r\nexport var _DYN__CREATE_AUTO_EXCEPTI6 = \"CreateAutoException\"; // Count: 3\r\nexport var _DYN_ADD_TELEMETRY_INITIA7 = \"addTelemetryInitializer\"; // Count: 4\r\nexport var _DYN_OVERRIDE_PAGE_VIEW_D8 = \"overridePageViewDuration\"; // Count: 2\r\nexport var _DYN_AUTO_EXCEPTION_INSTR9 = \"autoExceptionInstrumented\"; // Count: 3\r\nexport var _DYN_AUTO_TRACK_PAGE_VISI10 = \"autoTrackPageVisitTime\"; // Count: 2\r\nexport var _DYN_IS_BROWSER_LINK_TRAC11 = \"isBrowserLinkTrackingEnabled\"; // Count: 2\r\nexport var _DYN_LENGTH = \"length\"; // Count: 5\r\nexport var _DYN_ENABLE_AUTO_ROUTE_TR12 = \"enableAutoRouteTracking\"; // Count: 2\r\nexport var _DYN_ENABLE_UNHANDLED_PRO13 = \"enableUnhandledPromiseRejectionTracking\"; // Count: 2\r\nexport var _DYN_AUTO_UNHANDLED_PROMI14 = \"autoUnhandledPromiseInstrumented\"; // Count: 3\r\nexport var _DYN_GET_ENTRIES_BY_TYPE = \"getEntriesByType\"; // Count: 5\r\nexport var _DYN_IS_PERFORMANCE_TIMIN15 = \"isPerformanceTimingSupported\"; // Count: 2\r\nexport var _DYN_GET_PERFORMANCE_TIMI16 = \"getPerformanceTiming\"; // Count: 2\r\nexport var _DYN_NAVIGATION_START = \"navigationStart\"; // Count: 4\r\nexport var _DYN_SHOULD_COLLECT_DURAT17 = \"shouldCollectDuration\"; // Count: 2\r\nexport var _DYN_IS_PERFORMANCE_TIMIN18 = \"isPerformanceTimingDataReady\"; // Count: 2\r\nexport var _DYN_RESPONSE_START = \"responseStart\"; // Count: 5\r\nexport var _DYN_REQUEST_START = \"requestStart\"; // Count: 3\r\nexport var _DYN_LOAD_EVENT_END = \"loadEventEnd\"; // Count: 4\r\nexport var _DYN_RESPONSE_END = \"responseEnd\"; // Count: 5\r\nexport var _DYN_CONNECT_END = \"connectEnd\"; // Count: 4\r\nexport var _DYN_PAGE_VISIT_TIME = \"pageVisitTime\"; // Count: 3\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2505-36
2
+ * Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2507-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-analytics-js",
3
- "version": "3.4.0-nightlybeta3.2505-36",
3
+ "version": "3.4.0-nightlybeta3.2507-22",
4
4
  "description": "Microsoft Application Insights JavaScript SDK - Web Analytics",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -32,8 +32,8 @@
32
32
  "@microsoft/ai-test-framework": "0.0.1",
33
33
  "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
34
34
  "@microsoft/applicationinsights-rollup-es5": "1.0.2",
35
- "@microsoft/applicationinsights-properties-js": "3.4.0-nightlybeta3.2505-36",
36
- "@microsoft/applicationinsights-channel-js": "3.4.0-nightlybeta3.2505-36",
35
+ "@microsoft/applicationinsights-properties-js": "3.4.0-nightlybeta3.2507-22",
36
+ "@microsoft/applicationinsights-channel-js": "3.4.0-nightlybeta3.2507-22",
37
37
  "@microsoft/api-extractor": "^7.40.0",
38
38
  "typescript": "^4.9.3",
39
39
  "tslib": "^2.0.0",
@@ -60,8 +60,8 @@
60
60
  "dependencies": {
61
61
  "@microsoft/dynamicproto-js": "^2.0.3",
62
62
  "@microsoft/applicationinsights-shims": "3.0.1",
63
- "@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2505-36",
64
- "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2505-36",
63
+ "@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2507-22",
64
+ "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2507-22",
65
65
  "@nevware21/ts-utils": ">= 0.11.8 < 2.x"
66
66
  },
67
67
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2505-36
2
+ * Microsoft Application Insights JavaScript SDK - Web Analytics, 3.4.0-nightlybeta3.2507-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -21,6 +21,7 @@ import { IConfiguration } from '@microsoft/applicationinsights-core-js';
21
21
  import { ICookieMgr } from '@microsoft/applicationinsights-core-js';
22
22
  import { ICustomProperties } from '@microsoft/applicationinsights-core-js';
23
23
  import { IEventTelemetry } from '@microsoft/applicationinsights-common';
24
+ import { IExceptionConfig } from '@microsoft/applicationinsights-core-js';
24
25
  import { IExceptionTelemetry } from '@microsoft/applicationinsights-common';
25
26
  import { IMetricTelemetry } from '@microsoft/applicationinsights-common';
26
27
  import { IPageViewPerformanceTelemetry } from '@microsoft/applicationinsights-common';
@@ -166,6 +167,104 @@ declare class AnalyticsPlugin extends BaseTelemetryPlugin implements IAppInsight
166
167
  export { AnalyticsPlugin }
167
168
  export { AnalyticsPlugin as ApplicationInsights }
168
169
 
170
+ /**
171
+ * Configuration interface specifically for AnalyticsPlugin
172
+ * This interface defines only the configuration properties that the Analytics plugin uses.
173
+ */
174
+ export declare interface IAnalyticsConfig {
175
+ /**
176
+ * A session is logged if the user is inactive for this amount of time in milliseconds.
177
+ * @default 1800000 (30 minutes)
178
+ */
179
+ sessionRenewalMs?: number;
180
+ /**
181
+ * A session is logged if it has continued for this amount of time in milliseconds.
182
+ * @default 86400000 (24 hours)
183
+ */
184
+ sessionExpirationMs?: number;
185
+ /**
186
+ * If true, exceptions are not autocollected.
187
+ * @default false
188
+ */
189
+ disableExceptionTracking?: boolean;
190
+ /**
191
+ * If true, on a pageview, the previous instrumented page's view time is tracked and sent as telemetry and a new timer is started for the current pageview.
192
+ * @default false
193
+ */
194
+ autoTrackPageVisitTime?: boolean;
195
+ /**
196
+ * If true, default behavior of trackPageView is changed to record end of page view duration interval when trackPageView is called.
197
+ * @default false
198
+ */
199
+ overridePageViewDuration?: boolean;
200
+ /**
201
+ * Define whether to track unhandled promise rejections and report as JS errors.
202
+ * @default false
203
+ */
204
+ enableUnhandledPromiseRejectionTracking?: boolean;
205
+ /**
206
+ * Internal flag to track if unhandled promise instrumentation is already set up.
207
+ * @default false
208
+ * @internal Internal use only
209
+ * @ignore INTERNAL ONLY
210
+ */
211
+ autoUnhandledPromiseInstrumented?: boolean;
212
+ /**
213
+ * Percentage of events that will be sent. Value must be between 0 and 100.
214
+ * @default 100
215
+ * @example 50 // Only send 50% of events
216
+ */
217
+ samplingPercentage?: number;
218
+ /**
219
+ * If true, the SDK will not store or read any data from local and session storage.
220
+ * @default false
221
+ */
222
+ isStorageUseDisabled?: boolean;
223
+ /**
224
+ * If true, the SDK will track all Browser Link requests.
225
+ * @default false
226
+ */
227
+ isBrowserLinkTrackingEnabled?: boolean;
228
+ /**
229
+ * Automatically track route changes in Single Page Applications (SPA). If true, each route change will send a new Pageview to Application Insights.
230
+ * @default false
231
+ */
232
+ enableAutoRouteTracking?: boolean;
233
+ /**
234
+ * An optional value that will be used as name postfix for localStorage and session cookie name.
235
+ * @default ""
236
+ * @example "MyApp" // Results in localStorage keys like "ai_session_MyApp"
237
+ */
238
+ namePrefix?: string;
239
+ /**
240
+ * If true, debugging data is thrown as an exception by the logger.
241
+ * @default false
242
+ */
243
+ enableDebug?: boolean;
244
+ /**
245
+ * If true, flush method will not be called when onBeforeUnload event triggers.
246
+ * @default false
247
+ */
248
+ disableFlushOnBeforeUnload?: boolean;
249
+ /**
250
+ * If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
251
+ * @default false
252
+ */
253
+ disableFlushOnUnload?: boolean;
254
+ /**
255
+ * Internal flag to track if exception instrumentation is already set up.
256
+ * @default false
257
+ * @internal Internal use only
258
+ * @ignore INTERNAL ONLY
259
+ */
260
+ autoExceptionInstrumented?: boolean;
261
+ /**
262
+ * Exception configuration for additional exception handling options.
263
+ * @default { inclScripts: false, expLog: undefined, maxLogs: 50 }
264
+ */
265
+ expCfg?: IExceptionConfig;
266
+ }
267
+
169
268
  /**
170
269
  * Internal interface to pass appInsights object to subcomponents without coupling
171
270
  */