@microsoft/applicationinsights-core-js 3.0.2-nightly3.2305-09 → 3.0.2-nightly3.2305-11

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-core-js.cjs.js +152 -70
  2. package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-core-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-core-js.gbl.js +154 -72
  6. package/browser/es5/applicationinsights-core-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-core-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-core-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-core-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-core-js.js +154 -72
  11. package/browser/es5/applicationinsights-core-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-core-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-core-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-core-js.js +152 -70
  15. package/dist/es5/applicationinsights-core-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-core-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-core-js.min.js.map +1 -1
  18. package/dist-es5/Config/ConfigDefaultHelpers.js +17 -5
  19. package/dist-es5/Config/ConfigDefaultHelpers.js.map +1 -1
  20. package/dist-es5/Config/ConfigDefaults.js +9 -2
  21. package/dist-es5/Config/ConfigDefaults.js.map +1 -1
  22. package/dist-es5/Config/DynamicConfig.js +24 -9
  23. package/dist-es5/Config/DynamicConfig.js.map +1 -1
  24. package/dist-es5/Config/DynamicProperty.js +82 -34
  25. package/dist-es5/Config/DynamicProperty.js.map +1 -1
  26. package/dist-es5/Config/DynamicState.js +7 -5
  27. package/dist-es5/Config/DynamicState.js.map +1 -1
  28. package/dist-es5/Config/DynamicSupport.js +4 -4
  29. package/dist-es5/Config/DynamicSupport.js.map +1 -1
  30. package/dist-es5/Config/IConfigDefaults.js +1 -1
  31. package/dist-es5/Config/IDynamicConfigHandler.js +1 -1
  32. package/dist-es5/Config/IDynamicPropertyHandler.js +1 -1
  33. package/dist-es5/Config/IDynamicWatcher.js +1 -1
  34. package/dist-es5/Config/_IDynamicConfigHandlerState.js +1 -1
  35. package/dist-es5/JavaScriptSDK/AggregationError.js +1 -1
  36. package/dist-es5/JavaScriptSDK/AppInsightsCore.js +17 -18
  37. package/dist-es5/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  38. package/dist-es5/JavaScriptSDK/AsyncUtils.js +1 -1
  39. package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  40. package/dist-es5/JavaScriptSDK/Constants.js +1 -1
  41. package/dist-es5/JavaScriptSDK/CookieMgr.js +1 -1
  42. package/dist-es5/JavaScriptSDK/CoreUtils.js +1 -1
  43. package/dist-es5/JavaScriptSDK/DataCacheHelper.js +2 -2
  44. package/dist-es5/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  45. package/dist-es5/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  46. package/dist-es5/JavaScriptSDK/DiagnosticLogger.js +22 -25
  47. package/dist-es5/JavaScriptSDK/DiagnosticLogger.js.map +1 -1
  48. package/dist-es5/JavaScriptSDK/EnvUtils.js +1 -1
  49. package/dist-es5/JavaScriptSDK/EventHelpers.js +1 -1
  50. package/dist-es5/JavaScriptSDK/HelperFuncs.js +1 -1
  51. package/dist-es5/JavaScriptSDK/InstrumentHooks.js +1 -1
  52. package/dist-es5/JavaScriptSDK/InternalConstants.js +1 -3
  53. package/dist-es5/JavaScriptSDK/InternalConstants.js.map +1 -1
  54. package/dist-es5/JavaScriptSDK/NotificationManager.js +1 -1
  55. package/dist-es5/JavaScriptSDK/PerfManager.js +1 -1
  56. package/dist-es5/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  57. package/dist-es5/JavaScriptSDK/RandomHelper.js +1 -1
  58. package/dist-es5/JavaScriptSDK/TelemetryHelpers.js +1 -1
  59. package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  60. package/dist-es5/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  61. package/dist-es5/JavaScriptSDK/UnloadHookContainer.js +1 -1
  62. package/dist-es5/JavaScriptSDK/W3cTraceParent.js +1 -1
  63. package/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  64. package/dist-es5/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  65. package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js +3 -2
  66. package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js.map +1 -1
  67. package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  68. package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  69. package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  70. package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  71. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  72. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +1 -1
  73. package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  74. package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  75. package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  76. package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  77. package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  78. package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  79. package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  80. package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  81. package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  82. package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  83. package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  84. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  85. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  86. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  87. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  88. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  89. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  90. package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  91. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
  92. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  93. package/dist-es5/__DynamicConstants.js +9 -6
  94. package/dist-es5/__DynamicConstants.js.map +1 -1
  95. package/dist-es5/applicationinsights-core-js.js +2 -2
  96. package/dist-es5/applicationinsights-core-js.js.map +1 -1
  97. package/package.json +1 -1
  98. package/types/applicationinsights-core-js.d.ts +64 -7
  99. package/types/applicationinsights-core-js.namespaced.d.ts +64 -7
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-09
2
+ * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-11
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, 3.0.2-nightly3.2305-09
2
+ * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-11
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, 3.0.2-nightly3.2305-09
2
+ * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-11
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, 3.0.2-nightly3.2305-09
2
+ * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-11
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -12,19 +12,22 @@
12
12
  // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
13
13
  // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
14
  export var _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 9
15
+ export var _DYN_BLK_VAL = "blkVal"; // Count: 5
15
16
  export var _DYN_LENGTH = "length"; // Count: 42
16
17
  export var _DYN_RD_ONLY = "rdOnly"; // Count: 4
17
18
  export var _DYN_NOTIFY = "notify"; // Count: 4
18
- export var _DYN_THROW_INTERNAL = "throwInternal"; // Count: 4
19
+ export var _DYN_WARN_TO_CONSOLE = "warnToConsole"; // Count: 4
20
+ export var _DYN_THROW_INTERNAL = "throwInternal"; // Count: 5
19
21
  export var _DYN_SET_DF = "setDf"; // Count: 6
20
22
  export var _DYN_WATCH = "watch"; // Count: 9
21
- export var _DYN_LOGGER = "logger"; // Count: 17
23
+ export var _DYN_LOGGER = "logger"; // Count: 21
22
24
  export var _DYN_APPLY = "apply"; // Count: 7
23
- export var _DYN_PUSH = "push"; // Count: 32
25
+ export var _DYN_PUSH = "push"; // Count: 31
24
26
  export var _DYN_SPLICE = "splice"; // Count: 8
27
+ export var _DYN_HDLR = "hdlr"; // Count: 6
25
28
  export var _DYN_CANCEL = "cancel"; // Count: 5
26
29
  export var _DYN_INITIALIZE = "initialize"; // Count: 4
27
- export var _DYN_IDENTIFIER = "identifier"; // Count: 10
30
+ export var _DYN_IDENTIFIER = "identifier"; // Count: 8
28
31
  export var _DYN_IS_INITIALIZED = "isInitialized"; // Count: 10
29
32
  export var _DYN_GET_PLUGIN = "getPlugin"; // Count: 6
30
33
  export var _DYN_POLL_INTERNAL_LOGS = "pollInternalLogs"; // Count: 2
@@ -39,7 +42,7 @@ export var _DYN_ENABLED = "enabled"; // Count: 6
39
42
  export var _DYN_STOP_POLLING_INTERNA3 = "stopPollingInternalLogs"; // Count: 2
40
43
  export var _DYN_UNLOAD = "unload"; // Count: 9
41
44
  export var _DYN_ON_COMPLETE = "onComplete"; // Count: 5
42
- export var _DYN_VERSION = "version"; // Count: 8
45
+ export var _DYN_VERSION = "version"; // Count: 6
43
46
  export var _DYN_LOGGING_LEVEL_CONSOL4 = "loggingLevelConsole"; // Count: 2
44
47
  export var _DYN_CREATE_NEW = "createNew"; // Count: 7
45
48
  export var _DYN_TEARDOWN = "teardown"; // Count: 9
@@ -1 +1 @@
1
- {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 9\r\nexport var _DYN_LENGTH = \"length\"; // Count: 42\r\nexport var _DYN_RD_ONLY = \"rdOnly\"; // Count: 4\r\nexport var _DYN_NOTIFY = \"notify\"; // Count: 4\r\nexport var _DYN_THROW_INTERNAL = \"throwInternal\"; // Count: 4\r\nexport var _DYN_SET_DF = \"setDf\"; // Count: 6\r\nexport var _DYN_WATCH = \"watch\"; // Count: 9\r\nexport var _DYN_LOGGER = \"logger\"; // Count: 17\r\nexport var _DYN_APPLY = \"apply\"; // Count: 7\r\nexport var _DYN_PUSH = \"push\"; // Count: 32\r\nexport var _DYN_SPLICE = \"splice\"; // Count: 8\r\nexport var _DYN_CANCEL = \"cancel\"; // Count: 5\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 4\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 10\r\nexport var _DYN_IS_INITIALIZED = \"isInitialized\"; // Count: 10\r\nexport var _DYN_GET_PLUGIN = \"getPlugin\"; // Count: 6\r\nexport var _DYN_POLL_INTERNAL_LOGS = \"pollInternalLogs\"; // Count: 2\r\nexport var _DYN_NAME = \"name\"; // Count: 11\r\nexport var _DYN_TIME = \"time\"; // Count: 6\r\nexport var _DYN_PROCESS_NEXT = \"processNext\"; // Count: 15\r\nexport var _DYN_GET_PROCESS_TEL_CONT0 = \"getProcessTelContext\"; // Count: 2\r\nexport var _DYN_GET_NOTIFY_MGR = \"getNotifyMgr\"; // Count: 5\r\nexport var _DYN_ADD_NOTIFICATION_LIS1 = \"addNotificationListener\"; // Count: 4\r\nexport var _DYN_REMOVE_NOTIFICATION_2 = \"removeNotificationListener\"; // Count: 4\r\nexport var _DYN_ENABLED = \"enabled\"; // Count: 6\r\nexport var _DYN_STOP_POLLING_INTERNA3 = \"stopPollingInternalLogs\"; // Count: 2\r\nexport var _DYN_UNLOAD = \"unload\"; // Count: 9\r\nexport var _DYN_ON_COMPLETE = \"onComplete\"; // Count: 5\r\nexport var _DYN_VERSION = \"version\"; // Count: 8\r\nexport var _DYN_LOGGING_LEVEL_CONSOL4 = \"loggingLevelConsole\"; // Count: 2\r\nexport var _DYN_CREATE_NEW = \"createNew\"; // Count: 7\r\nexport var _DYN_TEARDOWN = \"teardown\"; // Count: 9\r\nexport var _DYN_MESSAGE_ID = \"messageId\"; // Count: 4\r\nexport var _DYN_MESSAGE = \"message\"; // Count: 6\r\nexport var _DYN_IS_ASYNC = \"isAsync\"; // Count: 6\r\nexport var _DYN_DIAG_LOG = \"diagLog\"; // Count: 10\r\nexport var _DYN__DO_TEARDOWN = \"_doTeardown\"; // Count: 4\r\nexport var _DYN_UPDATE = \"update\"; // Count: 6\r\nexport var _DYN_GET_NEXT = \"getNext\"; // Count: 12\r\nexport var _DYN_SET_NEXT_PLUGIN = \"setNextPlugin\"; // Count: 5\r\nexport var _DYN_USER_AGENT = \"userAgent\"; // Count: 5\r\nexport var _DYN_SPLIT = \"split\"; // Count: 5\r\nexport var _DYN_NODE_TYPE = \"nodeType\"; // Count: 3\r\nexport var _DYN_REPLACE = \"replace\"; // Count: 8\r\nexport var _DYN_LOG_INTERNAL_MESSAGE = \"logInternalMessage\"; // Count: 2\r\nexport var _DYN_TYPE = \"type\"; // Count: 14\r\nexport var _DYN_HANDLER = \"handler\"; // Count: 5\r\nexport var _DYN_IS_CHILD_EVT = \"isChildEvt\"; // Count: 3\r\nexport var _DYN_GET_CTX = \"getCtx\"; // Count: 6\r\nexport var _DYN_SET_CTX = \"setCtx\"; // Count: 10\r\nexport var _DYN_COMPLETE = \"complete\"; // Count: 3\r\nexport var _DYN_TRACE_ID = \"traceId\"; // Count: 5\r\nexport var _DYN_SPAN_ID = \"spanId\"; // Count: 5\r\nexport var _DYN_TRACE_FLAGS = \"traceFlags\"; // Count: 6\r\n//# sourceMappingURL=__DynamicConstants.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"}
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 9\r\nexport var _DYN_BLK_VAL = \"blkVal\"; // Count: 5\r\nexport var _DYN_LENGTH = \"length\"; // Count: 42\r\nexport var _DYN_RD_ONLY = \"rdOnly\"; // Count: 4\r\nexport var _DYN_NOTIFY = \"notify\"; // Count: 4\r\nexport var _DYN_WARN_TO_CONSOLE = \"warnToConsole\"; // Count: 4\r\nexport var _DYN_THROW_INTERNAL = \"throwInternal\"; // Count: 5\r\nexport var _DYN_SET_DF = \"setDf\"; // Count: 6\r\nexport var _DYN_WATCH = \"watch\"; // Count: 9\r\nexport var _DYN_LOGGER = \"logger\"; // Count: 21\r\nexport var _DYN_APPLY = \"apply\"; // Count: 7\r\nexport var _DYN_PUSH = \"push\"; // Count: 31\r\nexport var _DYN_SPLICE = \"splice\"; // Count: 8\r\nexport var _DYN_HDLR = \"hdlr\"; // Count: 6\r\nexport var _DYN_CANCEL = \"cancel\"; // Count: 5\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 4\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 8\r\nexport var _DYN_IS_INITIALIZED = \"isInitialized\"; // Count: 10\r\nexport var _DYN_GET_PLUGIN = \"getPlugin\"; // Count: 6\r\nexport var _DYN_POLL_INTERNAL_LOGS = \"pollInternalLogs\"; // Count: 2\r\nexport var _DYN_NAME = \"name\"; // Count: 11\r\nexport var _DYN_TIME = \"time\"; // Count: 6\r\nexport var _DYN_PROCESS_NEXT = \"processNext\"; // Count: 15\r\nexport var _DYN_GET_PROCESS_TEL_CONT0 = \"getProcessTelContext\"; // Count: 2\r\nexport var _DYN_GET_NOTIFY_MGR = \"getNotifyMgr\"; // Count: 5\r\nexport var _DYN_ADD_NOTIFICATION_LIS1 = \"addNotificationListener\"; // Count: 4\r\nexport var _DYN_REMOVE_NOTIFICATION_2 = \"removeNotificationListener\"; // Count: 4\r\nexport var _DYN_ENABLED = \"enabled\"; // Count: 6\r\nexport var _DYN_STOP_POLLING_INTERNA3 = \"stopPollingInternalLogs\"; // Count: 2\r\nexport var _DYN_UNLOAD = \"unload\"; // Count: 9\r\nexport var _DYN_ON_COMPLETE = \"onComplete\"; // Count: 5\r\nexport var _DYN_VERSION = \"version\"; // Count: 6\r\nexport var _DYN_LOGGING_LEVEL_CONSOL4 = \"loggingLevelConsole\"; // Count: 2\r\nexport var _DYN_CREATE_NEW = \"createNew\"; // Count: 7\r\nexport var _DYN_TEARDOWN = \"teardown\"; // Count: 9\r\nexport var _DYN_MESSAGE_ID = \"messageId\"; // Count: 4\r\nexport var _DYN_MESSAGE = \"message\"; // Count: 6\r\nexport var _DYN_IS_ASYNC = \"isAsync\"; // Count: 6\r\nexport var _DYN_DIAG_LOG = \"diagLog\"; // Count: 10\r\nexport var _DYN__DO_TEARDOWN = \"_doTeardown\"; // Count: 4\r\nexport var _DYN_UPDATE = \"update\"; // Count: 6\r\nexport var _DYN_GET_NEXT = \"getNext\"; // Count: 12\r\nexport var _DYN_SET_NEXT_PLUGIN = \"setNextPlugin\"; // Count: 5\r\nexport var _DYN_USER_AGENT = \"userAgent\"; // Count: 5\r\nexport var _DYN_SPLIT = \"split\"; // Count: 5\r\nexport var _DYN_NODE_TYPE = \"nodeType\"; // Count: 3\r\nexport var _DYN_REPLACE = \"replace\"; // Count: 8\r\nexport var _DYN_LOG_INTERNAL_MESSAGE = \"logInternalMessage\"; // Count: 2\r\nexport var _DYN_TYPE = \"type\"; // Count: 14\r\nexport var _DYN_HANDLER = \"handler\"; // Count: 5\r\nexport var _DYN_IS_CHILD_EVT = \"isChildEvt\"; // Count: 3\r\nexport var _DYN_GET_CTX = \"getCtx\"; // Count: 6\r\nexport var _DYN_SET_CTX = \"setCtx\"; // Count: 10\r\nexport var _DYN_COMPLETE = \"complete\"; // Count: 3\r\nexport var _DYN_TRACE_ID = \"traceId\"; // Count: 5\r\nexport var _DYN_SPAN_ID = \"spanId\"; // Count: 5\r\nexport var _DYN_TRACE_FLAGS = \"traceFlags\"; // Count: 6\r\n//# sourceMappingURL=__DynamicConstants.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"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-09
2
+ * Application Insights JavaScript SDK - Core, 3.0.2-nightly3.2305-11
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export { MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
@@ -33,5 +33,5 @@ export { createUnloadHookContainer } from "./JavaScriptSDK/UnloadHookContainer";
33
33
  export { createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from "./JavaScriptSDK/W3cTraceParent";
34
34
  export { createDynamicConfig, onConfigChange } from "./Config/DynamicConfig";
35
35
  export { getDynamicConfigHandler, blockDynamicConversion, forceDynamicConversion } from "./Config/DynamicSupport";
36
- export { cfgDfValidate, cfgDfMerge, cfgDfBoolean, cfgDfFunc, cfgDfString, cfgDfSet } from "./Config/ConfigDefaultHelpers";
36
+ export { cfgDfValidate, cfgDfMerge, cfgDfBoolean, cfgDfFunc, cfgDfString, cfgDfSet, cfgDfBlockPropValue } from "./Config/ConfigDefaultHelpers";
37
37
  //# sourceMappingURL=applicationinsights-core-js.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicationinsights-core-js.js.map","sources":["applicationinsights-core-js.js"],"sourcesContent":["export { MinChannelPriorty } from \"./JavaScriptSDK.Interfaces/IChannelControls\";\r\nexport { EventsDiscardedReason } from \"./JavaScriptSDK.Enums/EventsDiscardedReason\";\r\nexport { throwAggregationError } from \"./JavaScriptSDK/AggregationError\";\r\nexport { AppInsightsCore } from \"./JavaScriptSDK/AppInsightsCore\";\r\nexport { BaseTelemetryPlugin } from \"./JavaScriptSDK/BaseTelemetryPlugin\";\r\nexport { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from \"./JavaScriptSDK/RandomHelper\";\r\nexport { Undefined, newGuid, generateW3CId } from \"./JavaScriptSDK/CoreUtils\";\r\nexport { runTargetUnload, doUnloadAll } from \"./JavaScriptSDK/AsyncUtils\";\r\nexport { normalizeJsName, toISOString, getExceptionName, strContains, setValue, getSetValue, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objExtend } from \"./JavaScriptSDK/HelperFuncs\";\r\nexport { isArray, isTypeof, isUndefined, isNullOrUndefined, objHasOwnProperty as hasOwnProperty, isObject, isFunction, strEndsWith, strStartsWith, isDate, isError, isString, isNumber, isBoolean, arrForEach, arrIndexOf, arrReduce, arrMap, strTrim, objKeys, objDefineAccessors, throwError, isSymbol, isNotTruthy, isTruthy, objFreeze, objSeal, objToString, objDeepFreeze as deepFreeze, getInst as getGlobalInst, hasWindow, getWindow, hasDocument, getDocument, hasNavigator, getNavigator, hasHistory, getHistory, dumpObj, asString, objForEachKey, getPerformance, utcNow as dateNow, perfNow } from \"@nevware21/ts-utils\";\r\nexport { createEnumStyle, createValueMap } from \"./JavaScriptSDK.Enums/EnumHelperFuncs\";\r\nexport { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, removePageShowEventListener, eventOn, eventOff, mergeEvtNamespace, __getRegisteredEvents } from \"./JavaScriptSDK/EventHelpers\";\r\nexport { getCrypto, getMsCrypto, getLocation, hasJSON, getJSON, isReactNative, getConsole, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported, findMetaTag, findNamedServerTiming } from \"./JavaScriptSDK/EnvUtils\";\r\nexport { getGlobal, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from \"@microsoft/applicationinsights-shims\";\r\nexport { NotificationManager } from \"./JavaScriptSDK/NotificationManager\";\r\nexport { PerfEvent, PerfManager, doPerf, getGblPerfMgr, setGblPerfMgr } from \"./JavaScriptSDK/PerfManager\";\r\nexport { safeGetLogger, DiagnosticLogger, _InternalLogMessage, _throwInternal, _warnToConsole, _logInternalMessage } from \"./JavaScriptSDK/DiagnosticLogger\";\r\nexport { ProcessTelemetryContext, createProcessTelemetryContext\r\n// Explicitly NOT exporting createProcessTelemetryUnloadContext() and createProcessTelemetryUpdateContext() as these should only be created internally\r\n } from \"./JavaScriptSDK/ProcessTelemetryContext\";\r\nexport { initializePlugins, sortPlugins, unloadComponents } from \"./JavaScriptSDK/TelemetryHelpers\";\r\nexport { LoggingSeverity } from \"./JavaScriptSDK.Enums/LoggingEnums\";\r\nexport { InstrumentProto, InstrumentProtos, InstrumentFunc, InstrumentFuncs, InstrumentEvent } from \"./JavaScriptSDK/InstrumentHooks\";\r\nexport { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesSupported } from \"./JavaScriptSDK/CookieMgr\";\r\nexport { getDebugListener, getDebugExt } from \"./JavaScriptSDK/DbgExtensionUtils\";\r\nexport { createUniqueNamespace } from \"./JavaScriptSDK/DataCacheHelper\";\r\nexport { createUnloadHandlerContainer } from \"./JavaScriptSDK/UnloadHandlerContainer\";\r\nexport { createUnloadHookContainer } from \"./JavaScriptSDK/UnloadHookContainer\";\r\nexport { createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from \"./JavaScriptSDK/W3cTraceParent\";\r\nexport { createDynamicConfig, onConfigChange } from \"./Config/DynamicConfig\";\r\nexport { getDynamicConfigHandler, blockDynamicConversion, forceDynamicConversion } from \"./Config/DynamicSupport\";\r\nexport { cfgDfValidate, cfgDfMerge, cfgDfBoolean, cfgDfFunc, cfgDfString, cfgDfSet } from \"./Config/ConfigDefaultHelpers\";\r\n//# sourceMappingURL=applicationinsights-core-js.js.map"],"names":[],"mappings":";;;;AAAA;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":"applicationinsights-core-js.js.map","sources":["applicationinsights-core-js.js"],"sourcesContent":["export { MinChannelPriorty } from \"./JavaScriptSDK.Interfaces/IChannelControls\";\r\nexport { EventsDiscardedReason } from \"./JavaScriptSDK.Enums/EventsDiscardedReason\";\r\nexport { throwAggregationError } from \"./JavaScriptSDK/AggregationError\";\r\nexport { AppInsightsCore } from \"./JavaScriptSDK/AppInsightsCore\";\r\nexport { BaseTelemetryPlugin } from \"./JavaScriptSDK/BaseTelemetryPlugin\";\r\nexport { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from \"./JavaScriptSDK/RandomHelper\";\r\nexport { Undefined, newGuid, generateW3CId } from \"./JavaScriptSDK/CoreUtils\";\r\nexport { runTargetUnload, doUnloadAll } from \"./JavaScriptSDK/AsyncUtils\";\r\nexport { normalizeJsName, toISOString, getExceptionName, strContains, setValue, getSetValue, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objExtend } from \"./JavaScriptSDK/HelperFuncs\";\r\nexport { isArray, isTypeof, isUndefined, isNullOrUndefined, objHasOwnProperty as hasOwnProperty, isObject, isFunction, strEndsWith, strStartsWith, isDate, isError, isString, isNumber, isBoolean, arrForEach, arrIndexOf, arrReduce, arrMap, strTrim, objKeys, objDefineAccessors, throwError, isSymbol, isNotTruthy, isTruthy, objFreeze, objSeal, objToString, objDeepFreeze as deepFreeze, getInst as getGlobalInst, hasWindow, getWindow, hasDocument, getDocument, hasNavigator, getNavigator, hasHistory, getHistory, dumpObj, asString, objForEachKey, getPerformance, utcNow as dateNow, perfNow } from \"@nevware21/ts-utils\";\r\nexport { createEnumStyle, createValueMap } from \"./JavaScriptSDK.Enums/EnumHelperFuncs\";\r\nexport { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, removePageShowEventListener, eventOn, eventOff, mergeEvtNamespace, __getRegisteredEvents } from \"./JavaScriptSDK/EventHelpers\";\r\nexport { getCrypto, getMsCrypto, getLocation, hasJSON, getJSON, isReactNative, getConsole, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported, findMetaTag, findNamedServerTiming } from \"./JavaScriptSDK/EnvUtils\";\r\nexport { getGlobal, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from \"@microsoft/applicationinsights-shims\";\r\nexport { NotificationManager } from \"./JavaScriptSDK/NotificationManager\";\r\nexport { PerfEvent, PerfManager, doPerf, getGblPerfMgr, setGblPerfMgr } from \"./JavaScriptSDK/PerfManager\";\r\nexport { safeGetLogger, DiagnosticLogger, _InternalLogMessage, _throwInternal, _warnToConsole, _logInternalMessage } from \"./JavaScriptSDK/DiagnosticLogger\";\r\nexport { ProcessTelemetryContext, createProcessTelemetryContext\r\n// Explicitly NOT exporting createProcessTelemetryUnloadContext() and createProcessTelemetryUpdateContext() as these should only be created internally\r\n } from \"./JavaScriptSDK/ProcessTelemetryContext\";\r\nexport { initializePlugins, sortPlugins, unloadComponents } from \"./JavaScriptSDK/TelemetryHelpers\";\r\nexport { LoggingSeverity } from \"./JavaScriptSDK.Enums/LoggingEnums\";\r\nexport { InstrumentProto, InstrumentProtos, InstrumentFunc, InstrumentFuncs, InstrumentEvent } from \"./JavaScriptSDK/InstrumentHooks\";\r\nexport { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesSupported } from \"./JavaScriptSDK/CookieMgr\";\r\nexport { getDebugListener, getDebugExt } from \"./JavaScriptSDK/DbgExtensionUtils\";\r\nexport { createUniqueNamespace } from \"./JavaScriptSDK/DataCacheHelper\";\r\nexport { createUnloadHandlerContainer } from \"./JavaScriptSDK/UnloadHandlerContainer\";\r\nexport { createUnloadHookContainer } from \"./JavaScriptSDK/UnloadHookContainer\";\r\nexport { createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent } from \"./JavaScriptSDK/W3cTraceParent\";\r\nexport { createDynamicConfig, onConfigChange } from \"./Config/DynamicConfig\";\r\nexport { getDynamicConfigHandler, blockDynamicConversion, forceDynamicConversion } from \"./Config/DynamicSupport\";\r\nexport { cfgDfValidate, cfgDfMerge, cfgDfBoolean, cfgDfFunc, cfgDfString, cfgDfSet, cfgDfBlockPropValue } from \"./Config/ConfigDefaultHelpers\";\r\n//# sourceMappingURL=applicationinsights-core-js.js.map"],"names":[],"mappings":";;;;AAAA;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"}
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": "3.0.2-nightly3.2305-09",
4
+ "version": "3.0.2-nightly3.2305-11",
5
5
  "description": "Microsoft Application Insights Core Javascript SDK",
6
6
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
7
7
  "keywords": [
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.0.2-nightly3.2305-09
2
+ * Microsoft Application Insights Core Javascript SDK, 3.0.2-nightly3.2305-11
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -447,10 +447,17 @@ export declare abstract class BaseTelemetryPlugin implements ITelemetryPlugin {
447
447
  */
448
448
  export declare function blockDynamicConversion<T>(value: T): T;
449
449
 
450
+ /**
451
+ * Helper which returns an IConfigDefaultCheck instance identifying that value associated with this property
452
+ * should not have it's properties converted into a dynamic config properties.
453
+ * @param defaultValue - The default value to apply it not provided or it's not valid
454
+ * @returns a new IConfigDefaultCheck structure
455
+ */
456
+ export declare function cfgDfBlockPropValue<V, T = IConfiguration, C = IConfiguration>(defaultValue: V | IConfigDefaults<V, T>): IConfigDefaultCheck<T, V, C>;
457
+
450
458
  /**
451
459
  * Helper which returns an IConfigDefaultCheck instance that will validate and convert the user
452
460
  * provided value to a boolean from a string or boolean value
453
- * @param validator - The IConfigCheckFn function to validate the user provided value
454
461
  * @param defaultValue - The default value to apply it not provided or it's not valid
455
462
  * @param fallBackName - The fallback configuration name if the current value is not available
456
463
  * @returns a new IConfigDefaultCheck structure
@@ -466,8 +473,8 @@ export declare function cfgDfBoolean<T, C = IConfiguration>(defaultValue?: boole
466
473
  export declare function cfgDfFunc<V, T, C = IConfiguration>(defaultValue?: V): IConfigDefaultCheck<T, V, C>;
467
474
 
468
475
  /**
469
- * Helper which returns an IConfigDefaultCheck instance with the provided field validator
470
- * @param validator - The IConfigCheckFn function to validate the user provided value
476
+ * Helper which returns an IConfigDefaultCheck instance with the field defined as an object
477
+ * that should be merged
471
478
  * @param defaultValue - The default value to apply it not provided or it's not valid
472
479
  * @returns a new IConfigDefaultCheck structure
473
480
  */
@@ -603,6 +610,11 @@ export declare class DiagnosticLogger implements IDiagnosticLogger {
603
610
  * @param message - {_InternalLogMessage} - The log message.
604
611
  */
605
612
  throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
613
+ /**
614
+ * This will write a debug message to the console if possible
615
+ * @param message - {string} - The debug message
616
+ */
617
+ debugToConsole(message: string): void;
606
618
  /**
607
619
  * This will write a warning to the console if possible
608
620
  * @param message - {string} - The warning message
@@ -789,7 +801,12 @@ export declare const enum eLoggingSeverity {
789
801
  /**
790
802
  * Error will NOT be sent as internal telemetry, and will only be shown in browser console
791
803
  */
792
- WARNING = 2
804
+ WARNING = 2,
805
+ /**
806
+ * The Error will NOT be sent as an internal telemetry, and will only be shown in the browser
807
+ * console if the logging level allows it.
808
+ */
809
+ DEBUG = 3
793
810
  }
794
811
 
795
812
  export declare type EnumValue<E = any> = EnumCls<E>;
@@ -1283,6 +1300,12 @@ export declare interface IConfigDefaultCheck<T, V, C = IConfiguration> {
1283
1300
  * @returns The referenced properties current value
1284
1301
  */
1285
1302
  rdOnly?: boolean;
1303
+ /**
1304
+ * Block the value associated with this property from having it's properties / values converted into
1305
+ * dynamic properties, this is generally used to block objects or arrays provided by external libraries
1306
+ * which may be a plain object with readonly (non-configurable) or const properties.
1307
+ */
1308
+ blkVal?: boolean;
1286
1309
  }
1287
1310
 
1288
1311
  /**
@@ -1586,6 +1609,11 @@ export declare interface IDiagnosticLogger {
1586
1609
  * @param message - The log message.
1587
1610
  */
1588
1611
  throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
1612
+ /**
1613
+ * This will write a debug message to the console if possible
1614
+ * @param message - {string} - The debug message
1615
+ */
1616
+ debugToConsole?(message: string): void;
1589
1617
  /**
1590
1618
  * This will write a warning to the console if possible
1591
1619
  * @param message - The warning message
@@ -1708,7 +1736,9 @@ export declare interface IDynamicConfigHandler<T extends IConfiguration> {
1708
1736
  /**
1709
1737
  * Set this named property of the target as referenced, which will cause any object or array instances
1710
1738
  * to be updated in-place rather than being entirely replaced. All other values will continue to be replaced.
1711
- * @returns The referenced properties current value
1739
+ * @param target - The object which has (or will have) the named property
1740
+ * @param name - The name of the property in the target
1741
+ * @returns The referenced properties current value.
1712
1742
  */
1713
1743
  ref: <C, V = any>(target: C, name: string) => V;
1714
1744
  /**
@@ -1716,9 +1746,36 @@ export declare interface IDynamicConfigHandler<T extends IConfiguration> {
1716
1746
  * ever being changed for the target instance.
1717
1747
  * This does NOT freeze or seal the instance, it just stops the direct re-assignment of the named property,
1718
1748
  * if the value is a non-primitive (ie. an object or array) it's properties will still be mutable.
1719
- * @returns The referenced properties current value
1749
+ * @param target - The object which has (or will have) the named property
1750
+ * @param name - The name of the property in the target
1751
+ * @returns The referenced properties current value.
1720
1752
  */
1721
1753
  rdOnly: <C, V = any>(target: C, name: string) => V;
1754
+ /**
1755
+ * Set the `value` that is or will be assigned to this named property of the target will not have it's
1756
+ * properties converted into dynamic properties, this means that any changes the values properties will
1757
+ * not be monitored for changes and therefore will not cause any listeners to be notified in any value
1758
+ * is changed. If the value associated with the `target[name]` is change this is still dynamic and will
1759
+ * cause listeners to be notified.
1760
+ * @param target - The object which has (or will have) the named property
1761
+ * @param name - The name of the property in the target
1762
+ * @returns The referenced properties current value.
1763
+ * @example
1764
+ * ```ts
1765
+ * let localValue = target[name]; // If within a listener this will cause the listener to be called again
1766
+ * target[name] = newValue; // This will notify listeners that accessed target[name]
1767
+ *
1768
+ * // This will not cause lsiteners to be called because propa is not converted and value of target[name]
1769
+ * // did not change.
1770
+ * target[name].propa = 1;
1771
+ * target[name].propb = 2;
1772
+ *
1773
+ * // If within a listener this will caused the listener to be called again only if target[name] is reassigned
1774
+ * // not if the value associated with propa is changed.
1775
+ * let localValue = target[name].propa;
1776
+ * ```
1777
+ */
1778
+ blkVal: <C, V = any>(target: C, name: string) => V;
1722
1779
  }
1723
1780
 
1724
1781
  export declare interface IDynamicPropertyHandler<T> {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.0.2-nightly3.2305-09
2
+ * Microsoft Application Insights Core Javascript SDK, 3.0.2-nightly3.2305-11
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -442,10 +442,17 @@ declare namespace ApplicationInsights {
442
442
  */
443
443
  function blockDynamicConversion<T>(value: T): T;
444
444
 
445
+ /**
446
+ * Helper which returns an IConfigDefaultCheck instance identifying that value associated with this property
447
+ * should not have it's properties converted into a dynamic config properties.
448
+ * @param defaultValue - The default value to apply it not provided or it's not valid
449
+ * @returns a new IConfigDefaultCheck structure
450
+ */
451
+ function cfgDfBlockPropValue<V, T = IConfiguration, C = IConfiguration>(defaultValue: V | IConfigDefaults<V, T>): IConfigDefaultCheck<T, V, C>;
452
+
445
453
  /**
446
454
  * Helper which returns an IConfigDefaultCheck instance that will validate and convert the user
447
455
  * provided value to a boolean from a string or boolean value
448
- * @param validator - The IConfigCheckFn function to validate the user provided value
449
456
  * @param defaultValue - The default value to apply it not provided or it's not valid
450
457
  * @param fallBackName - The fallback configuration name if the current value is not available
451
458
  * @returns a new IConfigDefaultCheck structure
@@ -461,8 +468,8 @@ declare namespace ApplicationInsights {
461
468
  function cfgDfFunc<V, T, C = IConfiguration>(defaultValue?: V): IConfigDefaultCheck<T, V, C>;
462
469
 
463
470
  /**
464
- * Helper which returns an IConfigDefaultCheck instance with the provided field validator
465
- * @param validator - The IConfigCheckFn function to validate the user provided value
471
+ * Helper which returns an IConfigDefaultCheck instance with the field defined as an object
472
+ * that should be merged
466
473
  * @param defaultValue - The default value to apply it not provided or it's not valid
467
474
  * @returns a new IConfigDefaultCheck structure
468
475
  */
@@ -598,6 +605,11 @@ declare namespace ApplicationInsights {
598
605
  * @param message - {_InternalLogMessage} - The log message.
599
606
  */
600
607
  throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
608
+ /**
609
+ * This will write a debug message to the console if possible
610
+ * @param message - {string} - The debug message
611
+ */
612
+ debugToConsole(message: string): void;
601
613
  /**
602
614
  * This will write a warning to the console if possible
603
615
  * @param message - {string} - The warning message
@@ -784,7 +796,12 @@ declare namespace ApplicationInsights {
784
796
  /**
785
797
  * Error will NOT be sent as internal telemetry, and will only be shown in browser console
786
798
  */
787
- WARNING = 2
799
+ WARNING = 2,
800
+ /**
801
+ * The Error will NOT be sent as an internal telemetry, and will only be shown in the browser
802
+ * console if the logging level allows it.
803
+ */
804
+ DEBUG = 3
788
805
  }
789
806
 
790
807
  type EnumValue<E = any> = EnumCls<E>;
@@ -1278,6 +1295,12 @@ declare namespace ApplicationInsights {
1278
1295
  * @returns The referenced properties current value
1279
1296
  */
1280
1297
  rdOnly?: boolean;
1298
+ /**
1299
+ * Block the value associated with this property from having it's properties / values converted into
1300
+ * dynamic properties, this is generally used to block objects or arrays provided by external libraries
1301
+ * which may be a plain object with readonly (non-configurable) or const properties.
1302
+ */
1303
+ blkVal?: boolean;
1281
1304
  }
1282
1305
 
1283
1306
  /**
@@ -1581,6 +1604,11 @@ declare namespace ApplicationInsights {
1581
1604
  * @param message - The log message.
1582
1605
  */
1583
1606
  throwInternal(severity: LoggingSeverity, msgId: _InternalMessageId, msg: string, properties?: Object, isUserAct?: boolean): void;
1607
+ /**
1608
+ * This will write a debug message to the console if possible
1609
+ * @param message - {string} - The debug message
1610
+ */
1611
+ debugToConsole?(message: string): void;
1584
1612
  /**
1585
1613
  * This will write a warning to the console if possible
1586
1614
  * @param message - The warning message
@@ -1703,7 +1731,9 @@ declare namespace ApplicationInsights {
1703
1731
  /**
1704
1732
  * Set this named property of the target as referenced, which will cause any object or array instances
1705
1733
  * to be updated in-place rather than being entirely replaced. All other values will continue to be replaced.
1706
- * @returns The referenced properties current value
1734
+ * @param target - The object which has (or will have) the named property
1735
+ * @param name - The name of the property in the target
1736
+ * @returns The referenced properties current value.
1707
1737
  */
1708
1738
  ref: <C, V = any>(target: C, name: string) => V;
1709
1739
  /**
@@ -1711,9 +1741,36 @@ declare namespace ApplicationInsights {
1711
1741
  * ever being changed for the target instance.
1712
1742
  * This does NOT freeze or seal the instance, it just stops the direct re-assignment of the named property,
1713
1743
  * if the value is a non-primitive (ie. an object or array) it's properties will still be mutable.
1714
- * @returns The referenced properties current value
1744
+ * @param target - The object which has (or will have) the named property
1745
+ * @param name - The name of the property in the target
1746
+ * @returns The referenced properties current value.
1715
1747
  */
1716
1748
  rdOnly: <C, V = any>(target: C, name: string) => V;
1749
+ /**
1750
+ * Set the `value` that is or will be assigned to this named property of the target will not have it's
1751
+ * properties converted into dynamic properties, this means that any changes the values properties will
1752
+ * not be monitored for changes and therefore will not cause any listeners to be notified in any value
1753
+ * is changed. If the value associated with the `target[name]` is change this is still dynamic and will
1754
+ * cause listeners to be notified.
1755
+ * @param target - The object which has (or will have) the named property
1756
+ * @param name - The name of the property in the target
1757
+ * @returns The referenced properties current value.
1758
+ * @example
1759
+ * ```ts
1760
+ * let localValue = target[name]; // If within a listener this will cause the listener to be called again
1761
+ * target[name] = newValue; // This will notify listeners that accessed target[name]
1762
+ *
1763
+ * // This will not cause lsiteners to be called because propa is not converted and value of target[name]
1764
+ * // did not change.
1765
+ * target[name].propa = 1;
1766
+ * target[name].propb = 2;
1767
+ *
1768
+ * // If within a listener this will caused the listener to be called again only if target[name] is reassigned
1769
+ * // not if the value associated with propa is changed.
1770
+ * let localValue = target[name].propa;
1771
+ * ```
1772
+ */
1773
+ blkVal: <C, V = any>(target: C, name: string) => V;
1717
1774
  }
1718
1775
 
1719
1776
  interface IDynamicPropertyHandler<T> {