@microsoft/applicationinsights-common 3.0.3-nightly3.2306-01 → 3.0.3-nightly3.2307-25

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 (99) hide show
  1. package/browser/es5/applicationinsights-common.cjs.js +162 -104
  2. package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-common.gbl.js +164 -106
  6. package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-common.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-common.js +164 -106
  11. package/browser/es5/applicationinsights-common.js.map +1 -1
  12. package/browser/es5/applicationinsights-common.min.js +2 -2
  13. package/browser/es5/applicationinsights-common.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-common.js +162 -104
  15. package/dist/es5/applicationinsights-common.js.map +1 -1
  16. package/dist/es5/applicationinsights-common.min.js +2 -2
  17. package/dist/es5/applicationinsights-common.min.js.map +1 -1
  18. package/dist-es5/ConnectionStringParser.js +1 -1
  19. package/dist-es5/Constants.js +1 -1
  20. package/dist-es5/DomHelperFuncs.js +1 -1
  21. package/dist-es5/Enums.js +1 -1
  22. package/dist-es5/HelperFuncs.js +1 -1
  23. package/dist-es5/Interfaces/ConnectionString.js +1 -1
  24. package/dist-es5/Interfaces/Context/IApplication.js +1 -1
  25. package/dist-es5/Interfaces/Context/IDevice.js +1 -1
  26. package/dist-es5/Interfaces/Context/IInternal.js +1 -1
  27. package/dist-es5/Interfaces/Context/ILocation.js +1 -1
  28. package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
  29. package/dist-es5/Interfaces/Context/ISample.js +1 -1
  30. package/dist-es5/Interfaces/Context/ISession.js +1 -1
  31. package/dist-es5/Interfaces/Context/ISessionManager.js +8 -0
  32. package/dist-es5/Interfaces/Context/ISessionManager.js.map +1 -0
  33. package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
  34. package/dist-es5/Interfaces/Context/IUser.js +1 -1
  35. package/dist-es5/Interfaces/Context/IWeb.js +1 -1
  36. package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
  37. package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
  38. package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
  39. package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
  40. package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
  41. package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
  42. package/dist-es5/Interfaces/Contracts/IData.js +1 -1
  43. package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
  44. package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
  45. package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
  46. package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
  47. package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
  48. package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
  49. package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
  50. package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
  51. package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
  52. package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
  53. package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
  54. package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
  55. package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
  56. package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
  57. package/dist-es5/Interfaces/IAppInsights.js +1 -1
  58. package/dist-es5/Interfaces/IConfig.js +1 -1
  59. package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
  60. package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
  61. package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
  62. package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
  63. package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
  64. package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
  65. package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
  66. package/dist-es5/Interfaces/IPartC.js +1 -1
  67. package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
  68. package/dist-es5/Interfaces/IRequestContext.js +1 -1
  69. package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
  70. package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
  71. package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
  72. package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
  73. package/dist-es5/Interfaces/PartAExtensions.js +1 -1
  74. package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
  75. package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
  76. package/dist-es5/RequestResponseHeaders.js +1 -1
  77. package/dist-es5/StorageHelperFuncs.js +9 -4
  78. package/dist-es5/StorageHelperFuncs.js.map +1 -1
  79. package/dist-es5/Telemetry/Common/Data.js +1 -1
  80. package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
  81. package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
  82. package/dist-es5/Telemetry/Common/Envelope.js +1 -1
  83. package/dist-es5/Telemetry/Event.js +1 -1
  84. package/dist-es5/Telemetry/Exception.js +1 -1
  85. package/dist-es5/Telemetry/Metric.js +1 -1
  86. package/dist-es5/Telemetry/PageView.js +1 -1
  87. package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
  88. package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
  89. package/dist-es5/Telemetry/Trace.js +1 -1
  90. package/dist-es5/TelemetryItemCreator.js +1 -1
  91. package/dist-es5/ThrottleMgr.js +1 -1
  92. package/dist-es5/UrlHelperFuncs.js +1 -1
  93. package/dist-es5/Util.js +1 -1
  94. package/dist-es5/__DynamicConstants.js +1 -1
  95. package/dist-es5/applicationinsights-common.js +2 -2
  96. package/dist-es5/applicationinsights-common.js.map +1 -1
  97. package/package.json +5 -4
  98. package/types/applicationinsights-common.d.ts +30 -24
  99. package/types/applicationinsights-common.namespaced.d.ts +41 -35
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { _throwInternal, arrForEach, arrIndexOf, createDynamicConfig, createUnloadHookContainer, isNotNullOrUndefined, isNullOrUndefined, onConfigChange, randomValue, safeGetLogger, strTrim } from "@microsoft/applicationinsights-core-js";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-es5/Util.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2306-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -28,7 +28,7 @@ export { DistributedTracingModes } from "./Enums";
28
28
  export { stringToBoolOrDefault, msToTimeSpan, getExtensionByName, isCrossOriginError } from "./HelperFuncs";
29
29
  export { isBeaconsSupported as isBeaconApiSupported, createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from "@microsoft/applicationinsights-core-js";
30
30
  export { createDomEvent } from "./DomHelperFuncs";
31
- export { utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage } from "./StorageHelperFuncs";
31
+ export { utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage, utlSetStoragePrefix } from "./StorageHelperFuncs";
32
32
  export { urlParseUrl, urlGetAbsoluteUrl, urlGetPathName, urlGetCompleteUrl, urlParseHost, urlParseFullHost } from "./UrlHelperFuncs";
33
33
  export var PropertiesPluginIdentifier = "AppInsightsPropertiesPlugin";
34
34
  export var BreezeChannelIdentifier = "AppInsightsChannelPlugin";
@@ -1 +1 @@
1
- {"version":3,"file":"applicationinsights-common.js.map","sources":["applicationinsights-common.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the\r\nexport { correlationIdSetPrefix, correlationIdGetPrefix, correlationIdCanIncludeCorrelationHeader, correlationIdGetCorrelationContext, correlationIdGetCorrelationContextValue, dateTimeUtilsNow, dateTimeUtilsDuration, isInternalApplicationInsightsEndpoint, createDistributedTraceContextFromTrace } from \"./Util\";\r\nexport { ThrottleMgr } from \"./ThrottleMgr\";\r\nexport { parseConnectionString, ConnectionStringParser } from \"./ConnectionStringParser\";\r\nexport { RequestHeaders } from \"./RequestResponseHeaders\";\r\nexport { DisabledPropertyName, ProcessLegacy, SampleRate, HttpMethod, DEFAULT_BREEZE_ENDPOINT, DEFAULT_BREEZE_PATH, strNotSpecified } from \"./Constants\";\r\nexport { Envelope } from \"./Telemetry/Common/Envelope\";\r\nexport { Event } from \"./Telemetry/Event\";\r\nexport { Exception } from \"./Telemetry/Exception\";\r\nexport { Metric } from \"./Telemetry/Metric\";\r\nexport { PageView } from \"./Telemetry/PageView\";\r\nexport { RemoteDependencyData } from \"./Telemetry/RemoteDependencyData\";\r\nexport { Trace } from \"./Telemetry/Trace\";\r\nexport { PageViewPerformance } from \"./Telemetry/PageViewPerformance\";\r\nexport { Data } from \"./Telemetry/Common/Data\";\r\nexport { SeverityLevel } from \"./Interfaces/Contracts/SeverityLevel\";\r\nexport { ConfigurationManager } from \"./Interfaces/IConfig\";\r\nexport { ContextTagKeys } from \"./Interfaces/Contracts/ContextTagKeys\";\r\nexport { dataSanitizeKeyAndAddUniqueness, dataSanitizeKey, dataSanitizeString, dataSanitizeUrl, dataSanitizeMessage, dataSanitizeException, dataSanitizeProperties, dataSanitizeMeasurements, dataSanitizeId, dataSanitizeInput, dsPadNumber } from \"./Telemetry/Common/DataSanitizer\";\r\nexport { TelemetryItemCreator, createTelemetryItem } from \"./TelemetryItemCreator\";\r\nexport { CtxTagKeys, Extensions } from \"./Interfaces/PartAExtensions\";\r\nexport { DistributedTracingModes } from \"./Enums\";\r\nexport { stringToBoolOrDefault, msToTimeSpan, getExtensionByName, isCrossOriginError } from \"./HelperFuncs\";\r\nexport { isBeaconsSupported as isBeaconApiSupported, createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from \"@microsoft/applicationinsights-core-js\";\r\nexport { createDomEvent } from \"./DomHelperFuncs\";\r\nexport { utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage } from \"./StorageHelperFuncs\";\r\nexport { urlParseUrl, urlGetAbsoluteUrl, urlGetPathName, urlGetCompleteUrl, urlParseHost, urlParseFullHost } from \"./UrlHelperFuncs\";\r\nexport var PropertiesPluginIdentifier = \"AppInsightsPropertiesPlugin\";\r\nexport var BreezeChannelIdentifier = \"AppInsightsChannelPlugin\";\r\nexport var AnalyticsPluginIdentifier = \"ApplicationInsightsAnalytics\";\r\n//# sourceMappingURL=applicationinsights-common.js.map"],"names":[],"mappings":";;;;AAA4D;AAC5D;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":"applicationinsights-common.js.map","sources":["applicationinsights-common.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the\r\nexport { correlationIdSetPrefix, correlationIdGetPrefix, correlationIdCanIncludeCorrelationHeader, correlationIdGetCorrelationContext, correlationIdGetCorrelationContextValue, dateTimeUtilsNow, dateTimeUtilsDuration, isInternalApplicationInsightsEndpoint, createDistributedTraceContextFromTrace } from \"./Util\";\r\nexport { ThrottleMgr } from \"./ThrottleMgr\";\r\nexport { parseConnectionString, ConnectionStringParser } from \"./ConnectionStringParser\";\r\nexport { RequestHeaders } from \"./RequestResponseHeaders\";\r\nexport { DisabledPropertyName, ProcessLegacy, SampleRate, HttpMethod, DEFAULT_BREEZE_ENDPOINT, DEFAULT_BREEZE_PATH, strNotSpecified } from \"./Constants\";\r\nexport { Envelope } from \"./Telemetry/Common/Envelope\";\r\nexport { Event } from \"./Telemetry/Event\";\r\nexport { Exception } from \"./Telemetry/Exception\";\r\nexport { Metric } from \"./Telemetry/Metric\";\r\nexport { PageView } from \"./Telemetry/PageView\";\r\nexport { RemoteDependencyData } from \"./Telemetry/RemoteDependencyData\";\r\nexport { Trace } from \"./Telemetry/Trace\";\r\nexport { PageViewPerformance } from \"./Telemetry/PageViewPerformance\";\r\nexport { Data } from \"./Telemetry/Common/Data\";\r\nexport { SeverityLevel } from \"./Interfaces/Contracts/SeverityLevel\";\r\nexport { ConfigurationManager } from \"./Interfaces/IConfig\";\r\nexport { ContextTagKeys } from \"./Interfaces/Contracts/ContextTagKeys\";\r\nexport { dataSanitizeKeyAndAddUniqueness, dataSanitizeKey, dataSanitizeString, dataSanitizeUrl, dataSanitizeMessage, dataSanitizeException, dataSanitizeProperties, dataSanitizeMeasurements, dataSanitizeId, dataSanitizeInput, dsPadNumber } from \"./Telemetry/Common/DataSanitizer\";\r\nexport { TelemetryItemCreator, createTelemetryItem } from \"./TelemetryItemCreator\";\r\nexport { CtxTagKeys, Extensions } from \"./Interfaces/PartAExtensions\";\r\nexport { DistributedTracingModes } from \"./Enums\";\r\nexport { stringToBoolOrDefault, msToTimeSpan, getExtensionByName, isCrossOriginError } from \"./HelperFuncs\";\r\nexport { isBeaconsSupported as isBeaconApiSupported, createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from \"@microsoft/applicationinsights-core-js\";\r\nexport { createDomEvent } from \"./DomHelperFuncs\";\r\nexport { utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage, utlSetStoragePrefix } from \"./StorageHelperFuncs\";\r\nexport { urlParseUrl, urlGetAbsoluteUrl, urlGetPathName, urlGetCompleteUrl, urlParseHost, urlParseFullHost } from \"./UrlHelperFuncs\";\r\nexport var PropertiesPluginIdentifier = \"AppInsightsPropertiesPlugin\";\r\nexport var BreezeChannelIdentifier = \"AppInsightsChannelPlugin\";\r\nexport var AnalyticsPluginIdentifier = \"ApplicationInsightsAnalytics\";\r\n//# sourceMappingURL=applicationinsights-common.js.map"],"names":[],"mappings":";;;;AAA4D;AAC5D;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-common",
3
- "version": "3.0.3-nightly3.2306-01",
3
+ "version": "3.0.3-nightly3.2307-25",
4
4
  "description": "Microsoft Application Insights Common JavaScript Library",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -13,6 +13,7 @@
13
13
  "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/AppInsightsCommon"
14
14
  },
15
15
  "scripts": {
16
+ "clean": "git clean -xdf",
16
17
  "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
17
18
  "build:esm": "grunt common",
18
19
  "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
@@ -30,7 +31,7 @@
30
31
  "@microsoft/ai-test-framework": "0.0.1",
31
32
  "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
32
33
  "@microsoft/applicationinsights-rollup-es5": "1.0.2",
33
- "@microsoft/api-extractor": "^7.18.1",
34
+ "@microsoft/api-extractor": "^7.18.19",
34
35
  "grunt": "^1.5.3",
35
36
  "grunt-cli": "^1.4.3",
36
37
  "grunt-contrib-qunit": "^6.2.1",
@@ -52,9 +53,9 @@
52
53
  },
53
54
  "dependencies": {
54
55
  "@microsoft/applicationinsights-shims": "3.0.1",
55
- "@microsoft/applicationinsights-core-js": "3.0.3-nightly3.2306-01",
56
+ "@microsoft/applicationinsights-core-js": "3.0.3-nightly3.2307-25",
56
57
  "@microsoft/dynamicproto-js": "^2.0.2",
57
- "@nevware21/ts-utils": ">= 0.9.5 < 2.x"
58
+ "@nevware21/ts-utils": ">= 0.9.6 < 2.x"
58
59
  },
59
60
  "license": "MIT",
60
61
  "publishConfig": {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Common JavaScript Library, 3.0.3-nightly3.2306-01
2
+ * Microsoft Application Insights Common JavaScript Library, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -132,7 +132,6 @@ export declare function createTelemetryItem<T>(item: T, baseType: string, envelo
132
132
  }): ITelemetryItem;
133
133
 
134
134
  export { createTraceParent }
135
-
136
135
  export declare let CtxTagKeys: ContextTagKeys;
137
136
 
138
137
  export declare class Data<TDomain> implements AIData<TDomain>, ISerializable {
@@ -471,7 +470,6 @@ export declare const enum FieldType {
471
470
  }
472
471
 
473
472
  export { findW3cTraceParent }
474
-
475
473
  /**
476
474
  * Formats the provided errorObj for display and reporting, it may be a String, Object, integer or undefined depending on the browser.
477
475
  * @param errorObj - The supplied errorObj
@@ -479,7 +477,6 @@ export { findW3cTraceParent }
479
477
  declare function _formatErrorCode(errorObj: any): any;
480
478
 
481
479
  export { formatTraceParent }
482
-
483
480
  export declare function getExtensionByName(extensions: IPlugin[], identifier: string): IPlugin | null;
484
481
 
485
482
  export declare const HttpMethod = "http.method";
@@ -708,19 +705,6 @@ export declare interface IConfig {
708
705
  * Default value of {@link #disableFlushOnBeforeUnload}. If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
709
706
  */
710
707
  disableFlushOnUnload?: boolean;
711
- /**
712
- * [Optional] An array of the page unload events that you would like to be ignored, special note there must be at least one valid unload
713
- * event hooked, if you list all or the runtime environment only supports a listed "disabled" event it will still be hooked if required by the SDK.
714
- * (Some page unload functionality may be disabled via disableFlushOnBeforeUnload or disableFlushOnUnload config entries)
715
- * Unload events include "beforeunload", "unload", "visibilitychange" (with 'hidden' state) and "pagehide"
716
- */
717
- disablePageUnloadEvents?: string[];
718
- /**
719
- * [Optional] An array of page show events that you would like to be ignored, special note there must be at lease one valid show event
720
- * hooked, if you list all or the runtime environment only supports a listed (disabled) event it will STILL be hooked if required by the SDK.
721
- * Page Show events include "pageshow" and "visibilitychange" (with 'visible' state)
722
- */
723
- disablePageShowEvents?: string[];
724
708
  /**
725
709
  * If true, the buffer with all unsent telemetry is stored in session storage. The buffer is restored on page load. Default is true.
726
710
  * @defaultValue true
@@ -1692,6 +1676,7 @@ export declare interface IPageViewTelemetryInternal extends IPageViewTelemetry {
1692
1676
  * Version of the part B schema, todo: set this value in trackpageView
1693
1677
  */
1694
1678
  ver?: string;
1679
+ startTime?: Date;
1695
1680
  }
1696
1681
 
1697
1682
  /**
@@ -1821,7 +1806,6 @@ export declare interface ISample {
1821
1806
  }
1822
1807
 
1823
1808
  export { isBeaconApiSupported }
1824
-
1825
1809
  export declare function isCrossOriginError(message: string | Event, url: string, lineNumber: number, columnNumber: number, error: Error | Event): boolean;
1826
1810
 
1827
1811
  export declare interface ISerializable {
@@ -1851,10 +1835,31 @@ export declare interface ISession {
1851
1835
  renewalDate?: number;
1852
1836
  }
1853
1837
 
1838
+ /**
1839
+ * An interface that identifies the automatic session manager
1840
+ * @since 3.0.3
1841
+ */
1842
+ export declare interface ISessionManager {
1843
+ /**
1844
+ * The automatic Session which has been initialized from the automatic SDK cookies and storage
1845
+ */
1846
+ automaticSession: ISession;
1847
+ /**
1848
+ * Update the automatic session cookie if required
1849
+ * @returns
1850
+ */
1851
+ update: () => void;
1852
+ /**
1853
+ * Record the current state of the automatic session and store it in our cookie string format
1854
+ * into the browser's local storage. This is used to restore the session data when the cookie
1855
+ * expires.
1856
+ */
1857
+ backup: () => void;
1858
+ }
1859
+
1854
1860
  export declare function isInternalApplicationInsightsEndpoint(endpointUrl: string): boolean;
1855
1861
 
1856
1862
  export { isSampledFlag }
1857
-
1858
1863
  declare interface IStackDetails {
1859
1864
  src: string;
1860
1865
  obj: string[];
@@ -1904,11 +1909,8 @@ export declare interface IStorageBuffer {
1904
1909
  }
1905
1910
 
1906
1911
  export { isValidSpanId }
1907
-
1908
1912
  export { isValidTraceId }
1909
-
1910
1913
  export { isValidTraceParent }
1911
-
1912
1914
  export declare interface ITelemetryContext {
1913
1915
  /**
1914
1916
  * The object describing a component tracked by this object.
@@ -1938,6 +1940,10 @@ export declare interface ITelemetryContext {
1938
1940
  * The object describing a session tracked by this object.
1939
1941
  */
1940
1942
  readonly session: ISession;
1943
+ /**
1944
+ * The session manager that manages the automatic session from the cookies
1945
+ */
1946
+ readonly sessionManager: ISessionManager;
1941
1947
  /**
1942
1948
  * The object describing os details tracked by this object.
1943
1949
  */
@@ -2096,7 +2102,6 @@ export declare interface IThrottleResult {
2096
2102
  }
2097
2103
 
2098
2104
  export { ITraceParent }
2099
-
2100
2105
  export declare interface ITraceState {
2101
2106
  }
2102
2107
 
@@ -2357,7 +2362,6 @@ export declare class PageViewPerformance implements IPageViewPerfData, ISerializ
2357
2362
  export declare function parseConnectionString(connectionString?: string): ConnectionString;
2358
2363
 
2359
2364
  export { parseTraceParent }
2360
-
2361
2365
  export declare const ProcessLegacy = "ProcessLegacy";
2362
2366
 
2363
2367
  export declare const PropertiesPluginIdentifier = "AppInsightsPropertiesPlugin";
@@ -2579,4 +2583,6 @@ export declare function utlSetLocalStorage(logger: IDiagnosticLogger, name: stri
2579
2583
 
2580
2584
  export declare function utlSetSessionStorage(logger: IDiagnosticLogger, name: string, data: string): boolean;
2581
2585
 
2586
+ export declare function utlSetStoragePrefix(storagePrefix: string): void;
2587
+
2582
2588
  export { }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Common JavaScript Library, 3.0.3-nightly3.2306-01
2
+ * Microsoft Application Insights Common JavaScript Library, 3.0.3-nightly3.2307-25
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -126,8 +126,7 @@ declare namespace ApplicationInsights {
126
126
  [key: string]: any;
127
127
  }): ITelemetryItem;
128
128
 
129
- export { createTraceParent }
130
-
129
+
131
130
  let CtxTagKeys: ContextTagKeys;
132
131
 
133
132
  class Data<TDomain> implements AIData<TDomain>, ISerializable {
@@ -388,7 +387,7 @@ declare namespace ApplicationInsights {
388
387
  */
389
388
  constructor(logger: IDiagnosticLogger, name: string, properties?: any, measurements?: any);
390
389
  }
391
- export { Event_2 as Event }
390
+ const Event: typeof Event_2;
392
391
 
393
392
  class Exception implements IExceptionData, ISerializable {
394
393
  static envelopeType: string;
@@ -465,16 +464,14 @@ declare namespace ApplicationInsights {
465
464
  Hidden = 4
466
465
  }
467
466
 
468
- export { findW3cTraceParent }
469
-
467
+
470
468
  /**
471
469
  * Formats the provided errorObj for display and reporting, it may be a String, Object, integer or undefined depending on the browser.
472
470
  * @param errorObj - The supplied errorObj
473
471
  */
474
472
  function _formatErrorCode(errorObj: any): any;
475
473
 
476
- export { formatTraceParent }
477
-
474
+
478
475
  function getExtensionByName(extensions: IPlugin[], identifier: string): IPlugin | null;
479
476
 
480
477
  const HttpMethod = "http.method";
@@ -703,19 +700,6 @@ declare namespace ApplicationInsights {
703
700
  * Default value of {@link #disableFlushOnBeforeUnload}. If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
704
701
  */
705
702
  disableFlushOnUnload?: boolean;
706
- /**
707
- * [Optional] An array of the page unload events that you would like to be ignored, special note there must be at least one valid unload
708
- * event hooked, if you list all or the runtime environment only supports a listed "disabled" event it will still be hooked if required by the SDK.
709
- * (Some page unload functionality may be disabled via disableFlushOnBeforeUnload or disableFlushOnUnload config entries)
710
- * Unload events include "beforeunload", "unload", "visibilitychange" (with 'hidden' state) and "pagehide"
711
- */
712
- disablePageUnloadEvents?: string[];
713
- /**
714
- * [Optional] An array of page show events that you would like to be ignored, special note there must be at lease one valid show event
715
- * hooked, if you list all or the runtime environment only supports a listed (disabled) event it will STILL be hooked if required by the SDK.
716
- * Page Show events include "pageshow" and "visibilitychange" (with 'visible' state)
717
- */
718
- disablePageShowEvents?: string[];
719
703
  /**
720
704
  * If true, the buffer with all unsent telemetry is stored in session storage. The buffer is restored on page load. Default is true.
721
705
  * @defaultValue true
@@ -1687,6 +1671,7 @@ declare namespace ApplicationInsights {
1687
1671
  * Version of the part B schema, todo: set this value in trackpageView
1688
1672
  */
1689
1673
  ver?: string;
1674
+ startTime?: Date;
1690
1675
  }
1691
1676
 
1692
1677
  /**
@@ -1815,8 +1800,7 @@ declare namespace ApplicationInsights {
1815
1800
  isSampledIn(envelope: ITelemetryItem): boolean;
1816
1801
  }
1817
1802
 
1818
- export { isBeaconApiSupported }
1819
-
1803
+
1820
1804
  function isCrossOriginError(message: string | Event, url: string, lineNumber: number, columnNumber: number, error: Error | Event): boolean;
1821
1805
 
1822
1806
  interface ISerializable {
@@ -1846,10 +1830,31 @@ declare namespace ApplicationInsights {
1846
1830
  renewalDate?: number;
1847
1831
  }
1848
1832
 
1849
- function isInternalApplicationInsightsEndpoint(endpointUrl: string): boolean;
1833
+ /**
1834
+ * An interface that identifies the automatic session manager
1835
+ * @since 3.0.3
1836
+ */
1837
+ interface ISessionManager {
1838
+ /**
1839
+ * The automatic Session which has been initialized from the automatic SDK cookies and storage
1840
+ */
1841
+ automaticSession: ISession;
1842
+ /**
1843
+ * Update the automatic session cookie if required
1844
+ * @returns
1845
+ */
1846
+ update: () => void;
1847
+ /**
1848
+ * Record the current state of the automatic session and store it in our cookie string format
1849
+ * into the browser's local storage. This is used to restore the session data when the cookie
1850
+ * expires.
1851
+ */
1852
+ backup: () => void;
1853
+ }
1850
1854
 
1851
- export { isSampledFlag }
1855
+ function isInternalApplicationInsightsEndpoint(endpointUrl: string): boolean;
1852
1856
 
1857
+
1853
1858
  interface IStackDetails {
1854
1859
  src: string;
1855
1860
  obj: string[];
@@ -1898,12 +1903,9 @@ declare namespace ApplicationInsights {
1898
1903
  setItem(logger: IDiagnosticLogger, name: string, data: string): boolean;
1899
1904
  }
1900
1905
 
1901
- export { isValidSpanId }
1902
-
1903
- export { isValidTraceId }
1904
-
1905
- export { isValidTraceParent }
1906
-
1906
+
1907
+
1908
+
1907
1909
  interface ITelemetryContext {
1908
1910
  /**
1909
1911
  * The object describing a component tracked by this object.
@@ -1933,6 +1935,10 @@ declare namespace ApplicationInsights {
1933
1935
  * The object describing a session tracked by this object.
1934
1936
  */
1935
1937
  readonly session: ISession;
1938
+ /**
1939
+ * The session manager that manages the automatic session from the cookies
1940
+ */
1941
+ readonly sessionManager: ISessionManager;
1936
1942
  /**
1937
1943
  * The object describing os details tracked by this object.
1938
1944
  */
@@ -2090,8 +2096,7 @@ declare namespace ApplicationInsights {
2090
2096
  throttleNum: number;
2091
2097
  }
2092
2098
 
2093
- export { ITraceParent }
2094
-
2099
+
2095
2100
  interface ITraceState {
2096
2101
  }
2097
2102
 
@@ -2351,8 +2356,7 @@ declare namespace ApplicationInsights {
2351
2356
 
2352
2357
  function parseConnectionString(connectionString?: string): ConnectionString;
2353
2358
 
2354
- export { parseTraceParent }
2355
-
2359
+
2356
2360
  const ProcessLegacy = "ProcessLegacy";
2357
2361
 
2358
2362
  const PropertiesPluginIdentifier = "AppInsightsPropertiesPlugin";
@@ -2574,5 +2578,7 @@ declare namespace ApplicationInsights {
2574
2578
 
2575
2579
  function utlSetSessionStorage(logger: IDiagnosticLogger, name: string, data: string): boolean;
2576
2580
 
2581
+ function utlSetStoragePrefix(storagePrefix: string): void;
2582
+
2577
2583
 
2578
2584
  }