@microsoft/applicationinsights-core-js 3.0.7 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/applicationinsights-core-js.cjs.js +406 -324
- package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.gbl.js +408 -326
- package/browser/es5/applicationinsights-core-js.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.integrity.json +25 -25
- package/browser/es5/applicationinsights-core-js.js +408 -326
- package/browser/es5/applicationinsights-core-js.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.min.js.map +1 -1
- package/dist/es5/applicationinsights-core-js.js +406 -324
- package/dist/es5/applicationinsights-core-js.js.map +1 -1
- package/dist/es5/applicationinsights-core-js.min.js +2 -2
- package/dist/es5/applicationinsights-core-js.min.js.map +1 -1
- package/dist-es5/Config/ConfigDefaultHelpers.js +1 -1
- package/dist-es5/Config/ConfigDefaults.js +1 -1
- package/dist-es5/Config/DynamicConfig.js +2 -1
- package/dist-es5/Config/DynamicConfig.js.map +1 -1
- package/dist-es5/Config/DynamicProperty.js +1 -1
- package/dist-es5/Config/DynamicState.js +1 -1
- package/dist-es5/Config/DynamicSupport.js +1 -1
- package/dist-es5/Config/IConfigDefaults.js +1 -1
- package/dist-es5/Config/IDynamicConfigHandler.js +1 -1
- package/dist-es5/Config/IDynamicPropertyHandler.js +1 -1
- package/dist-es5/Config/IDynamicWatcher.js +1 -1
- package/dist-es5/Config/_IDynamicConfigHandlerState.js +1 -1
- package/dist-es5/JavaScriptSDK/AggregationError.js +1 -1
- package/dist-es5/JavaScriptSDK/AppInsightsCore.js +59 -44
- package/dist-es5/JavaScriptSDK/AppInsightsCore.js.map +1 -1
- package/dist-es5/JavaScriptSDK/AsyncUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js +3 -3
- package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js.map +1 -1
- package/dist-es5/JavaScriptSDK/Constants.js +1 -1
- package/dist-es5/JavaScriptSDK/CookieMgr.js +1 -1
- package/dist-es5/JavaScriptSDK/CoreUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/DataCacheHelper.js +2 -2
- package/dist-es5/JavaScriptSDK/DataCacheHelper.js.map +1 -1
- package/dist-es5/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/DiagnosticLogger.js +1 -1
- package/dist-es5/JavaScriptSDK/EnvUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/EventHelpers.js +1 -1
- package/dist-es5/JavaScriptSDK/HelperFuncs.js +1 -1
- package/dist-es5/JavaScriptSDK/InstrumentHooks.js +1 -1
- package/dist-es5/JavaScriptSDK/InternalConstants.js +1 -1
- package/dist-es5/JavaScriptSDK/NotificationManager.js +38 -18
- package/dist-es5/JavaScriptSDK/NotificationManager.js.map +1 -1
- package/dist-es5/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-es5/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
- package/dist-es5/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-es5/JavaScriptSDK/TelemetryHelpers.js +1 -1
- package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-es5/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-es5/JavaScriptSDK/UnloadHookContainer.js +20 -1
- package/dist-es5/JavaScriptSDK/UnloadHookContainer.js.map +1 -1
- package/dist-es5/JavaScriptSDK/W3cTraceParent.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/FeatureOptInEnums.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IFeatureOptIn.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IXHROverride.js +1 -1
- package/dist-es5/__DynamicConstants.js +9 -9
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-core-js.js +2 -2
- package/dist-es5/applicationinsights-core-js.js.map +1 -1
- package/package.json +78 -75
- package/types/applicationinsights-core-js.d.ts +60 -2
- package/types/applicationinsights-core-js.namespaced.d.ts +1287 -104
|
@@ -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_BLK_VAL = \"blkVal\"; // Count: 5\r\nexport var _DYN_LENGTH = \"length\"; // Count:
|
|
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: 45\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: 8\r\nexport var _DYN_LOGGER = \"logger\"; // Count: 21\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_HDLR = \"hdlr\"; // Count: 6\r\nexport var _DYN_CANCEL = \"cancel\"; // Count: 6\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 4\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 8\r\nexport var _DYN_REMOVE_NOTIFICATION_0 = \"removeNotificationListener\"; // Count: 4\r\nexport var _DYN_ADD_NOTIFICATION_LIS1 = \"addNotificationListener\"; // Count: 4\r\nexport var _DYN_IS_INITIALIZED = \"isInitialized\"; // Count: 10\r\nexport var _DYN_GET_NOTIFY_MGR = \"getNotifyMgr\"; // Count: 5\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_CONT2 = \"getProcessTelContext\"; // Count: 2\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: 6\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
|
+
* Application Insights JavaScript SDK - Core, 3.0.9
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
export { MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
|
|
@@ -29,7 +29,7 @@ export { createCookieMgr, safeGetCookieMgr, uaDisallowsSameSiteNone, areCookiesS
|
|
|
29
29
|
export { getDebugListener, getDebugExt } from "./JavaScriptSDK/DbgExtensionUtils";
|
|
30
30
|
export { createUniqueNamespace } from "./JavaScriptSDK/DataCacheHelper";
|
|
31
31
|
export { createUnloadHandlerContainer } from "./JavaScriptSDK/UnloadHandlerContainer";
|
|
32
|
-
export { createUnloadHookContainer } from "./JavaScriptSDK/UnloadHookContainer";
|
|
32
|
+
export { createUnloadHookContainer, _testHookMaxUnloadHooksCb } 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";
|
|
@@ -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, isFeatureEnabled } 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, sendCustomEvent, dispatchEvent, createCustomDomEvent } 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"}
|
|
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, isFeatureEnabled } 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, sendCustomEvent, dispatchEvent, createCustomDomEvent } 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, _testHookMaxUnloadHooksCb } 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,75 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-core-js",
|
|
3
|
-
"author": "Microsoft Application Insights Team",
|
|
4
|
-
"version": "3.0.
|
|
5
|
-
"description": "Microsoft Application Insights Core Javascript SDK",
|
|
6
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"azure",
|
|
9
|
-
"cloud",
|
|
10
|
-
"script errors",
|
|
11
|
-
"microsoft",
|
|
12
|
-
"application insights",
|
|
13
|
-
"browser performance monitoring",
|
|
14
|
-
"web analytics"
|
|
15
|
-
],
|
|
16
|
-
"main": "dist/es5/applicationinsights-core-js.js",
|
|
17
|
-
"module": "dist-es5/applicationinsights-core-js.js",
|
|
18
|
-
"types": "types/applicationinsights-core-js.d.ts",
|
|
19
|
-
"scripts": {
|
|
20
|
-
"clean": "git clean -xdf",
|
|
21
|
-
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
22
|
-
"build:esm": "grunt core",
|
|
23
|
-
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
24
|
-
"rebuild": "npm run build",
|
|
25
|
-
"test": "grunt coreunittest",
|
|
26
|
-
"mintest": "grunt core-mintest",
|
|
27
|
-
"perftest": "grunt coreperftest",
|
|
28
|
-
"lint": "tslint -p tsconfig.json",
|
|
29
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights Core Javascript SDK\"",
|
|
30
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
31
|
-
"ai-min": "grunt core-min",
|
|
32
|
-
"ai-restore": "grunt core-restore",
|
|
33
|
-
"npm-pack": "npm pack",
|
|
34
|
-
"api-docs": "typedoc"
|
|
35
|
-
},
|
|
36
|
-
"repository": {
|
|
37
|
-
"type": "git",
|
|
38
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/AppInsightsCore"
|
|
39
|
-
},
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"sideEffects": false,
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@microsoft/ai-test-framework": "0.0.1",
|
|
44
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
45
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
46
|
-
"@microsoft/api-extractor": "^7.
|
|
47
|
-
"grunt": "^1.5.3",
|
|
48
|
-
"grunt-cli": "^1.4.3",
|
|
49
|
-
"grunt-contrib-qunit": "^6.2.1",
|
|
50
|
-
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
51
|
-
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
52
|
-
"globby": "^11.0.0",
|
|
53
|
-
"magic-string": "^0.25.7",
|
|
54
|
-
"pako": "^2.0.3",
|
|
55
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
56
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
57
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
58
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
59
|
-
"rollup": "^3.20.0",
|
|
60
|
-
"typedoc": "^0.24.8",
|
|
61
|
-
"typescript": "^4.9.3",
|
|
62
|
-
"tslib": "^2.0.0",
|
|
63
|
-
"qunit": "^2.11.2",
|
|
64
|
-
"sinon": "^7.3.1"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"tslib": "*"
|
|
68
|
-
},
|
|
69
|
-
"dependencies": {
|
|
70
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
71
|
-
"@microsoft/dynamicproto-js": "^2.0.
|
|
72
|
-
"@nevware21/ts-utils": ">= 0.
|
|
73
|
-
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
|
|
74
|
-
}
|
|
75
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-core-js",
|
|
3
|
+
"author": "Microsoft Application Insights Team",
|
|
4
|
+
"version": "3.0.9",
|
|
5
|
+
"description": "Microsoft Application Insights Core Javascript SDK",
|
|
6
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"azure",
|
|
9
|
+
"cloud",
|
|
10
|
+
"script errors",
|
|
11
|
+
"microsoft",
|
|
12
|
+
"application insights",
|
|
13
|
+
"browser performance monitoring",
|
|
14
|
+
"web analytics"
|
|
15
|
+
],
|
|
16
|
+
"main": "dist/es5/applicationinsights-core-js.js",
|
|
17
|
+
"module": "dist-es5/applicationinsights-core-js.js",
|
|
18
|
+
"types": "types/applicationinsights-core-js.d.ts",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "git clean -xdf",
|
|
21
|
+
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
22
|
+
"build:esm": "grunt core",
|
|
23
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
24
|
+
"rebuild": "npm run build",
|
|
25
|
+
"test": "grunt coreunittest",
|
|
26
|
+
"mintest": "grunt core-mintest",
|
|
27
|
+
"perftest": "grunt coreperftest",
|
|
28
|
+
"lint": "tslint -p tsconfig.json",
|
|
29
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights Core Javascript SDK\"",
|
|
30
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
31
|
+
"ai-min": "grunt core-min",
|
|
32
|
+
"ai-restore": "grunt core-restore",
|
|
33
|
+
"npm-pack": "npm pack",
|
|
34
|
+
"api-docs": "typedoc"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/AppInsightsCore"
|
|
39
|
+
},
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"sideEffects": false,
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
44
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
45
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
46
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
47
|
+
"grunt": "^1.5.3",
|
|
48
|
+
"grunt-cli": "^1.4.3",
|
|
49
|
+
"grunt-contrib-qunit": "^6.2.1",
|
|
50
|
+
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
51
|
+
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
52
|
+
"globby": "^11.0.0",
|
|
53
|
+
"magic-string": "^0.25.7",
|
|
54
|
+
"pako": "^2.0.3",
|
|
55
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
56
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
57
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
58
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
59
|
+
"rollup": "^3.20.0",
|
|
60
|
+
"typedoc": "^0.24.8",
|
|
61
|
+
"typescript": "^4.9.3",
|
|
62
|
+
"tslib": "^2.0.0",
|
|
63
|
+
"qunit": "^2.11.2",
|
|
64
|
+
"sinon": "^7.3.1"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"tslib": "*"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
71
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
72
|
+
"@nevware21/ts-utils": ">= 0.11.0 < 2.x",
|
|
73
|
+
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
|
|
74
|
+
},
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"tag": "release3"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Core Javascript SDK, 3.0.
|
|
2
|
+
* Microsoft Application Insights Core Javascript SDK, 3.0.9
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -290,10 +290,15 @@ export declare class AppInsightsCore<CfgType extends IConfiguration = IConfigura
|
|
|
290
290
|
export declare function areCookiesSupported(logger?: IDiagnosticLogger): any;
|
|
291
291
|
|
|
292
292
|
export { arrForEach }
|
|
293
|
+
|
|
293
294
|
export { arrIndexOf }
|
|
295
|
+
|
|
294
296
|
export { arrMap }
|
|
297
|
+
|
|
295
298
|
export { arrReduce }
|
|
299
|
+
|
|
296
300
|
export { asString }
|
|
301
|
+
|
|
297
302
|
/**
|
|
298
303
|
* Binds the specified function to an event, so that the function gets called whenever the event fires on the object
|
|
299
304
|
* @param obj - Object to add the event too.
|
|
@@ -600,7 +605,9 @@ export declare const createValueMap: <E, V = E>(values: {
|
|
|
600
605
|
}) => V;
|
|
601
606
|
|
|
602
607
|
export { dateNow }
|
|
608
|
+
|
|
603
609
|
export { deepFreeze }
|
|
610
|
+
|
|
604
611
|
/**
|
|
605
612
|
* Removes an event handler for the specified event
|
|
606
613
|
* @param Object - to remove the event from
|
|
@@ -695,6 +702,7 @@ export declare function doUnloadAll<T>(targets: Array<{
|
|
|
695
702
|
}>, isAsync?: boolean, done?: () => void): void | IPromise<void>;
|
|
696
703
|
|
|
697
704
|
export { dumpObj }
|
|
705
|
+
|
|
698
706
|
/**
|
|
699
707
|
* The eEventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
|
|
700
708
|
*/
|
|
@@ -774,6 +782,7 @@ export declare const enum _eInternalMessageId {
|
|
|
774
782
|
InvalidDurationValue = 45,
|
|
775
783
|
TelemetryEnvelopeInvalid = 46,
|
|
776
784
|
CreateEnvelopeError = 47,
|
|
785
|
+
MaxUnloadHookExceeded = 48,
|
|
777
786
|
CannotSerializeObject = 48,
|
|
778
787
|
CannotSerializeObjectNonSerializable = 49,
|
|
779
788
|
CircularReferenceDetected = 50,
|
|
@@ -955,6 +964,7 @@ export declare function getDebugExt(config: IConfiguration): IDbgExtension;
|
|
|
955
964
|
export declare function getDebugListener(config: IConfiguration): INotificationListener;
|
|
956
965
|
|
|
957
966
|
export { getDocument }
|
|
967
|
+
|
|
958
968
|
/**
|
|
959
969
|
* @internal
|
|
960
970
|
* Get the dynamic config handler if the value is already dynamic
|
|
@@ -975,8 +985,11 @@ export declare function getExceptionName(object: any): string;
|
|
|
975
985
|
export declare function getGblPerfMgr(): IPerfManager;
|
|
976
986
|
|
|
977
987
|
export { getGlobal }
|
|
988
|
+
|
|
978
989
|
export { getGlobalInst }
|
|
990
|
+
|
|
979
991
|
export { getHistory }
|
|
992
|
+
|
|
980
993
|
/**
|
|
981
994
|
* Gets IE version returning the document emulation mode if we are running on IE, or null otherwise
|
|
982
995
|
*/
|
|
@@ -1004,7 +1017,9 @@ export declare function getLocation(checkForMock?: boolean): Location | null;
|
|
|
1004
1017
|
export declare function getMsCrypto(): Crypto | null;
|
|
1005
1018
|
|
|
1006
1019
|
export { getNavigator }
|
|
1020
|
+
|
|
1007
1021
|
export { getPerformance }
|
|
1022
|
+
|
|
1008
1023
|
/**
|
|
1009
1024
|
* Returns the current value from the target object if not null or undefined otherwise sets the new value and returns it
|
|
1010
1025
|
* @param target - The target object to return or set the default value
|
|
@@ -1014,8 +1029,11 @@ export { getPerformance }
|
|
|
1014
1029
|
export declare function getSetValue<T, K extends keyof T>(target: T, field: K, defValue?: T[K]): T[K];
|
|
1015
1030
|
|
|
1016
1031
|
export { getWindow }
|
|
1032
|
+
|
|
1017
1033
|
export { hasDocument }
|
|
1034
|
+
|
|
1018
1035
|
export { hasHistory }
|
|
1036
|
+
|
|
1019
1037
|
/**
|
|
1020
1038
|
* Checks if JSON object is available, this is required as we support the API running without a
|
|
1021
1039
|
* window /document (eg. Node server, electron webworkers) and if we attempt to assign a history
|
|
@@ -1026,8 +1044,11 @@ export { hasHistory }
|
|
|
1026
1044
|
export declare function hasJSON(): boolean;
|
|
1027
1045
|
|
|
1028
1046
|
export { hasNavigator }
|
|
1047
|
+
|
|
1029
1048
|
export { hasOwnProperty }
|
|
1049
|
+
|
|
1030
1050
|
export { hasWindow }
|
|
1051
|
+
|
|
1031
1052
|
export declare interface IAppInsightsCore<CfgType extends IConfiguration = IConfiguration> extends IPerfManagerProvider {
|
|
1032
1053
|
readonly config: CfgType;
|
|
1033
1054
|
/**
|
|
@@ -2358,6 +2379,7 @@ export declare interface _IRegisteredEvents {
|
|
|
2358
2379
|
}
|
|
2359
2380
|
|
|
2360
2381
|
export { isArray }
|
|
2382
|
+
|
|
2361
2383
|
/**
|
|
2362
2384
|
* Checks if HTML5 Beacons are supported in the current environment.
|
|
2363
2385
|
* @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
|
|
@@ -2367,8 +2389,11 @@ export { isArray }
|
|
|
2367
2389
|
export declare function isBeaconsSupported(useCached?: boolean): boolean;
|
|
2368
2390
|
|
|
2369
2391
|
export { isBoolean }
|
|
2392
|
+
|
|
2370
2393
|
export { isDate }
|
|
2394
|
+
|
|
2371
2395
|
export { isError }
|
|
2396
|
+
|
|
2372
2397
|
export declare function isFeatureEnabled<T extends IConfiguration = IConfiguration>(feature?: string, cfg?: T): boolean;
|
|
2373
2398
|
|
|
2374
2399
|
/**
|
|
@@ -2379,6 +2404,7 @@ export declare function isFeatureEnabled<T extends IConfiguration = IConfigurati
|
|
|
2379
2404
|
export declare function isFetchSupported(withKeepAlive?: boolean): boolean;
|
|
2380
2405
|
|
|
2381
2406
|
export { isFunction }
|
|
2407
|
+
|
|
2382
2408
|
/**
|
|
2383
2409
|
* Identifies whether the current environment appears to be IE
|
|
2384
2410
|
*/
|
|
@@ -2387,11 +2413,15 @@ export declare function isIE(): boolean;
|
|
|
2387
2413
|
export declare function isNotNullOrUndefined<T>(value: T): value is T;
|
|
2388
2414
|
|
|
2389
2415
|
export { isNotTruthy }
|
|
2416
|
+
|
|
2390
2417
|
export declare function isNotUndefined<T>(value: T): value is T;
|
|
2391
2418
|
|
|
2392
2419
|
export { isNullOrUndefined }
|
|
2420
|
+
|
|
2393
2421
|
export { isNumber }
|
|
2422
|
+
|
|
2394
2423
|
export { isObject }
|
|
2424
|
+
|
|
2395
2425
|
/**
|
|
2396
2426
|
* Returns whether the environment is reporting that we are running in a React Native Environment
|
|
2397
2427
|
*/
|
|
@@ -2407,10 +2437,15 @@ export declare function isSafari(userAgentStr?: string): boolean;
|
|
|
2407
2437
|
export declare function isSampledFlag(value: ITraceParent): boolean;
|
|
2408
2438
|
|
|
2409
2439
|
export { isString }
|
|
2440
|
+
|
|
2410
2441
|
export { isSymbol }
|
|
2442
|
+
|
|
2411
2443
|
export { isTruthy }
|
|
2444
|
+
|
|
2412
2445
|
export { isTypeof }
|
|
2446
|
+
|
|
2413
2447
|
export { isUndefined }
|
|
2448
|
+
|
|
2414
2449
|
/**
|
|
2415
2450
|
* Is the provided W3c span id (aka. parent id) a valid string representation, it must be a 16-character
|
|
2416
2451
|
* string of lowercase hexadecimal characters, for example, 00f067aa0ba902b7.
|
|
@@ -2810,6 +2845,7 @@ export declare class NotificationManager implements INotificationManager {
|
|
|
2810
2845
|
}
|
|
2811
2846
|
|
|
2812
2847
|
export { objDefineAccessors }
|
|
2848
|
+
|
|
2813
2849
|
/**
|
|
2814
2850
|
* Pass in the objects to merge as arguments, this will only "merge" (extend) properties that are owned by the object.
|
|
2815
2851
|
* It will NOT merge inherited or non-enumerable properties.
|
|
@@ -2825,10 +2861,15 @@ export declare function objExtend<T2, T3, T4, T5, T6>(deepExtend?: boolean, obj2
|
|
|
2825
2861
|
export declare function objExtend<T1, T2, T3, T4, T5, T6>(obj1?: T1, obj2?: T2, obj3?: T3, obj4?: T4, obj5?: T5, obj6?: T6): T1 & T2 & T3 & T4 & T5 & T6;
|
|
2826
2862
|
|
|
2827
2863
|
export { objForEachKey }
|
|
2864
|
+
|
|
2828
2865
|
export { objFreeze }
|
|
2866
|
+
|
|
2829
2867
|
export { objKeys }
|
|
2868
|
+
|
|
2830
2869
|
export { objSeal }
|
|
2870
|
+
|
|
2831
2871
|
export { objToString }
|
|
2872
|
+
|
|
2832
2873
|
export declare type OnCompleteCallback = (status: number, headers: {
|
|
2833
2874
|
[headerName: string]: string;
|
|
2834
2875
|
}, response?: string) => void;
|
|
@@ -2936,6 +2977,7 @@ export declare class PerfManager implements IPerfManager {
|
|
|
2936
2977
|
}
|
|
2937
2978
|
|
|
2938
2979
|
export { perfNow }
|
|
2980
|
+
|
|
2939
2981
|
/**
|
|
2940
2982
|
* This class will be removed!
|
|
2941
2983
|
* @deprecated use createProcessTelemetryContext() instead
|
|
@@ -3214,12 +3256,19 @@ export declare function sortPlugins<T = IPlugin>(plugins: T[]): T[];
|
|
|
3214
3256
|
export declare function strContains(value: string, search: string): boolean;
|
|
3215
3257
|
|
|
3216
3258
|
export { strEndsWith }
|
|
3259
|
+
|
|
3217
3260
|
export { strFunction }
|
|
3261
|
+
|
|
3218
3262
|
export { strObject }
|
|
3263
|
+
|
|
3219
3264
|
export { strPrototype }
|
|
3265
|
+
|
|
3220
3266
|
export { strStartsWith }
|
|
3267
|
+
|
|
3221
3268
|
export { strTrim }
|
|
3269
|
+
|
|
3222
3270
|
export { strUndefined }
|
|
3271
|
+
|
|
3223
3272
|
export declare interface Tags {
|
|
3224
3273
|
[key: string]: any;
|
|
3225
3274
|
}
|
|
@@ -3270,6 +3319,14 @@ export declare const enum TelemetryUpdateReason {
|
|
|
3270
3319
|
PluginRemoved = 32
|
|
3271
3320
|
}
|
|
3272
3321
|
|
|
3322
|
+
/**
|
|
3323
|
+
* Test hook for setting the maximum number of unload hooks and calling a monitor function when the hooks are added or removed
|
|
3324
|
+
* This allows for automatic test failure when the maximum number of unload hooks is exceeded
|
|
3325
|
+
* @param maxHooks - The maximum number of unload hooks
|
|
3326
|
+
* @param addMonitor - The monitor function to call when hooks are added or removed
|
|
3327
|
+
*/
|
|
3328
|
+
export declare function _testHookMaxUnloadHooksCb(maxHooks?: number, addMonitor?: (state: string, hooks: Array<ILegacyUnloadHook | IUnloadHook>) => void): void;
|
|
3329
|
+
|
|
3273
3330
|
/**
|
|
3274
3331
|
* Throws an Aggregation Error which includes all of the errors that led to this error occurring
|
|
3275
3332
|
* @param message - The message describing the aggregation error (the sourceError details are added to this)
|
|
@@ -3278,6 +3335,7 @@ export declare const enum TelemetryUpdateReason {
|
|
|
3278
3335
|
export declare function throwAggregationError(message: string, sourceErrors: any[]): never;
|
|
3279
3336
|
|
|
3280
3337
|
export { throwError }
|
|
3338
|
+
|
|
3281
3339
|
/**
|
|
3282
3340
|
* This is a helper method which will call throwInternal on the passed logger, will throw exceptions in
|
|
3283
3341
|
* debug mode or attempt to log the error as a console warning. This helper is provided mostly to better
|
|
@@ -3341,4 +3399,4 @@ export declare function _warnToConsole(logger: IDiagnosticLogger, message: strin
|
|
|
3341
3399
|
|
|
3342
3400
|
export declare type WatcherFunction<T = IConfiguration> = (details: IWatchDetails<T>) => void;
|
|
3343
3401
|
|
|
3344
|
-
export { }
|
|
3402
|
+
export { }
|