@microsoft/applicationinsights-analytics-js 3.3.5-nightly3.2411-12 → 3.3.5-nightly3.2411-13
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 +3 -3
- 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 +5 -5
- 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 +5 -5
- 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 +3 -3
- 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 +2 -6
- 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 +5 -5
- package/types/applicationinsights-analytics-js.d.ts +1 -5
- package/types/applicationinsights-analytics-js.namespaced.d.ts +6 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK - Web Analytics, 3.3.5-nightly3.2411-
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK - Web Analytics, 3.3.5-nightly3.2411-13
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -41,7 +41,6 @@ declare namespace ApplicationInsights {
|
|
|
41
41
|
* @description Log a diagnostic message
|
|
42
42
|
* @param trace
|
|
43
43
|
* @param ICustomProperties.
|
|
44
|
-
* @memberof ApplicationInsights
|
|
45
44
|
*/
|
|
46
45
|
trackTrace(trace: ITraceTelemetry, customProperties?: ICustomProperties): void;
|
|
47
46
|
/**
|
|
@@ -53,7 +52,6 @@ declare namespace ApplicationInsights {
|
|
|
53
52
|
* @param metric - input object argument. Only name and average are mandatory.
|
|
54
53
|
* @param } customProperties additional data used to filter metrics in the
|
|
55
54
|
* portal. Defaults to empty.
|
|
56
|
-
* @memberof ApplicationInsights
|
|
57
55
|
*/
|
|
58
56
|
trackMetric(metric: IMetricTelemetry, customProperties?: ICustomProperties): void;
|
|
59
57
|
/**
|
|
@@ -128,13 +126,11 @@ declare namespace ApplicationInsights {
|
|
|
128
126
|
* @param } customProperties Additional data used to filter pages and metrics in the portal. Defaults to empty.
|
|
129
127
|
*
|
|
130
128
|
* Any property of type double will be considered a measurement, and will be treated by Application Insights as a metric.
|
|
131
|
-
* @memberof ApplicationInsights
|
|
132
129
|
*/
|
|
133
130
|
trackException(exception: IExceptionTelemetry, customProperties?: ICustomProperties): void;
|
|
134
131
|
/**
|
|
135
132
|
* @description Custom error handler for Application Insights Analytics
|
|
136
133
|
* @param exception
|
|
137
|
-
* @memberof ApplicationInsights
|
|
138
134
|
*/
|
|
139
135
|
_onerror(exception: IAutoExceptionTelemetry): void;
|
|
140
136
|
addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): ITelemetryInitializerHandler;
|
|
@@ -547,7 +543,7 @@ declare namespace ApplicationInsights {
|
|
|
547
543
|
* @param unloadComplete - An optional callback that will be called once the unload has completed
|
|
548
544
|
* @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the
|
|
549
545
|
* unload. Defaults to 5 seconds.
|
|
550
|
-
* @
|
|
546
|
+
* @returns Nothing or if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
551
547
|
* which will be resolved once the unload is complete, the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
552
548
|
* will only be returned when no callback is provided and isAsync is true
|
|
553
549
|
*/
|
|
@@ -651,55 +647,46 @@ declare namespace ApplicationInsights {
|
|
|
651
647
|
/**
|
|
652
648
|
* @description error message. Available as event in HTML onerror="" handler
|
|
653
649
|
* @type {string}
|
|
654
|
-
* @memberof IAutoExceptionTelemetry
|
|
655
650
|
*/
|
|
656
651
|
message: string;
|
|
657
652
|
/**
|
|
658
653
|
* @description URL of the script where the error was raised
|
|
659
654
|
* @type {string}
|
|
660
|
-
* @memberof IAutoExceptionTelemetry
|
|
661
655
|
*/
|
|
662
656
|
url: string;
|
|
663
657
|
/**
|
|
664
658
|
* @description Line number where error was raised
|
|
665
659
|
* @type {number}
|
|
666
|
-
* @memberof IAutoExceptionTelemetry
|
|
667
660
|
*/
|
|
668
661
|
lineNumber: number;
|
|
669
662
|
/**
|
|
670
663
|
* @description Column number for the line where the error occurred
|
|
671
664
|
* @type {number}
|
|
672
|
-
* @memberof IAutoExceptionTelemetry
|
|
673
665
|
*/
|
|
674
666
|
columnNumber: number;
|
|
675
667
|
/**
|
|
676
668
|
* @description Error Object (object)
|
|
677
669
|
* @type {any}
|
|
678
|
-
* @memberof IAutoExceptionTelemetry
|
|
679
670
|
*/
|
|
680
671
|
error: any;
|
|
681
672
|
/**
|
|
682
673
|
* @description The event at the time of the exception (object)
|
|
683
674
|
* @type {Event|string}
|
|
684
|
-
* @memberof IAutoExceptionTelemetry
|
|
685
675
|
*/
|
|
686
676
|
evt?: Event | string;
|
|
687
677
|
/**
|
|
688
678
|
* @description The provided stack for the error
|
|
689
679
|
* @type {IStackDetails}
|
|
690
|
-
* @memberof IAutoExceptionTelemetry
|
|
691
680
|
*/
|
|
692
681
|
stackDetails?: IStackDetails;
|
|
693
682
|
/**
|
|
694
683
|
* @description The calculated type of the error
|
|
695
684
|
* @type {string}
|
|
696
|
-
* @memberof IAutoExceptionTelemetry
|
|
697
685
|
*/
|
|
698
686
|
typeName?: string;
|
|
699
687
|
/**
|
|
700
688
|
* @description The descriptive source of the error
|
|
701
689
|
* @type {string}
|
|
702
|
-
* @memberof IAutoExceptionTelemetry
|
|
703
690
|
*/
|
|
704
691
|
errorSrc?: string;
|
|
705
692
|
}
|
|
@@ -1435,7 +1422,7 @@ declare namespace ApplicationInsights {
|
|
|
1435
1422
|
* Unload and remove any state that this ICookieMgr may be holding, this is generally called when the
|
|
1436
1423
|
* owning SDK is being unloaded.
|
|
1437
1424
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
1438
|
-
* @
|
|
1425
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
1439
1426
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
1440
1427
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1441
1428
|
*/
|
|
@@ -1549,7 +1536,7 @@ declare namespace ApplicationInsights {
|
|
|
1549
1536
|
* Unload and remove any state that this IDiagnosticLogger may be holding, this is generally called when the
|
|
1550
1537
|
* owning SDK is being unloaded.
|
|
1551
1538
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
1552
|
-
* @
|
|
1539
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
1553
1540
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
1554
1541
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1555
1542
|
*/
|
|
@@ -1604,13 +1591,11 @@ declare namespace ApplicationInsights {
|
|
|
1604
1591
|
/**
|
|
1605
1592
|
* @description An event name string
|
|
1606
1593
|
* @type {string}
|
|
1607
|
-
* @memberof IEventTelemetry
|
|
1608
1594
|
*/
|
|
1609
1595
|
name: string;
|
|
1610
1596
|
/**
|
|
1611
1597
|
* @description custom defined iKey
|
|
1612
1598
|
* @type {string}
|
|
1613
|
-
* @memberof IEventTelemetry
|
|
1614
1599
|
*/
|
|
1615
1600
|
iKey?: string;
|
|
1616
1601
|
}
|
|
@@ -1678,13 +1663,11 @@ declare namespace ApplicationInsights {
|
|
|
1678
1663
|
/**
|
|
1679
1664
|
* @deprecated
|
|
1680
1665
|
* @type {Error}
|
|
1681
|
-
* @memberof IExceptionTelemetry
|
|
1682
1666
|
* @description DEPRECATED: Please use exception instead. Behavior/usage for exception remains the same as this field.
|
|
1683
1667
|
*/
|
|
1684
1668
|
error?: Error;
|
|
1685
1669
|
/**
|
|
1686
1670
|
* @type {Error}
|
|
1687
|
-
* @memberof IExceptionTelemetry
|
|
1688
1671
|
* @description Error Object(s)
|
|
1689
1672
|
*/
|
|
1690
1673
|
exception?: Error | IAutoExceptionTelemetry;
|
|
@@ -1692,7 +1675,6 @@ declare namespace ApplicationInsights {
|
|
|
1692
1675
|
* @description Specified severity of exception for use with
|
|
1693
1676
|
* telemetry filtering in dashboard
|
|
1694
1677
|
* @type {(SeverityLevel | number)}
|
|
1695
|
-
* @memberof IExceptionTelemetry
|
|
1696
1678
|
*/
|
|
1697
1679
|
severityLevel?: SeverityLevel | number;
|
|
1698
1680
|
}
|
|
@@ -1806,33 +1788,28 @@ declare namespace ApplicationInsights {
|
|
|
1806
1788
|
/**
|
|
1807
1789
|
* @description (required) - name of this metric
|
|
1808
1790
|
* @type {string}
|
|
1809
|
-
* @memberof IMetricTelemetry
|
|
1810
1791
|
*/
|
|
1811
1792
|
name: string;
|
|
1812
1793
|
/**
|
|
1813
1794
|
* @description (required) - Recorded value/average for this metric
|
|
1814
1795
|
* @type {number}
|
|
1815
|
-
* @memberof IMetricTelemetry
|
|
1816
1796
|
*/
|
|
1817
1797
|
average: number;
|
|
1818
1798
|
/**
|
|
1819
1799
|
* @description (optional) Number of samples represented by the average.
|
|
1820
1800
|
* @type {number=}
|
|
1821
|
-
* @memberof IMetricTelemetry
|
|
1822
1801
|
* @default sampleCount=1
|
|
1823
1802
|
*/
|
|
1824
1803
|
sampleCount?: number;
|
|
1825
1804
|
/**
|
|
1826
1805
|
* @description (optional) The smallest measurement in the sample. Defaults to the average
|
|
1827
1806
|
* @type {number}
|
|
1828
|
-
* @memberof IMetricTelemetry
|
|
1829
1807
|
* @default min=average
|
|
1830
1808
|
*/
|
|
1831
1809
|
min?: number;
|
|
1832
1810
|
/**
|
|
1833
1811
|
* @description (optional) The largest measurement in the sample. Defaults to the average.
|
|
1834
1812
|
* @type {number}
|
|
1835
|
-
* @memberof IMetricTelemetry
|
|
1836
1813
|
* @default max=average
|
|
1837
1814
|
*/
|
|
1838
1815
|
max?: number;
|
|
@@ -1843,7 +1820,6 @@ declare namespace ApplicationInsights {
|
|
|
1843
1820
|
/**
|
|
1844
1821
|
* @description custom defined iKey
|
|
1845
1822
|
* @type {string}
|
|
1846
|
-
* @memberof IMetricTelemetry
|
|
1847
1823
|
*/
|
|
1848
1824
|
iKey?: string;
|
|
1849
1825
|
}
|
|
@@ -1881,7 +1857,7 @@ declare namespace ApplicationInsights {
|
|
|
1881
1857
|
* Unload and remove any state that this INotificationListener may be holding, this is generally called when the
|
|
1882
1858
|
* owning Manager is being unloaded.
|
|
1883
1859
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
1884
|
-
* @
|
|
1860
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
1885
1861
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
1886
1862
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1887
1863
|
*/
|
|
@@ -1950,7 +1926,7 @@ declare namespace ApplicationInsights {
|
|
|
1950
1926
|
* Unload and remove any state that this INotificationManager may be holding, this is generally called when the
|
|
1951
1927
|
* owning SDK is being unloaded.
|
|
1952
1928
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
1953
|
-
* @
|
|
1929
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
1954
1930
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
1955
1931
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1956
1932
|
*/
|
|
@@ -2870,19 +2846,16 @@ declare namespace ApplicationInsights {
|
|
|
2870
2846
|
/**
|
|
2871
2847
|
* @description A message string
|
|
2872
2848
|
* @type {string}
|
|
2873
|
-
* @memberof ITraceTelemetry
|
|
2874
2849
|
*/
|
|
2875
2850
|
message: string;
|
|
2876
2851
|
/**
|
|
2877
2852
|
* @description Severity level of the logging message used for filtering in the portal
|
|
2878
2853
|
* @type {SeverityLevel}
|
|
2879
|
-
* @memberof ITraceTelemetry
|
|
2880
2854
|
*/
|
|
2881
2855
|
severityLevel?: SeverityLevel;
|
|
2882
2856
|
/**
|
|
2883
2857
|
* @description custom defiend iKey
|
|
2884
2858
|
* @type {SeverityLevel}
|
|
2885
|
-
* @memberof ITraceTelemetry
|
|
2886
2859
|
*/
|
|
2887
2860
|
iKey?: string;
|
|
2888
2861
|
}
|