@microsoft/applicationinsights-analytics-js 2.8.0-beta.2203-09 → 2.8.0-beta.2203-10

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 (29) hide show
  1. package/browser/applicationinsights-analytics-js.integrity.json +9 -9
  2. package/browser/applicationinsights-analytics-js.js +11 -5
  3. package/browser/applicationinsights-analytics-js.js.map +1 -1
  4. package/browser/applicationinsights-analytics-js.min.js +2 -2
  5. package/browser/applicationinsights-analytics-js.min.js.map +1 -1
  6. package/dist/applicationinsights-analytics-js.d.ts +1 -1
  7. package/dist/applicationinsights-analytics-js.js +11 -5
  8. package/dist/applicationinsights-analytics-js.js.map +1 -1
  9. package/dist/applicationinsights-analytics-js.min.js +2 -2
  10. package/dist/applicationinsights-analytics-js.min.js.map +1 -1
  11. package/dist/applicationinsights-analytics-js.rollup.d.ts +1 -1
  12. package/dist-esm/JavaScriptSDK/AnalyticsPlugin.js +7 -7
  13. package/dist-esm/JavaScriptSDK/AnalyticsPlugin.js.map +1 -1
  14. package/dist-esm/JavaScriptSDK/Telemetry/PageViewManager.js +1 -1
  15. package/dist-esm/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js +10 -10
  16. package/dist-esm/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js.map +1 -1
  17. package/dist-esm/JavaScriptSDK/Telemetry/PageVisitTimeManager.js +5 -5
  18. package/dist-esm/JavaScriptSDK/Telemetry/PageVisitTimeManager.js.map +1 -1
  19. package/dist-esm/JavaScriptSDK/Timing.js +1 -1
  20. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryConfig.js +1 -1
  21. package/dist-esm/applicationinsights-analytics-js.js +1 -1
  22. package/package.json +5 -5
  23. package/src/JavaScriptSDK/AnalyticsPlugin.ts +4 -4
  24. package/src/JavaScriptSDK/Telemetry/PageViewManager.ts +4 -4
  25. package/src/JavaScriptSDK/Telemetry/PageViewPerformanceManager.ts +6 -6
  26. package/src/JavaScriptSDK/Telemetry/PageVisitTimeManager.ts +1 -1
  27. package/types/JavaScriptSDK/AnalyticsPlugin.d.ts +5 -5
  28. package/types/JavaScriptSDK/Telemetry/PageViewPerformanceManager.d.ts +9 -9
  29. package/types/JavaScriptSDK/Telemetry/PageVisitTimeManager.d.ts +4 -4
@@ -23,7 +23,7 @@ export class PageVisitTimeManager {
23
23
  this._logger = logger;
24
24
  }
25
25
 
26
- /**
26
+ /**
27
27
  * Tracks the previous page visit time telemetry (if exists) and starts timing of new page visit time
28
28
  * @param currentPageName Name of page to begin timing for visit duration
29
29
  * @param currentPageUrl Url of page to begin timing for visit duration
@@ -111,11 +111,11 @@ export declare class AnalyticsPlugin extends BaseTelemetryPlugin implements IApp
111
111
  [key: string]: number;
112
112
  }): void;
113
113
  /**
114
- * @ignore INTERNAL ONLY
115
- * @param exception
116
- * @param properties
117
- * @param systemProperties
118
- */
114
+ * @ignore INTERNAL ONLY
115
+ * @param exception
116
+ * @param properties
117
+ * @param systemProperties
118
+ */
119
119
  sendExceptionInternal(exception: IExceptionTelemetry, customProperties?: {
120
120
  [key: string]: any;
121
121
  }, systemProperties?: {
@@ -11,20 +11,20 @@ export declare class PageViewPerformanceManager {
11
11
  getPerformanceTiming(): PerformanceTiming | null;
12
12
  getPerformanceNavigationTiming(): PerformanceNavigationTiming | null;
13
13
  /**
14
- * Returns true is window PerformanceNavigationTiming API is supported, false otherwise.
15
- */
14
+ * Returns true is window PerformanceNavigationTiming API is supported, false otherwise.
15
+ */
16
16
  isPerformanceNavigationTimingSupported(): boolean;
17
17
  /**
18
- * Returns true is window performance timing API is supported, false otherwise.
19
- */
18
+ * Returns true is window performance timing API is supported, false otherwise.
19
+ */
20
20
  isPerformanceTimingSupported(): PerformanceTiming;
21
21
  /**
22
- * As page loads different parts of performance timing numbers get set. When all of them are set we can report it.
23
- * Returns true if ready, false otherwise.
24
- */
22
+ * As page loads different parts of performance timing numbers get set. When all of them are set we can report it.
23
+ * Returns true if ready, false otherwise.
24
+ */
25
25
  isPerformanceTimingDataReady(): boolean;
26
26
  /**
27
- * This method tells if given durations should be excluded from collection.
28
- */
27
+ * This method tells if given durations should be excluded from collection.
28
+ */
29
29
  shouldCollectDuration(...durations: number[]): boolean;
30
30
  }
@@ -13,10 +13,10 @@ export declare class PageVisitTimeManager {
13
13
  */
14
14
  constructor(logger: IDiagnosticLogger, pageVisitTimeTrackingHandler: (pageName: string, pageUrl: string, pageVisitTime: number) => void);
15
15
  /**
16
- * Tracks the previous page visit time telemetry (if exists) and starts timing of new page visit time
17
- * @param currentPageName Name of page to begin timing for visit duration
18
- * @param currentPageUrl Url of page to begin timing for visit duration
19
- */
16
+ * Tracks the previous page visit time telemetry (if exists) and starts timing of new page visit time
17
+ * @param currentPageName Name of page to begin timing for visit duration
18
+ * @param currentPageUrl Url of page to begin timing for visit duration
19
+ */
20
20
  trackPreviousPageVisit(currentPageName: string, currentPageUrl: string): void;
21
21
  /**
22
22
  * Stops timing of current page (if exists) and starts timing for duration of visit to pageName