@microsoft/applicationinsights-core-js 3.1.0-nightly3.2402-09 → 3.1.0-nightly3.2402-12

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 (89) hide show
  1. package/browser/es5/applicationinsights-core-js.cjs.js +1 -1
  2. package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-core-js.cjs.min.js +1 -1
  4. package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-core-js.gbl.js +3 -3
  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 +3 -3
  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 +1 -1
  15. package/dist/es5/applicationinsights-core-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-core-js.min.js +1 -1
  17. package/dist/es5/applicationinsights-core-js.min.js.map +1 -1
  18. package/dist-es5/Config/ConfigDefaultHelpers.js +1 -1
  19. package/dist-es5/Config/ConfigDefaults.js +1 -1
  20. package/dist-es5/Config/DynamicConfig.js +1 -1
  21. package/dist-es5/Config/DynamicProperty.js +1 -1
  22. package/dist-es5/Config/DynamicState.js +1 -1
  23. package/dist-es5/Config/DynamicSupport.js +1 -1
  24. package/dist-es5/Config/IConfigDefaults.js +1 -1
  25. package/dist-es5/Config/IDynamicConfigHandler.js +1 -1
  26. package/dist-es5/Config/IDynamicPropertyHandler.js +1 -1
  27. package/dist-es5/Config/IDynamicWatcher.js +1 -1
  28. package/dist-es5/Config/_IDynamicConfigHandlerState.js +1 -1
  29. package/dist-es5/JavaScriptSDK/AggregationError.js +1 -1
  30. package/dist-es5/JavaScriptSDK/AppInsightsCore.js +1 -1
  31. package/dist-es5/JavaScriptSDK/AsyncUtils.js +1 -1
  32. package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  33. package/dist-es5/JavaScriptSDK/Constants.js +1 -1
  34. package/dist-es5/JavaScriptSDK/CookieMgr.js +1 -1
  35. package/dist-es5/JavaScriptSDK/CoreUtils.js +1 -1
  36. package/dist-es5/JavaScriptSDK/DataCacheHelper.js +1 -1
  37. package/dist-es5/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  38. package/dist-es5/JavaScriptSDK/DiagnosticLogger.js +1 -1
  39. package/dist-es5/JavaScriptSDK/EnvUtils.js +1 -1
  40. package/dist-es5/JavaScriptSDK/EventHelpers.js +1 -1
  41. package/dist-es5/JavaScriptSDK/HelperFuncs.js +1 -1
  42. package/dist-es5/JavaScriptSDK/InstrumentHooks.js +1 -1
  43. package/dist-es5/JavaScriptSDK/InternalConstants.js +1 -1
  44. package/dist-es5/JavaScriptSDK/NotificationManager.js +1 -1
  45. package/dist-es5/JavaScriptSDK/PerfManager.js +1 -1
  46. package/dist-es5/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  47. package/dist-es5/JavaScriptSDK/RandomHelper.js +1 -1
  48. package/dist-es5/JavaScriptSDK/TelemetryHelpers.js +1 -1
  49. package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  50. package/dist-es5/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  51. package/dist-es5/JavaScriptSDK/UnloadHookContainer.js +1 -1
  52. package/dist-es5/JavaScriptSDK/W3cTraceParent.js +1 -1
  53. package/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  54. package/dist-es5/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  55. package/dist-es5/JavaScriptSDK.Enums/FeatureOptInEnums.js +1 -1
  56. package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  57. package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  58. package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  59. package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  60. package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  61. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  62. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +1 -1
  63. package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  64. package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  65. package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  66. package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  67. package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  68. package/dist-es5/JavaScriptSDK.Interfaces/IFeatureOptIn.js +1 -1
  69. package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  70. package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  71. package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  72. package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  73. package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  74. package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  75. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  76. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  77. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  78. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  79. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  80. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  81. package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  82. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
  83. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  84. package/dist-es5/JavaScriptSDK.Interfaces/IXHROverride.js +1 -1
  85. package/dist-es5/__DynamicConstants.js +1 -1
  86. package/dist-es5/applicationinsights-core-js.js +1 -1
  87. package/package.json +3 -3
  88. package/types/applicationinsights-core-js.d.ts +52 -3
  89. package/types/applicationinsights-core-js.namespaced.d.ts +1279 -105
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.1.0-nightly3.2402-09
2
+ * Microsoft Application Insights Core Javascript SDK, 3.1.0-nightly3.2402-12
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
  */
@@ -955,6 +963,7 @@ export declare function getDebugExt(config: IConfiguration): IDbgExtension;
955
963
  export declare function getDebugListener(config: IConfiguration): INotificationListener;
956
964
 
957
965
  export { getDocument }
966
+
958
967
  /**
959
968
  * @internal
960
969
  * Get the dynamic config handler if the value is already dynamic
@@ -975,8 +984,11 @@ export declare function getExceptionName(object: any): string;
975
984
  export declare function getGblPerfMgr(): IPerfManager;
976
985
 
977
986
  export { getGlobal }
987
+
978
988
  export { getGlobalInst }
989
+
979
990
  export { getHistory }
991
+
980
992
  /**
981
993
  * Gets IE version returning the document emulation mode if we are running on IE, or null otherwise
982
994
  */
@@ -1004,7 +1016,9 @@ export declare function getLocation(checkForMock?: boolean): Location | null;
1004
1016
  export declare function getMsCrypto(): Crypto | null;
1005
1017
 
1006
1018
  export { getNavigator }
1019
+
1007
1020
  export { getPerformance }
1021
+
1008
1022
  /**
1009
1023
  * Returns the current value from the target object if not null or undefined otherwise sets the new value and returns it
1010
1024
  * @param target - The target object to return or set the default value
@@ -1014,8 +1028,11 @@ export { getPerformance }
1014
1028
  export declare function getSetValue<T, K extends keyof T>(target: T, field: K, defValue?: T[K]): T[K];
1015
1029
 
1016
1030
  export { getWindow }
1031
+
1017
1032
  export { hasDocument }
1033
+
1018
1034
  export { hasHistory }
1035
+
1019
1036
  /**
1020
1037
  * Checks if JSON object is available, this is required as we support the API running without a
1021
1038
  * window /document (eg. Node server, electron webworkers) and if we attempt to assign a history
@@ -1026,8 +1043,11 @@ export { hasHistory }
1026
1043
  export declare function hasJSON(): boolean;
1027
1044
 
1028
1045
  export { hasNavigator }
1046
+
1029
1047
  export { hasOwnProperty }
1048
+
1030
1049
  export { hasWindow }
1050
+
1031
1051
  export declare interface IAppInsightsCore<CfgType extends IConfiguration = IConfiguration> extends IPerfManagerProvider {
1032
1052
  readonly config: CfgType;
1033
1053
  /**
@@ -2399,6 +2419,7 @@ export declare interface _IRegisteredEvents {
2399
2419
  }
2400
2420
 
2401
2421
  export { isArray }
2422
+
2402
2423
  /**
2403
2424
  * Checks if HTML5 Beacons are supported in the current environment.
2404
2425
  * @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
@@ -2408,8 +2429,11 @@ export { isArray }
2408
2429
  export declare function isBeaconsSupported(useCached?: boolean): boolean;
2409
2430
 
2410
2431
  export { isBoolean }
2432
+
2411
2433
  export { isDate }
2434
+
2412
2435
  export { isError }
2436
+
2413
2437
  export declare function isFeatureEnabled<T extends IConfiguration = IConfiguration>(feature?: string, cfg?: T): boolean;
2414
2438
 
2415
2439
  /**
@@ -2420,6 +2444,7 @@ export declare function isFeatureEnabled<T extends IConfiguration = IConfigurati
2420
2444
  export declare function isFetchSupported(withKeepAlive?: boolean): boolean;
2421
2445
 
2422
2446
  export { isFunction }
2447
+
2423
2448
  /**
2424
2449
  * Identifies whether the current environment appears to be IE
2425
2450
  */
@@ -2428,11 +2453,15 @@ export declare function isIE(): boolean;
2428
2453
  export declare function isNotNullOrUndefined<T>(value: T): value is T;
2429
2454
 
2430
2455
  export { isNotTruthy }
2456
+
2431
2457
  export declare function isNotUndefined<T>(value: T): value is T;
2432
2458
 
2433
2459
  export { isNullOrUndefined }
2460
+
2434
2461
  export { isNumber }
2462
+
2435
2463
  export { isObject }
2464
+
2436
2465
  /**
2437
2466
  * Returns whether the environment is reporting that we are running in a React Native Environment
2438
2467
  */
@@ -2448,10 +2477,15 @@ export declare function isSafari(userAgentStr?: string): boolean;
2448
2477
  export declare function isSampledFlag(value: ITraceParent): boolean;
2449
2478
 
2450
2479
  export { isString }
2480
+
2451
2481
  export { isSymbol }
2482
+
2452
2483
  export { isTruthy }
2484
+
2453
2485
  export { isTypeof }
2486
+
2454
2487
  export { isUndefined }
2488
+
2455
2489
  /**
2456
2490
  * Is the provided W3c span id (aka. parent id) a valid string representation, it must be a 16-character
2457
2491
  * string of lowercase hexadecimal characters, for example, 00f067aa0ba902b7.
@@ -2525,7 +2559,7 @@ export declare interface ITelemetryItem {
2525
2559
  /**
2526
2560
  * System context property extensions that are not global (not in ctx)
2527
2561
  */
2528
- tags?: Tags & Tags[];
2562
+ tags?: Tags;
2529
2563
  /**
2530
2564
  * Custom data
2531
2565
  */
@@ -2851,6 +2885,7 @@ export declare class NotificationManager implements INotificationManager {
2851
2885
  }
2852
2886
 
2853
2887
  export { objDefineAccessors }
2888
+
2854
2889
  /**
2855
2890
  * Pass in the objects to merge as arguments, this will only "merge" (extend) properties that are owned by the object.
2856
2891
  * It will NOT merge inherited or non-enumerable properties.
@@ -2866,10 +2901,15 @@ export declare function objExtend<T2, T3, T4, T5, T6>(deepExtend?: boolean, obj2
2866
2901
  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;
2867
2902
 
2868
2903
  export { objForEachKey }
2904
+
2869
2905
  export { objFreeze }
2906
+
2870
2907
  export { objKeys }
2908
+
2871
2909
  export { objSeal }
2910
+
2872
2911
  export { objToString }
2912
+
2873
2913
  export declare type OnCompleteCallback = (status: number, headers: {
2874
2914
  [headerName: string]: string;
2875
2915
  }, response?: string) => void;
@@ -2977,6 +3017,7 @@ export declare class PerfManager implements IPerfManager {
2977
3017
  }
2978
3018
 
2979
3019
  export { perfNow }
3020
+
2980
3021
  /**
2981
3022
  * This class will be removed!
2982
3023
  * @deprecated use createProcessTelemetryContext() instead
@@ -3255,12 +3296,19 @@ export declare function sortPlugins<T = IPlugin>(plugins: T[]): T[];
3255
3296
  export declare function strContains(value: string, search: string): boolean;
3256
3297
 
3257
3298
  export { strEndsWith }
3299
+
3258
3300
  export { strFunction }
3301
+
3259
3302
  export { strObject }
3303
+
3260
3304
  export { strPrototype }
3305
+
3261
3306
  export { strStartsWith }
3307
+
3262
3308
  export { strTrim }
3309
+
3263
3310
  export { strUndefined }
3311
+
3264
3312
  export declare interface Tags {
3265
3313
  [key: string]: any;
3266
3314
  }
@@ -3319,6 +3367,7 @@ export declare const enum TelemetryUpdateReason {
3319
3367
  export declare function throwAggregationError(message: string, sourceErrors: any[]): never;
3320
3368
 
3321
3369
  export { throwError }
3370
+
3322
3371
  /**
3323
3372
  * This is a helper method which will call throwInternal on the passed logger, will throw exceptions in
3324
3373
  * debug mode or attempt to log the error as a console warning. This helper is provided mostly to better
@@ -3382,4 +3431,4 @@ export declare function _warnToConsole(logger: IDiagnosticLogger, message: strin
3382
3431
 
3383
3432
  export declare type WatcherFunction<T = IConfiguration> = (details: IWatchDetails<T>) => void;
3384
3433
 
3385
- export { }
3434
+ export { }