@microsoft/applicationinsights-core-js 3.0.0-beta.2210-16 → 3.0.0-beta.2210-18

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 (117) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +131 -117
  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.api.json +0 -89
  7. package/dist/applicationinsights-core-js.api.md +6 -6
  8. package/dist/applicationinsights-core-js.d.ts +7 -17
  9. package/dist/applicationinsights-core-js.js +131 -117
  10. package/dist/applicationinsights-core-js.js.map +1 -1
  11. package/dist/applicationinsights-core-js.min.js +2 -2
  12. package/dist/applicationinsights-core-js.min.js.map +1 -1
  13. package/dist/applicationinsights-core-js.rollup.d.ts +7 -17
  14. package/dist-esm/Config/ConfigDefaults.js +2 -3
  15. package/dist-esm/Config/ConfigDefaults.js.map +1 -1
  16. package/dist-esm/Config/DynamicConfig.js +2 -3
  17. package/dist-esm/Config/DynamicConfig.js.map +1 -1
  18. package/dist-esm/Config/DynamicProperty.js +31 -18
  19. package/dist-esm/Config/DynamicProperty.js.map +1 -1
  20. package/dist-esm/Config/DynamicState.js +58 -47
  21. package/dist-esm/Config/DynamicState.js.map +1 -1
  22. package/dist-esm/Config/DynamicSupport.js +2 -3
  23. package/dist-esm/Config/DynamicSupport.js.map +1 -1
  24. package/dist-esm/Config/IConfigDefaults.js +1 -1
  25. package/dist-esm/Config/IDynamicConfigHandler.js +1 -1
  26. package/dist-esm/Config/IDynamicPropertyHandler.js +1 -1
  27. package/dist-esm/Config/IDynamicWatcher.js +1 -1
  28. package/dist-esm/Config/_IDynamicConfigHandlerState.js +1 -1
  29. package/dist-esm/JavaScriptSDK/AggregationError.js +1 -1
  30. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +3 -3
  31. package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  32. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  33. package/dist-esm/JavaScriptSDK/ChannelController.js +5 -7
  34. package/dist-esm/JavaScriptSDK/ChannelController.js.map +1 -1
  35. package/dist-esm/JavaScriptSDK/CookieMgr.js +12 -12
  36. package/dist-esm/JavaScriptSDK/CookieMgr.js.map +1 -1
  37. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -14
  38. package/dist-esm/JavaScriptSDK/CoreUtils.js.map +1 -1
  39. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  40. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  41. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +3 -2
  42. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js.map +1 -1
  43. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  44. package/dist-esm/JavaScriptSDK/EnvUtils.js +4 -12
  45. package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
  46. package/dist-esm/JavaScriptSDK/EventHelpers.js +2 -3
  47. package/dist-esm/JavaScriptSDK/EventHelpers.js.map +1 -1
  48. package/dist-esm/JavaScriptSDK/HelperFuncs.js +3 -41
  49. package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
  50. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  51. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  52. package/dist-esm/JavaScriptSDK/NotificationManager.js +4 -4
  53. package/dist-esm/JavaScriptSDK/NotificationManager.js.map +1 -1
  54. package/dist-esm/JavaScriptSDK/PerfManager.js +4 -5
  55. package/dist-esm/JavaScriptSDK/PerfManager.js.map +1 -1
  56. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +4 -4
  57. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
  58. package/dist-esm/JavaScriptSDK/RandomHelper.js +3 -3
  59. package/dist-esm/JavaScriptSDK/RandomHelper.js.map +1 -1
  60. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  61. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  62. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  63. package/dist-esm/JavaScriptSDK/W3cTraceParent.js +3 -3
  64. package/dist-esm/JavaScriptSDK/W3cTraceParent.js.map +1 -1
  65. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  66. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  67. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  68. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  69. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  70. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  71. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  72. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  73. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  74. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  75. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  76. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  77. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  78. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  79. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  80. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  81. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  82. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  83. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  84. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  85. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  86. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  87. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  88. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  89. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  90. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  91. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
  92. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  93. package/dist-esm/__DynamicConstants.js +4 -6
  94. package/dist-esm/__DynamicConstants.js.map +1 -1
  95. package/dist-esm/applicationinsights-core-js.js +5 -5
  96. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  97. package/package.json +1 -1
  98. package/src/JavaScriptSDK/AppInsightsCore.ts +3 -3
  99. package/src/JavaScriptSDK/ChannelController.ts +5 -7
  100. package/src/JavaScriptSDK/CookieMgr.ts +11 -11
  101. package/src/JavaScriptSDK/CoreUtils.ts +0 -15
  102. package/src/JavaScriptSDK/DbgExtensionUtils.ts +2 -1
  103. package/src/JavaScriptSDK/EnvUtils.ts +2 -11
  104. package/src/JavaScriptSDK/EventHelpers.ts +1 -2
  105. package/src/JavaScriptSDK/HelperFuncs.ts +3 -47
  106. package/src/JavaScriptSDK/NotificationManager.ts +3 -3
  107. package/src/JavaScriptSDK/PerfManager.ts +3 -4
  108. package/src/JavaScriptSDK/ProcessTelemetryContext.ts +6 -4
  109. package/src/JavaScriptSDK/RandomHelper.ts +2 -2
  110. package/src/JavaScriptSDK/W3cTraceParent.ts +2 -2
  111. package/types/Config/IDynamicWatcher.d.ts +5 -1
  112. package/types/Config/_IDynamicConfigHandlerState.d.ts +17 -1
  113. package/types/JavaScriptSDK/CoreUtils.d.ts +0 -5
  114. package/types/JavaScriptSDK/EnvUtils.d.ts +0 -6
  115. package/types/JavaScriptSDK/HelperFuncs.d.ts +0 -18
  116. package/types/__DynamicConstants.d.ts +1 -3
  117. package/types/applicationinsights-core-js.d.ts +4 -4
@@ -2,7 +2,9 @@
2
2
  // Licensed under the MIT License.
3
3
  "use strict";
4
4
 
5
- import { arrForEach, dumpObj, isArray, isFunction, isNullOrUndefined, isUndefined, objFreeze, objKeys } from "@nevware21/ts-utils";
5
+ import {
6
+ arrForEach, dumpObj, isArray, isFunction, isNullOrUndefined, isUndefined, objForEachKey, objFreeze, objKeys
7
+ } from "@nevware21/ts-utils";
6
8
  import { _applyDefaultValue } from "../Config/ConfigDefaults";
7
9
  import { createDynamicConfig } from "../Config/DynamicConfig";
8
10
  import { IConfigDefaults } from "../Config/IConfigDefaults";
@@ -20,8 +22,8 @@ import { ITelemetryPluginChain } from "../JavaScriptSDK.Interfaces/ITelemetryPlu
20
22
  import { ITelemetryUnloadState } from "../JavaScriptSDK.Interfaces/ITelemetryUnloadState";
21
23
  import { ITelemetryUpdateState } from "../JavaScriptSDK.Interfaces/ITelemetryUpdateState";
22
24
  import { _throwInternal, safeGetLogger } from "./DiagnosticLogger";
23
- import { objForEachKey, proxyFunctions } from "./HelperFuncs";
24
- import { STR_CORE, STR_DISABLED, STR_EMPTY } from "./InternalConstants";
25
+ import { proxyFunctions } from "./HelperFuncs";
26
+ import { STR_CORE, STR_DISABLED, STR_EMPTY, STR_EXTENSION_CONFIG } from "./InternalConstants";
25
27
  import { doPerf } from "./PerfManager";
26
28
  import { _getPluginState } from "./TelemetryHelpers";
27
29
 
@@ -161,7 +163,7 @@ function _createInternalContext<T extends IBaseProcessingContext>(telemetryChain
161
163
  }
162
164
 
163
165
  // Always set the value so that it's created as a dynamic config element (if not already)
164
- dynamicHandler.set(cfg, "extensionConfig", extCfg); // Note: it is valid for the "value" to be undefined
166
+ dynamicHandler.set(cfg, STR_EXTENSION_CONFIG, extCfg); // Note: it is valid for the "value" to be undefined
165
167
  extCfg = cfg.extensionConfig;
166
168
 
167
169
  if (extCfg) {
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License.
3
+ import { utcNow } from "@nevware21/ts-utils";
3
4
  import { getCrypto, getMsCrypto, isIE } from "./EnvUtils";
4
- import { dateNow } from "./HelperFuncs";
5
5
  import { STR_EMPTY } from "./InternalConstants";
6
6
 
7
7
  const UInt32Mask = 0x100000000;
@@ -28,7 +28,7 @@ function _autoSeedMwc() {
28
28
  // Simple initialization using default Math.random() - So we inherit any entropy from the browser
29
29
  // and bitwise XOR with the current milliseconds
30
30
  try {
31
- const now = dateNow() & 0x7fffffff;
31
+ const now = utcNow() & 0x7fffffff;
32
32
  _mwcSeed(((Math.random() * UInt32Mask) ^ now) + now);
33
33
  } catch (e) {
34
34
  // Don't crash if something goes wrong
@@ -1,4 +1,4 @@
1
- import { isArray, isString, strTrim } from "@nevware21/ts-utils";
1
+ import { isArray, isString, strLeft, strTrim } from "@nevware21/ts-utils";
2
2
  import { ITraceParent } from "../JavaScriptSDK.Interfaces/ITraceParent";
3
3
  import { generateW3CId } from "./CoreUtils";
4
4
  import { findMetaTag, findNamedServerTiming } from "./EnvUtils";
@@ -54,7 +54,7 @@ export function createTraceParent(traceId?: string, spanId?: string, flags?: num
54
54
  return {
55
55
  version: _isValid(version, 2, INVALID_VERSION) ? version : DEFAULT_VERSION,
56
56
  traceId: isValidTraceId(traceId) ? traceId : generateW3CId(),
57
- spanId: isValidSpanId(spanId) ? spanId : generateW3CId().substr(0, 16),
57
+ spanId: isValidSpanId(spanId) ? spanId : strLeft(generateW3CId(), 16),
58
58
  traceFlags: flags >= 0 && flags <= 0xFF ? flags : 1
59
59
  };
60
60
  }
@@ -35,7 +35,11 @@ export interface _IDynamicDetail<T extends IConfiguration> extends IDynamicPrope
35
35
  /**
36
36
  * Add the watcher for monitoring changes
37
37
  */
38
- add: (handler: IWatcherHandler<T>) => void;
38
+ trk: (handler: IWatcherHandler<T>) => void;
39
+ /**
40
+ * Clear all of the watchers from monitoring changes
41
+ */
42
+ clr: (handler: IWatcherHandler<T>) => void;
39
43
  }
40
44
  export interface IWatcherHandler<T extends IConfiguration> extends IUnloadHook {
41
45
  fn: WatcherFunction<T>;
@@ -1,6 +1,18 @@
1
1
  import { IDynamicConfigHandler } from "./IDynamicConfigHandler";
2
2
  import { IDynamicPropertyHandler } from "./IDynamicPropertyHandler";
3
- import { IWatcherHandler, WatcherFunction } from "./IDynamicWatcher";
3
+ import { IWatcherHandler, WatcherFunction, _IDynamicDetail } from "./IDynamicWatcher";
4
+ /**
5
+ * @internal
6
+ * Interface for internal communication to notifying state changes
7
+ */
8
+ export interface _IDynamicGetter {
9
+ /**
10
+ * Cause any listeners of this property to be notified that the value has changed.
11
+ * Primarily used to ensure that listeners of child properties of an object that is getting replaced
12
+ * will be notified.
13
+ */
14
+ chng: () => void;
15
+ }
4
16
  /**
5
17
  * @internal
6
18
  * Interface for the global dynamic config handler
@@ -28,6 +40,10 @@ export interface _IDynamicConfigHandlerState<T> {
28
40
  * Add this property handler to the collection to be notified
29
41
  */
30
42
  add: (handler: IDynamicPropertyHandler<T>) => void;
43
+ /**
44
+ * Add this handler as a handler for
45
+ */
46
+ trk: (handler: IWatcherHandler<T>, detail: _IDynamicDetail<T>) => void;
31
47
  /**
32
48
  * Use the provided handler to listen for changes
33
49
  */
@@ -1,10 +1,5 @@
1
1
  export declare const Undefined = "undefined";
2
2
  export declare function newGuid(): string;
3
- /**
4
- * Return the current value of the Performance Api now() function (if available) and fallback to dateNow() if it is unavailable (IE9 or less)
5
- * https://caniuse.com/#search=performance.now
6
- */
7
- export declare function perfNow(): number;
8
3
  /**
9
4
  * The strEndsWith() method determines whether a string ends with the characters of a specified string, returning true or false as appropriate.
10
5
  * @param value - The value to check whether it ends with the search value.
@@ -13,12 +13,6 @@ export declare function getLocation(checkForMock?: boolean): Location | null;
13
13
  * Returns the global console object
14
14
  */
15
15
  export declare function getConsole(): Console | null;
16
- /**
17
- * Returns the performance object if it is present otherwise null.
18
- * This helper is used to access the performance object from the current
19
- * global instance which could be window or globalThis for a web worker
20
- */
21
- export declare function getPerformance(): Performance | null;
22
16
  /**
23
17
  * Checks if JSON object is available, this is required as we support the API running without a
24
18
  * window /document (eg. Node server, electron webworkers) and if we attempt to assign a history
@@ -1,4 +1,3 @@
1
- import { objForEachKey as objForEachKey21 } from "@nevware21/ts-utils";
2
1
  export declare let _getObjProto: (o: any) => any;
3
2
  export declare function isNotUndefined<T>(value: T): value is T;
4
3
  export declare function isNotNullOrUndefined<T>(value: T): value is T;
@@ -10,34 +9,17 @@ export declare function isNotNullOrUndefined<T>(value: T): value is T;
10
9
  * @param name - The name to validate
11
10
  */
12
11
  export declare function normalizeJsName(name: string): string;
13
- /**
14
- * This is a helper function for the equivalent of arForEach(objKeys(target), callbackFn), this is a
15
- * performance optimization to avoid the creation of a new array for large objects
16
- * @param target - The target object to find and process the keys
17
- * @param callbackfn - The function to call with the details
18
- */
19
- export declare const objForEachKey: typeof objForEachKey21;
20
12
  /**
21
13
  * A simple wrapper (for minification support) to check if the value contains the search string.
22
14
  * @param value - The string value to check for the existence of the search value
23
15
  * @param search - The value search within the value
24
16
  */
25
17
  export declare function strContains(value: string, search: string): boolean;
26
- /**
27
- * Checks if the type of the value is a normal plain object (not a null or data)
28
- * @param value
29
- */
30
- export declare function isPlainObject(value: any): boolean;
31
18
  /**
32
19
  * Convert a date to I.S.O. format in IE8
33
20
  */
34
21
  export declare function toISOString(date: Date): string;
35
22
  export declare const deepFreeze: <T>(obj: T) => T;
36
- /**
37
- * Return the current time via the Date now() function (if available) and falls back to (new Date()).getTime() if now() is unavailable (IE8 or less)
38
- * https://caniuse.com/#search=Date.now
39
- */
40
- export declare function dateNow(): number;
41
23
  /**
42
24
  * Returns the name of object if it's an Error. Otherwise, returns empty string.
43
25
  */
@@ -7,11 +7,10 @@ export declare const _DYN_LOGGER = "logger";
7
7
  export declare const _DYN_CONFIGURABLE = "configurable";
8
8
  export declare const _DYN_ENUMERABLE = "enumerable";
9
9
  export declare const _DYN_APPLY = "apply";
10
- export declare const _DYN_INDEX_OF = "indexOf";
11
10
  export declare const _DYN_PUSH = "push";
11
+ export declare const _DYN_SPLICE = "splice";
12
12
  export declare const _DYN_INITIALIZE = "initialize";
13
13
  export declare const _DYN_IDENTIFIER = "identifier";
14
- export declare const _DYN_SPLICE = "splice";
15
14
  export declare const _DYN_IS_INITIALIZED = "isInitialized";
16
15
  export declare const _DYN_NAME = "name";
17
16
  export declare const _DYN_TIME = "time";
@@ -38,7 +37,6 @@ export declare const _DYN_GET_NEXT = "getNext";
38
37
  export declare const _DYN_SET_NEXT_PLUGIN = "setNextPlugin";
39
38
  export declare const _DYN_CREATE_NEW = "createNew";
40
39
  export declare const _DYN_CONFIG = "config";
41
- export declare const _DYN_SUBSTRING = "substring";
42
40
  export declare const _DYN_USER_AGENT = "userAgent";
43
41
  export declare const _DYN_SPLIT = "split";
44
42
  export declare const _DYN_NODE_TYPE = "nodeType";
@@ -18,12 +18,12 @@ export { throwAggregationError } from "./JavaScriptSDK/AggregationError";
18
18
  export { AppInsightsCore } from "./JavaScriptSDK/AppInsightsCore";
19
19
  export { BaseTelemetryPlugin } from "./JavaScriptSDK/BaseTelemetryPlugin";
20
20
  export { randomValue, random32, mwcRandomSeed, mwcRandom32, newId } from "./JavaScriptSDK/RandomHelper";
21
- export { Undefined, newGuid, perfNow, generateW3CId } from "./JavaScriptSDK/CoreUtils";
22
- export { normalizeJsName, toISOString, dateNow, getExceptionName, strContains, setValue, getSetValue, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objExtend } from "./JavaScriptSDK/HelperFuncs";
23
- export { 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 } from "@nevware21/ts-utils";
21
+ export { Undefined, newGuid, generateW3CId } from "./JavaScriptSDK/CoreUtils";
22
+ export { normalizeJsName, toISOString, getExceptionName, strContains, setValue, getSetValue, proxyAssign, proxyFunctions, proxyFunctionAs, createClassFromInterface, optimizeObject, isNotUndefined, isNotNullOrUndefined, objExtend } from "./JavaScriptSDK/HelperFuncs";
23
+ export { 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";
24
24
  export { EnumValue, createEnumStyle, createValueMap } from "./JavaScriptSDK.Enums/EnumHelperFuncs";
25
25
  export { attachEvent, detachEvent, addEventHandler, addEventListeners, addPageUnloadEventListener, addPageHideEventListener, addPageShowEventListener, removeEventHandler, removeEventListeners, removePageUnloadEventListener, removePageHideEventListener, removePageShowEventListener, eventOn, eventOff, mergeEvtNamespace, _IRegisteredEvents, __getRegisteredEvents } from "./JavaScriptSDK/EventHelpers";
26
- export { getCrypto, getMsCrypto, getLocation, getPerformance, hasJSON, getJSON, isReactNative, getConsole, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported, findMetaTag, findNamedServerTiming } from "./JavaScriptSDK/EnvUtils";
26
+ export { getCrypto, getMsCrypto, getLocation, hasJSON, getJSON, isReactNative, getConsole, isIE, getIEVersion, isSafari, setEnableEnvMocks, isBeaconsSupported, isFetchSupported, useXDomainRequest, isXhrSupported, findMetaTag, findNamedServerTiming } from "./JavaScriptSDK/EnvUtils";
27
27
  export { getGlobal, objCreateFn as objCreate, strShimPrototype as strPrototype, strShimFunction as strFunction, strShimUndefined as strUndefined, strShimObject as strObject } from "@microsoft/applicationinsights-shims";
28
28
  export { NotificationManager } from "./JavaScriptSDK/NotificationManager";
29
29
  export { INotificationManager } from "./JavaScriptSDK.Interfaces/INotificationManager";