@microsoft/applicationinsights-core-js 2.8.14-nightly.2305-06 → 2.8.14-nightly.2305-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 (79) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +2 -2
  3. package/browser/applicationinsights-core-js.js.map +1 -1
  4. package/browser/applicationinsights-core-js.min.js +2 -2
  5. package/browser/applicationinsights-core-js.min.js.map +1 -1
  6. package/dist/applicationinsights-core-js.d.ts +1 -1
  7. package/dist/applicationinsights-core-js.js +2 -2
  8. package/dist/applicationinsights-core-js.js.map +1 -1
  9. package/dist/applicationinsights-core-js.min.js +2 -2
  10. package/dist/applicationinsights-core-js.min.js.map +1 -1
  11. package/dist/applicationinsights-core-js.rollup.d.ts +1 -1
  12. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
  13. package/dist-esm/JavaScriptSDK/BaseCore.js +1 -1
  14. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  15. package/dist-esm/JavaScriptSDK/ChannelController.js +1 -1
  16. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  17. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  18. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  19. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  20. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  21. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  22. package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
  23. package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
  24. package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
  25. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  26. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  27. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  28. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  29. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  30. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  31. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  32. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  33. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  34. package/dist-esm/JavaScriptSDK/W3cTraceParent.js +1 -1
  35. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +2 -2
  36. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js.map +1 -1
  37. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  38. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  39. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  40. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  41. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  42. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  43. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  44. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  45. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  46. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  47. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  49. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  50. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  63. package/dist-esm/__DynamicConstants.js +1 -1
  64. package/dist-esm/applicationinsights-core-js.js +1 -1
  65. package/package.json +1 -1
  66. package/src/JavaScriptSDK.Enums/EnumHelperFuncs.ts +1 -1
  67. package/src/JavaScriptSDK.Enums/SendRequestReason.ts +2 -2
  68. package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +9 -9
  69. package/src/JavaScriptSDK.Interfaces/IConfiguration.ts +3 -3
  70. package/src/JavaScriptSDK.Interfaces/IDiagnosticLogger.ts +1 -1
  71. package/src/JavaScriptSDK.Interfaces/INotificationListener.ts +1 -1
  72. package/src/JavaScriptSDK.Interfaces/INotificationManager.ts +1 -1
  73. package/src/JavaScriptSDK.Interfaces/ITelemetryUpdateState.ts +2 -2
  74. package/types/JavaScriptSDK.Enums/SendRequestReason.d.ts +2 -2
  75. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +9 -9
  76. package/types/JavaScriptSDK.Interfaces/IConfiguration.d.ts +2 -2
  77. package/types/JavaScriptSDK.Interfaces/IDiagnosticLogger.d.ts +1 -1
  78. package/types/JavaScriptSDK.Interfaces/INotificationListener.d.ts +1 -1
  79. package/types/JavaScriptSDK.Interfaces/INotificationManager.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 2.8.14-nightly.2305-06
2
+ * Microsoft Application Insights Core Javascript SDK, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { _DYN_COOKIE_CFG, _DYN_INDEX_OF, _DYN_LENGTH, _DYN_LOGGER, _DYN_SET_ENABLED, _DYN_SPLIT, _DYN_SUBSTRING, _DYN_USER_AGENT } from "../__DynamicConstants";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -10,7 +10,7 @@ import { normalizeJsName } from "./HelperFuncs";
10
10
  import { STR_EMPTY } from "./InternalConstants";
11
11
  import { newId } from "./RandomHelper";
12
12
  var _objDefineProperty = ObjDefineProperty;
13
- var version = "2.8.14-nightly.2305-06";
13
+ var version = "2.8.14-nightly.2305-10";
14
14
  var instanceName = "." + newId(6);
15
15
  var _dataUid = 0;
16
16
  function _createAccessor(target, prop, value) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataCacheHelper.js.map","sources":["DataCacheHelper.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { ObjDefineProperty } from \"@microsoft/applicationinsights-shims\";\r\nimport { _DYN_NODE_TYPE } from \"../__DynamicConstants\";\r\nimport { normalizeJsName } from \"./HelperFuncs\";\r\nimport { STR_EMPTY } from \"./InternalConstants\";\r\nimport { newId } from \"./RandomHelper\";\r\nvar _objDefineProperty = ObjDefineProperty;\r\nvar version = \"2.8.14-nightly.2305-06\";\r\nvar instanceName = \".\" + newId(6);\r\nvar _dataUid = 0;\r\nfunction _createAccessor(target, prop, value) {\r\n if (_objDefineProperty) {\r\n try {\r\n _objDefineProperty(target, prop, {\r\n value: value,\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return true;\r\n }\r\n catch (e) {\r\n // IE8 Defines a defineProperty on Object but it's only supported for DOM elements so it will throw\r\n // We will just ignore this here.\r\n }\r\n }\r\n return false;\r\n}\r\n// Accepts only:\r\n// - Node\r\n// - Node.ELEMENT_NODE\r\n// - Node.DOCUMENT_NODE\r\n// - Object\r\n// - Any\r\nfunction _canAcceptData(target) {\r\n return target[_DYN_NODE_TYPE /* @min:%2enodeType */] === 1 || target[_DYN_NODE_TYPE /* @min:%2enodeType */] === 9 || !(+target[_DYN_NODE_TYPE /* @min:%2enodeType */]);\r\n}\r\nfunction _getCache(data, target) {\r\n var theCache = target[data.id];\r\n if (!theCache) {\r\n theCache = {};\r\n try {\r\n if (_canAcceptData(target)) {\r\n if (!_createAccessor(target, data.id, theCache)) {\r\n // Environment doesn't support accessor, so just use direct assignment\r\n target[data.id] = theCache;\r\n }\r\n }\r\n }\r\n catch (e) {\r\n // Not all environments allow extending all objects, so just ignore the cache in those cases\r\n }\r\n }\r\n return theCache;\r\n}\r\nexport function createUniqueNamespace(name, includeVersion) {\r\n if (includeVersion === void 0) { includeVersion = false; }\r\n return normalizeJsName(name + (_dataUid++) + (includeVersion ? \".\" + version : STR_EMPTY) + instanceName);\r\n}\r\nexport function createElmNodeData(name) {\r\n var data = {\r\n id: createUniqueNamespace(\"_aiData-\" + (name || STR_EMPTY) + \".\" + version),\r\n accept: function (target) {\r\n return _canAcceptData(target);\r\n },\r\n get: function (target, name, defValue, addDefault) {\r\n var theCache = target[data.id];\r\n if (!theCache) {\r\n if (addDefault) {\r\n // Side effect is adds the cache\r\n theCache = _getCache(data, target);\r\n theCache[normalizeJsName(name)] = defValue;\r\n }\r\n return defValue;\r\n }\r\n return theCache[normalizeJsName(name)];\r\n },\r\n kill: function (target, name) {\r\n if (target && target[name]) {\r\n try {\r\n delete target[name];\r\n }\r\n catch (e) {\r\n // Just cleaning up, so if this fails -- ignore\r\n }\r\n }\r\n }\r\n };\r\n return data;\r\n}\r\n//# sourceMappingURL=DataCacheHelper.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;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":"DataCacheHelper.js.map","sources":["DataCacheHelper.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { ObjDefineProperty } from \"@microsoft/applicationinsights-shims\";\r\nimport { _DYN_NODE_TYPE } from \"../__DynamicConstants\";\r\nimport { normalizeJsName } from \"./HelperFuncs\";\r\nimport { STR_EMPTY } from \"./InternalConstants\";\r\nimport { newId } from \"./RandomHelper\";\r\nvar _objDefineProperty = ObjDefineProperty;\r\nvar version = \"2.8.14-nightly.2305-10\";\r\nvar instanceName = \".\" + newId(6);\r\nvar _dataUid = 0;\r\nfunction _createAccessor(target, prop, value) {\r\n if (_objDefineProperty) {\r\n try {\r\n _objDefineProperty(target, prop, {\r\n value: value,\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return true;\r\n }\r\n catch (e) {\r\n // IE8 Defines a defineProperty on Object but it's only supported for DOM elements so it will throw\r\n // We will just ignore this here.\r\n }\r\n }\r\n return false;\r\n}\r\n// Accepts only:\r\n// - Node\r\n// - Node.ELEMENT_NODE\r\n// - Node.DOCUMENT_NODE\r\n// - Object\r\n// - Any\r\nfunction _canAcceptData(target) {\r\n return target[_DYN_NODE_TYPE /* @min:%2enodeType */] === 1 || target[_DYN_NODE_TYPE /* @min:%2enodeType */] === 9 || !(+target[_DYN_NODE_TYPE /* @min:%2enodeType */]);\r\n}\r\nfunction _getCache(data, target) {\r\n var theCache = target[data.id];\r\n if (!theCache) {\r\n theCache = {};\r\n try {\r\n if (_canAcceptData(target)) {\r\n if (!_createAccessor(target, data.id, theCache)) {\r\n // Environment doesn't support accessor, so just use direct assignment\r\n target[data.id] = theCache;\r\n }\r\n }\r\n }\r\n catch (e) {\r\n // Not all environments allow extending all objects, so just ignore the cache in those cases\r\n }\r\n }\r\n return theCache;\r\n}\r\nexport function createUniqueNamespace(name, includeVersion) {\r\n if (includeVersion === void 0) { includeVersion = false; }\r\n return normalizeJsName(name + (_dataUid++) + (includeVersion ? \".\" + version : STR_EMPTY) + instanceName);\r\n}\r\nexport function createElmNodeData(name) {\r\n var data = {\r\n id: createUniqueNamespace(\"_aiData-\" + (name || STR_EMPTY) + \".\" + version),\r\n accept: function (target) {\r\n return _canAcceptData(target);\r\n },\r\n get: function (target, name, defValue, addDefault) {\r\n var theCache = target[data.id];\r\n if (!theCache) {\r\n if (addDefault) {\r\n // Side effect is adds the cache\r\n theCache = _getCache(data, target);\r\n theCache[normalizeJsName(name)] = defValue;\r\n }\r\n return defValue;\r\n }\r\n return theCache[normalizeJsName(name)];\r\n },\r\n kill: function (target, name) {\r\n if (target && target[name]) {\r\n try {\r\n delete target[name];\r\n }\r\n catch (e) {\r\n // Just cleaning up, so if this fails -- ignore\r\n }\r\n }\r\n }\r\n };\r\n return data;\r\n}\r\n//# sourceMappingURL=DataCacheHelper.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;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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { _DYN_LENGTH, _DYN_SPAN_ID, _DYN_SUBSTR, _DYN_TRACE_FLAGS, _DYN_TRACE_ID, _DYN_VERSION } from "../__DynamicConstants";
@@ -1,10 +1,10 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
- import { objForEachKey, deepFreeze } from "../JavaScriptSDK/HelperFuncs";
7
+ import { deepFreeze, objForEachKey } from "../JavaScriptSDK/HelperFuncs";
8
8
  /**
9
9
  * Create an enum style object which has both the key => value and value => key mappings
10
10
  * @param values - The values to populate on the new object
@@ -1 +1 @@
1
- {"version":3,"file":"EnumHelperFuncs.js.map","sources":["EnumHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { objForEachKey, deepFreeze } from \"../JavaScriptSDK/HelperFuncs\";\r\n/**\r\n * Create an enum style object which has both the key => value and value => key mappings\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createEnumStyle(values) {\r\n var enumClass = {};\r\n objForEachKey(values, function (field, value) {\r\n enumClass[field] = value;\r\n enumClass[value] = field;\r\n });\r\n return deepFreeze(enumClass);\r\n}\r\n/**\r\n * Create a 2 index map that maps an enum's key as both the key and value, X[\"key\"] => \"key\" and X[0] => \"keyof 0\".\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createEnumMap(values) {\r\n var mapClass = {};\r\n objForEachKey(values, function (field, value) {\r\n mapClass[field] = field;\r\n mapClass[value] = field;\r\n });\r\n return deepFreeze(mapClass);\r\n}\r\n/**\r\n * Create a 2 index map that maps an enum's key and value to the defined map value, X[\"key\"] => mapValue and X[0] => mapValue.\r\n * Generic values\r\n * - E = the const enum type (typeof eRequestHeaders);\r\n * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The\r\n * resulting \"Value\" of each entry identifies the valid values withing the assignments.\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createValueMap(values) {\r\n var mapClass = {};\r\n objForEachKey(values, function (field, value) {\r\n mapClass[field] = value[1];\r\n mapClass[value[0]] = value[1];\r\n });\r\n return deepFreeze(mapClass);\r\n}\r\n//# sourceMappingURL=EnumHelperFuncs.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"}
1
+ {"version":3,"file":"EnumHelperFuncs.js.map","sources":["EnumHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { deepFreeze, objForEachKey } from \"../JavaScriptSDK/HelperFuncs\";\r\n/**\r\n * Create an enum style object which has both the key => value and value => key mappings\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createEnumStyle(values) {\r\n var enumClass = {};\r\n objForEachKey(values, function (field, value) {\r\n enumClass[field] = value;\r\n enumClass[value] = field;\r\n });\r\n return deepFreeze(enumClass);\r\n}\r\n/**\r\n * Create a 2 index map that maps an enum's key as both the key and value, X[\"key\"] => \"key\" and X[0] => \"keyof 0\".\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createEnumMap(values) {\r\n var mapClass = {};\r\n objForEachKey(values, function (field, value) {\r\n mapClass[field] = field;\r\n mapClass[value] = field;\r\n });\r\n return deepFreeze(mapClass);\r\n}\r\n/**\r\n * Create a 2 index map that maps an enum's key and value to the defined map value, X[\"key\"] => mapValue and X[0] => mapValue.\r\n * Generic values\r\n * - E = the const enum type (typeof eRequestHeaders);\r\n * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The\r\n * resulting \"Value\" of each entry identifies the valid values withing the assignments.\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport function createValueMap(values) {\r\n var mapClass = {};\r\n objForEachKey(values, function (field, value) {\r\n mapClass[field] = value[1];\r\n mapClass[value[0]] = value[1];\r\n });\r\n return deepFreeze(mapClass);\r\n}\r\n//# sourceMappingURL=EnumHelperFuncs.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"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
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 - Core, 2.8.14-nightly.2305-06
2
+ * Application Insights JavaScript SDK - Core, 2.8.14-nightly.2305-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export { MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-core-js",
3
3
  "author": "Microsoft Application Insights Team",
4
- "version": "2.8.14-nightly.2305-06",
4
+ "version": "2.8.14-nightly.2305-10",
5
5
  "description": "Microsoft Application Insights Core Javascript SDK",
6
6
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
7
7
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
3
 
4
- import { objForEachKey, deepFreeze } from "../JavaScriptSDK/HelperFuncs";
4
+ import { deepFreeze, objForEachKey } from "../JavaScriptSDK/HelperFuncs";
5
5
 
6
6
  export declare type EnumValue<E = any> = { readonly [key in keyof E]: E[key] };
7
7
  export declare type EnumMap<E = any, I = E> = { readonly [key in keyof E extends string ? keyof E : never]: key extends string ? key : keyof E } & I;
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
3
  /**
4
- * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
5
- */
4
+ * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
5
+ */
6
6
  export const enum SendRequestReason {
7
7
  /**
8
8
  * No specific reason was specified
@@ -1,20 +1,20 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
- import { ITelemetryItem } from "./ITelemetryItem";
3
+ import { SendRequestReason } from "../JavaScriptSDK.Enums/SendRequestReason";
4
+ import { UnloadHandler } from "../JavaScriptSDK/UnloadHandlerContainer";
4
5
  import { IChannelControls } from "./IChannelControls";
5
- import { IPlugin, ITelemetryPlugin } from "./ITelemetryPlugin";
6
6
  import { IConfiguration } from "./IConfiguration";
7
- import { INotificationManager } from "./INotificationManager";
8
- import { INotificationListener } from "./INotificationListener";
7
+ import { ICookieMgr } from "./ICookieMgr";
9
8
  import { IDiagnosticLogger } from "./IDiagnosticLogger";
10
- import { IProcessTelemetryContext } from "./IProcessTelemetryContext";
9
+ import { IDistributedTraceContext } from "./IDistributedTraceContext";
10
+ import { INotificationListener } from "./INotificationListener";
11
+ import { INotificationManager } from "./INotificationManager";
11
12
  import { IPerfManagerProvider } from "./IPerfManager";
12
- import { ICookieMgr } from "./ICookieMgr";
13
+ import { IProcessTelemetryContext } from "./IProcessTelemetryContext";
13
14
  import { ITelemetryInitializerHandler, TelemetryInitializerFunction } from "./ITelemetryInitializers";
15
+ import { ITelemetryItem } from "./ITelemetryItem";
16
+ import { IPlugin, ITelemetryPlugin } from "./ITelemetryPlugin";
14
17
  import { ITelemetryUnloadState } from "./ITelemetryUnloadState";
15
- import { UnloadHandler } from "../JavaScriptSDK/UnloadHandlerContainer";
16
- import { SendRequestReason } from "../JavaScriptSDK.Enums/SendRequestReason";
17
- import { IDistributedTraceContext } from "./IDistributedTraceContext";
18
18
 
19
19
  export interface ILoadedPlugin<T extends IPlugin> {
20
20
  plugin: T;
@@ -1,11 +1,11 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
- import { ITelemetryPlugin } from "./ITelemetryPlugin";
3
+ import { IAppInsightsCore } from "./IAppInsightsCore";
4
4
  import { IChannelControls } from "./IChannelControls";
5
5
  import { ICookieMgrConfig } from "./ICookieMgr";
6
6
  import { INotificationManager } from "./INotificationManager";
7
7
  import { IPerfManager } from "./IPerfManager";
8
- import { IAppInsightsCore } from "./IAppInsightsCore";
8
+ import { ITelemetryPlugin } from "./ITelemetryPlugin";
9
9
 
10
10
  "use strict";
11
11
 
@@ -176,4 +176,4 @@ export interface IConfiguration {
176
176
  * this will not send any notifications.
177
177
  */
178
178
  disableDbgExt?: boolean;
179
- }
179
+ }
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
- import { _InternalMessageId, LoggingSeverity } from "../JavaScriptSDK.Enums/LoggingEnums";
3
+ import { LoggingSeverity, _InternalMessageId } from "../JavaScriptSDK.Enums/LoggingEnums";
4
4
  import { _InternalLogMessage } from "../JavaScriptSDK/DiagnosticLogger";
5
5
 
6
6
  "use strict"
@@ -2,8 +2,8 @@
2
2
  // Licensed under the MIT License.
3
3
  "use strict";
4
4
 
5
- import { ITelemetryItem } from "./ITelemetryItem";
6
5
  import { IPerfEvent } from "./IPerfEvent";
6
+ import { ITelemetryItem } from "./ITelemetryItem";
7
7
 
8
8
  /**
9
9
  * An interface used for the notification listener.
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
- import { ITelemetryItem } from "../JavaScriptSDK.Interfaces/ITelemetryItem";
4
3
  import { INotificationListener } from "../JavaScriptSDK.Interfaces/INotificationListener";
4
+ import { ITelemetryItem } from "../JavaScriptSDK.Interfaces/ITelemetryItem";
5
5
  import { IPerfEvent } from "./IPerfEvent";
6
6
 
7
7
  /**
@@ -2,9 +2,9 @@
2
2
  // Licensed under the MIT License.
3
3
 
4
4
  import { TelemetryUpdateReason } from "../JavaScriptSDK.Enums/TelemetryUpdateReason";
5
- //import { IConfiguration } from "./IConfiguration";
6
5
  import { IPlugin } from "./ITelemetryPlugin";
7
6
 
7
+ //import { IConfiguration } from "./IConfiguration";
8
8
  export interface ITelemetryUpdateState {
9
9
 
10
10
  /**
@@ -31,4 +31,4 @@ export interface ITelemetryUpdateState {
31
31
  * This holds a collection of plugins that have been removed (if the reason identifies that one or more plugins have been removed)
32
32
  */
33
33
  removed?: IPlugin[]
34
- }
34
+ }