@microsoft/applicationinsights-analytics-js 3.3.5-nightly3.2501-07 → 3.3.5-nightly3.2501-08
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.
- package/browser/es5/applicationinsights-analytics-js.cjs.js +247 -136
- package/browser/es5/applicationinsights-analytics-js.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-analytics-js.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-analytics-js.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-analytics-js.gbl.js +249 -138
- package/browser/es5/applicationinsights-analytics-js.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-analytics-js.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-analytics-js.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-analytics-js.integrity.json +25 -25
- package/browser/es5/applicationinsights-analytics-js.js +249 -138
- package/browser/es5/applicationinsights-analytics-js.js.map +1 -1
- package/browser/es5/applicationinsights-analytics-js.min.js +2 -2
- package/browser/es5/applicationinsights-analytics-js.min.js.map +1 -1
- package/dist/es5/applicationinsights-analytics-js.js +247 -136
- package/dist/es5/applicationinsights-analytics-js.js.map +1 -1
- package/dist/es5/applicationinsights-analytics-js.min.js +2 -2
- package/dist/es5/applicationinsights-analytics-js.min.js.map +1 -1
- package/dist-es5/JavaScriptSDK/AnalyticsPlugin.js +14 -14
- package/dist-es5/JavaScriptSDK/AnalyticsPlugin.js.map +1 -1
- package/dist-es5/JavaScriptSDK/Telemetry/PageViewManager.js +1 -1
- package/dist-es5/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js +1 -1
- package/dist-es5/JavaScriptSDK/Telemetry/PageVisitTimeManager.js +1 -1
- package/dist-es5/JavaScriptSDK/Timing.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-analytics-js.js +1 -1
- package/package.json +6 -6
- package/types/applicationinsights-analytics-js.d.ts +12 -12
- package/types/applicationinsights-analytics-js.namespaced.d.ts +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK - Web Analytics, 3.3.5-nightly3.2501-
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK - Web Analytics, 3.3.5-nightly3.2501-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -23,14 +23,14 @@ declare namespace ApplicationInsights {
|
|
|
23
23
|
trackEvent(event: IEventTelemetry, customProperties?: ICustomProperties): void;
|
|
24
24
|
/**
|
|
25
25
|
* Start timing an extended event. Call `stopTrackEvent` to log the event when it ends.
|
|
26
|
-
* @param
|
|
26
|
+
* @param name - A string that identifies this event uniquely within the document.
|
|
27
27
|
*/
|
|
28
28
|
startTrackEvent(name: string): void;
|
|
29
29
|
/**
|
|
30
30
|
* Log an extended event that you started timing with `startTrackEvent`.
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @param
|
|
31
|
+
* @param name - The string you used to identify this event in `startTrackEvent`.
|
|
32
|
+
* @param properties - map[string, string] - additional data used to filter events and metrics in the portal. Defaults to empty.
|
|
33
|
+
* @param measurements - map[string, number] - metrics associated with this event, displayed in Metrics Explorer on the portal. Defaults to empty.
|
|
34
34
|
*/
|
|
35
35
|
stopTrackEvent(name: string, properties?: {
|
|
36
36
|
[key: string]: string;
|
|
@@ -50,7 +50,7 @@ declare namespace ApplicationInsights {
|
|
|
50
50
|
* frequently, you can reduce the telemetry bandwidth by aggregating multiple measurements
|
|
51
51
|
* and sending the resulting average at intervals
|
|
52
52
|
* @param metric - input object argument. Only name and average are mandatory.
|
|
53
|
-
* @param
|
|
53
|
+
* @param customProperties - additional data used to filter metrics in the
|
|
54
54
|
* portal. Defaults to empty.
|
|
55
55
|
*/
|
|
56
56
|
trackMetric(metric: IMetricTelemetry, customProperties?: ICustomProperties): void;
|
|
@@ -98,10 +98,10 @@ declare namespace ApplicationInsights {
|
|
|
98
98
|
/**
|
|
99
99
|
* Stops the timer that was started by calling `startTrackPage` and sends the pageview load time telemetry with the specified properties and measurements.
|
|
100
100
|
* The duration of the page view will be the time between calling `startTrackPage` and `stopTrackPage`.
|
|
101
|
-
* @param
|
|
102
|
-
* @param
|
|
103
|
-
* @param
|
|
104
|
-
* @param
|
|
101
|
+
* @param name - The string you used as the name in startTrackPage. Defaults to the document title.
|
|
102
|
+
* @param url - String - a relative or absolute URL that identifies the page or other item. Defaults to the window location.
|
|
103
|
+
* @param properties - map[string, string] - additional data used to filter pages and metrics in the portal. Defaults to empty.
|
|
104
|
+
* @param measurements - map[string, number] - metrics associated with this page, displayed in Metrics Explorer on the portal. Defaults to empty.
|
|
105
105
|
*/
|
|
106
106
|
stopTrackPage(name?: string, url?: string, properties?: {
|
|
107
107
|
[key: string]: string;
|
|
@@ -122,8 +122,8 @@ declare namespace ApplicationInsights {
|
|
|
122
122
|
/**
|
|
123
123
|
* Log an exception you have caught.
|
|
124
124
|
*
|
|
125
|
-
* @param exception -
|
|
126
|
-
* @param
|
|
125
|
+
* @param exception - Object which contains exception to be sent
|
|
126
|
+
* @param customProperties - Additional data used to filter pages and metrics in the portal. Defaults to empty.
|
|
127
127
|
*
|
|
128
128
|
* Any property of type double will be considered a measurement, and will be treated by Application Insights as a metric.
|
|
129
129
|
*/
|
|
@@ -1267,8 +1267,8 @@ declare namespace ApplicationInsights {
|
|
|
1267
1267
|
*/
|
|
1268
1268
|
enablePerfMgr?: boolean;
|
|
1269
1269
|
/**
|
|
1270
|
-
* [Optional] Callback function that will be called to create a the IPerfManager instance when required and
|
|
1271
|
-
* is enabled, this enables you to override the default creation of a PerfManager() without needing to
|
|
1270
|
+
* [Optional] Callback function that will be called to create a the IPerfManager instance when required and `enablePerfMgr`
|
|
1271
|
+
* is enabled, this enables you to override the default creation of a PerfManager() without needing to `setPerfMgr()`
|
|
1272
1272
|
* after initialization.
|
|
1273
1273
|
*/
|
|
1274
1274
|
createPerfMgr?: (core: IAppInsightsCore, notificationManager: INotificationManager) => IPerfManager;
|
|
@@ -1488,7 +1488,7 @@ declare namespace ApplicationInsights {
|
|
|
1488
1488
|
throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
|
|
1489
1489
|
/**
|
|
1490
1490
|
* This will write a debug message to the console if possible
|
|
1491
|
-
* @param message -
|
|
1491
|
+
* @param message - The debug message
|
|
1492
1492
|
*/
|
|
1493
1493
|
debugToConsole?(message: string): void;
|
|
1494
1494
|
/**
|
|
@@ -1673,7 +1673,7 @@ declare namespace ApplicationInsights {
|
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Identifies configuration override values when given feature is enabled
|
|
1675
1675
|
* NOTE: should use flat string for fields, for example, if you want to set value for extensionConfig.Ananlytics.disableAjaxTrackig in configurations,
|
|
1676
|
-
* you should use "extensionConfig.Ananlytics.disableAjaxTrackig" as field name: {["extensionConfig.Analytics.disableAjaxTrackig"]:1}
|
|
1676
|
+
* you should use "extensionConfig.Ananlytics.disableAjaxTrackig" as field name: \{["extensionConfig.Analytics.disableAjaxTrackig"]:1\}
|
|
1677
1677
|
* Default: undefined
|
|
1678
1678
|
*/
|
|
1679
1679
|
onCfg?: {
|
|
@@ -1682,7 +1682,7 @@ declare namespace ApplicationInsights {
|
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Identifies configuration override values when given feature is disabled
|
|
1684
1684
|
* NOTE: should use flat string for fields, for example, if you want to set value for extensionConfig.Ananlytics.disableAjaxTrackig in configurations,
|
|
1685
|
-
* you should use "extensionConfig.Ananlytics.disableAjaxTrackig" as field name: {["extensionConfig.Analytics.disableAjaxTrackig"]:1}
|
|
1685
|
+
* you should use "extensionConfig.Ananlytics.disableAjaxTrackig" as field name: \{["extensionConfig.Analytics.disableAjaxTrackig"]:1\}
|
|
1686
1686
|
* Default: undefined
|
|
1687
1687
|
*/
|
|
1688
1688
|
offCfg?: {
|