@microsoft/applicationinsights-core-js 2.8.0-nightly.2204-04 → 2.8.0-nightly.2204-07

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 (85) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +313 -277
  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 +731 -36
  7. package/dist/applicationinsights-core-js.api.md +49 -98
  8. package/dist/applicationinsights-core-js.d.ts +96 -116
  9. package/dist/applicationinsights-core-js.js +313 -277
  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 +96 -116
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +3 -5
  15. package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  16. package/dist-esm/JavaScriptSDK/BaseCore.js +3 -3
  17. package/dist-esm/JavaScriptSDK/BaseCore.js.map +1 -1
  18. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  19. package/dist-esm/JavaScriptSDK/ChannelController.js +1 -1
  20. package/dist-esm/JavaScriptSDK/Constants.js +1 -1
  21. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  22. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  23. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  24. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  25. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  26. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +21 -1
  27. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js.map +1 -1
  28. package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
  29. package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
  30. package/dist-esm/JavaScriptSDK/HelperFuncs.js +12 -21
  31. package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
  32. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  33. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  34. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  35. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  36. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  37. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  38. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  39. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  40. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  41. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +51 -0
  42. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js.map +1 -0
  43. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +10 -9
  44. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js.map +1 -1
  45. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +2 -2
  46. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js.map +1 -1
  47. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  49. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  50. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  65. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  66. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  67. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  68. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  69. package/dist-esm/applicationinsights-core-js.js +4 -3
  70. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  71. package/package.json +1 -1
  72. package/src/JavaScriptSDK/AppInsightsCore.ts +3 -5
  73. package/src/JavaScriptSDK/BaseCore.ts +2 -2
  74. package/src/JavaScriptSDK/DataCacheHelper.ts +1 -1
  75. package/src/JavaScriptSDK/DiagnosticLogger.ts +22 -0
  76. package/src/JavaScriptSDK/HelperFuncs.ts +13 -22
  77. package/src/JavaScriptSDK.Enums/EnumHelperFuncs.ts +56 -0
  78. package/src/JavaScriptSDK.Enums/EventsDiscardedReason.ts +48 -8
  79. package/src/JavaScriptSDK.Enums/LoggingEnums.ts +3 -4
  80. package/types/JavaScriptSDK/DiagnosticLogger.d.ts +13 -0
  81. package/types/JavaScriptSDK/HelperFuncs.d.ts +10 -6
  82. package/types/JavaScriptSDK.Enums/EnumHelperFuncs.d.ts +34 -0
  83. package/types/JavaScriptSDK.Enums/EventsDiscardedReason.d.ts +14 -9
  84. package/types/JavaScriptSDK.Enums/LoggingEnums.d.ts +2 -88
  85. package/types/applicationinsights-core-js.d.ts +4 -3
@@ -2207,14 +2207,32 @@
2207
2207
  },
2208
2208
  {
2209
2209
  "kind": "Content",
2210
- "text": "{\n BrowserDoesNotSupportLocalStorage: number;\n BrowserCannotReadLocalStorage: number;\n BrowserCannotReadSessionStorage: number;\n BrowserCannotWriteLocalStorage: number;\n BrowserCannotWriteSessionStorage: number;\n BrowserFailedRemovalFromLocalStorage: number;\n BrowserFailedRemovalFromSessionStorage: number;\n CannotSendEmptyTelemetry: number;\n ClientPerformanceMathError: number;\n ErrorParsingAISessionCookie: number;\n ErrorPVCalc: number;\n ExceptionWhileLoggingError: number;\n FailedAddingTelemetryToBuffer: number;\n FailedMonitorAjaxAbort: number;\n FailedMonitorAjaxDur: number;\n FailedMonitorAjaxOpen: number;\n FailedMonitorAjaxRSC: number;\n FailedMonitorAjaxSend: number;\n FailedMonitorAjaxGetCorrelationHeader: number;\n FailedToAddHandlerForOnBeforeUnload: number;\n FailedToSendQueuedTelemetry: number;\n FailedToReportDataLoss: number;\n FlushFailed: number;\n MessageLimitPerPVExceeded: number;\n MissingRequiredFieldSpecification: number;\n NavigationTimingNotSupported: number;\n OnError: number;\n SessionRenewalDateIsZero: number;\n SenderNotInitialized: number;\n StartTrackEventFailed: number;\n StopTrackEventFailed: number;\n StartTrackFailed: number;\n StopTrackFailed: number;\n TelemetrySampledAndNotSent: number;\n TrackEventFailed: number;\n TrackExceptionFailed: number;\n TrackMetricFailed: number;\n TrackPVFailed: number;\n TrackPVFailedCalc: number;\n TrackTraceFailed: number;\n TransmissionFailed: number;\n FailedToSetStorageBuffer: number;\n FailedToRestoreStorageBuffer: number;\n InvalidBackendResponse: number;\n FailedToFixDepricatedValues: number;\n InvalidDurationValue: number;\n TelemetryEnvelopeInvalid: number;\n CreateEnvelopeError: number;\n CannotSerializeObject: number;\n CannotSerializeObjectNonSerializable: number;\n CircularReferenceDetected: number;\n ClearAuthContextFailed: number;\n ExceptionTruncated: number;\n IllegalCharsInName: number;\n ItemNotInArray: number;\n MaxAjaxPerPVExceeded: number;\n MessageTruncated: number;\n NameTooLong: number;\n SampleRateOutOfRange: number;\n SetAuthContextFailed: number;\n SetAuthContextFailedAccountName: number;\n StringValueTooLong: number;\n StartCalledMoreThanOnce: number;\n StopCalledWithoutStart: number;\n TelemetryInitializerFailed: number;\n TrackArgumentsNotSpecified: number;\n UrlTooLong: number;\n SessionStorageBufferFull: number;\n CannotAccessCookie: number;\n IdTooLong: number;\n InvalidEvent: number;\n FailedMonitorAjaxSetRequestHeader: number;\n SendBrowserInfoOnUserInit: number;\n PluginException: number;\n NotificationException: number;\n SnippetScriptLoadFailure: number;\n InvalidInstrumentationKey: number;\n CannotParseAiBlobValue: number;\n InvalidContentBlob: number;\n TrackPageActionEventFailed: number;\n FailedAddingCustomDefinedRequestContext: number;\n InMemoryStorageBufferFull: number;\n}"
2210
+ "text": "import(\"../JavaScriptSDK.Enums/EnumHelperFuncs\")."
2211
+ },
2212
+ {
2213
+ "kind": "Reference",
2214
+ "text": "EnumValue",
2215
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type"
2216
+ },
2217
+ {
2218
+ "kind": "Content",
2219
+ "text": "<typeof "
2220
+ },
2221
+ {
2222
+ "kind": "Reference",
2223
+ "text": "_eInternalMessageId",
2224
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_eInternalMessageId:enum"
2225
+ },
2226
+ {
2227
+ "kind": "Content",
2228
+ "text": ">"
2211
2229
  }
2212
2230
  ],
2213
2231
  "releaseTag": "Public",
2214
2232
  "name": "_InternalMessageId",
2215
2233
  "variableTypeTokenRange": {
2216
2234
  "startIndex": 1,
2217
- "endIndex": 2
2235
+ "endIndex": 6
2218
2236
  }
2219
2237
  },
2220
2238
  {
@@ -2348,6 +2366,85 @@
2348
2366
  ],
2349
2367
  "name": "_legacyCookieMgr"
2350
2368
  },
2369
+ {
2370
+ "kind": "Function",
2371
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_logInternalMessage:function(1)",
2372
+ "docComment": "/**\n * Logs a message to the internal queue.\n *\n * @param logger - The Diagnostic Logger instance to use.\n *\n * @param severity - The severity of the log message\n *\n * @param message - The message to log.\n */\n",
2373
+ "excerptTokens": [
2374
+ {
2375
+ "kind": "Content",
2376
+ "text": "export declare function _logInternalMessage(logger: "
2377
+ },
2378
+ {
2379
+ "kind": "Reference",
2380
+ "text": "IDiagnosticLogger",
2381
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface"
2382
+ },
2383
+ {
2384
+ "kind": "Content",
2385
+ "text": ", severity: "
2386
+ },
2387
+ {
2388
+ "kind": "Reference",
2389
+ "text": "LoggingSeverity",
2390
+ "canonicalReference": "@microsoft/applicationinsights-core-js!LoggingSeverity:type"
2391
+ },
2392
+ {
2393
+ "kind": "Content",
2394
+ "text": ", message: "
2395
+ },
2396
+ {
2397
+ "kind": "Reference",
2398
+ "text": "_InternalLogMessage",
2399
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_InternalLogMessage:class"
2400
+ },
2401
+ {
2402
+ "kind": "Content",
2403
+ "text": "): "
2404
+ },
2405
+ {
2406
+ "kind": "Content",
2407
+ "text": "void"
2408
+ },
2409
+ {
2410
+ "kind": "Content",
2411
+ "text": ";"
2412
+ }
2413
+ ],
2414
+ "returnTypeTokenRange": {
2415
+ "startIndex": 7,
2416
+ "endIndex": 8
2417
+ },
2418
+ "releaseTag": "Public",
2419
+ "overloadIndex": 1,
2420
+ "parameters": [
2421
+ {
2422
+ "parameterName": "logger",
2423
+ "parameterTypeTokenRange": {
2424
+ "startIndex": 1,
2425
+ "endIndex": 2
2426
+ },
2427
+ "isOptional": false
2428
+ },
2429
+ {
2430
+ "parameterName": "severity",
2431
+ "parameterTypeTokenRange": {
2432
+ "startIndex": 3,
2433
+ "endIndex": 4
2434
+ },
2435
+ "isOptional": false
2436
+ },
2437
+ {
2438
+ "parameterName": "message",
2439
+ "parameterTypeTokenRange": {
2440
+ "startIndex": 5,
2441
+ "endIndex": 6
2442
+ },
2443
+ "isOptional": false
2444
+ }
2445
+ ],
2446
+ "name": "_logInternalMessage"
2447
+ },
2351
2448
  {
2352
2449
  "kind": "Function",
2353
2450
  "canonicalReference": "@microsoft/applicationinsights-core-js!_throwInternal:function(1)",
@@ -2476,6 +2573,67 @@
2476
2573
  ],
2477
2574
  "name": "_throwInternal"
2478
2575
  },
2576
+ {
2577
+ "kind": "Function",
2578
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_warnToConsole:function(1)",
2579
+ "docComment": "/**\n * This is a helper method which will call warnToConsole on the passed logger with the provided message.\n *\n * @param logger - The Diagnostic Logger instance to use.\n *\n * @param message - The log message.\n */\n",
2580
+ "excerptTokens": [
2581
+ {
2582
+ "kind": "Content",
2583
+ "text": "export declare function _warnToConsole(logger: "
2584
+ },
2585
+ {
2586
+ "kind": "Reference",
2587
+ "text": "IDiagnosticLogger",
2588
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface"
2589
+ },
2590
+ {
2591
+ "kind": "Content",
2592
+ "text": ", message: "
2593
+ },
2594
+ {
2595
+ "kind": "Content",
2596
+ "text": "string"
2597
+ },
2598
+ {
2599
+ "kind": "Content",
2600
+ "text": "): "
2601
+ },
2602
+ {
2603
+ "kind": "Content",
2604
+ "text": "void"
2605
+ },
2606
+ {
2607
+ "kind": "Content",
2608
+ "text": ";"
2609
+ }
2610
+ ],
2611
+ "returnTypeTokenRange": {
2612
+ "startIndex": 5,
2613
+ "endIndex": 6
2614
+ },
2615
+ "releaseTag": "Public",
2616
+ "overloadIndex": 1,
2617
+ "parameters": [
2618
+ {
2619
+ "parameterName": "logger",
2620
+ "parameterTypeTokenRange": {
2621
+ "startIndex": 1,
2622
+ "endIndex": 2
2623
+ },
2624
+ "isOptional": false
2625
+ },
2626
+ {
2627
+ "parameterName": "message",
2628
+ "parameterTypeTokenRange": {
2629
+ "startIndex": 3,
2630
+ "endIndex": 4
2631
+ },
2632
+ "isOptional": false
2633
+ }
2634
+ ],
2635
+ "name": "_warnToConsole"
2636
+ },
2479
2637
  {
2480
2638
  "kind": "Function",
2481
2639
  "canonicalReference": "@microsoft/applicationinsights-core-js!addEventHandler:function(1)",
@@ -6046,6 +6204,87 @@
6046
6204
  ],
6047
6205
  "name": "createCookieMgr"
6048
6206
  },
6207
+ {
6208
+ "kind": "Function",
6209
+ "canonicalReference": "@microsoft/applicationinsights-core-js!createEnumMap:function(1)",
6210
+ "docComment": "/**\n * Create a 2 index map that maps an enum's key as both the key and value, X[\"key\"] => \"key\" and X[0] => \"keyof 0\".\n *\n * @param values - The values to populate on the new object\n *\n * @returns \n */\n",
6211
+ "excerptTokens": [
6212
+ {
6213
+ "kind": "Content",
6214
+ "text": "export declare function createEnumMap<E, I = "
6215
+ },
6216
+ {
6217
+ "kind": "Content",
6218
+ "text": "keyof E"
6219
+ },
6220
+ {
6221
+ "kind": "Content",
6222
+ "text": ">(values: "
6223
+ },
6224
+ {
6225
+ "kind": "Content",
6226
+ "text": "{\n [key in keyof E]: E[keyof E];\n}"
6227
+ },
6228
+ {
6229
+ "kind": "Content",
6230
+ "text": "): "
6231
+ },
6232
+ {
6233
+ "kind": "Reference",
6234
+ "text": "EnumMap",
6235
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumMap:type"
6236
+ },
6237
+ {
6238
+ "kind": "Content",
6239
+ "text": "<E, I>"
6240
+ },
6241
+ {
6242
+ "kind": "Content",
6243
+ "text": ";"
6244
+ }
6245
+ ],
6246
+ "returnTypeTokenRange": {
6247
+ "startIndex": 5,
6248
+ "endIndex": 7
6249
+ },
6250
+ "releaseTag": "Public",
6251
+ "overloadIndex": 1,
6252
+ "parameters": [
6253
+ {
6254
+ "parameterName": "values",
6255
+ "parameterTypeTokenRange": {
6256
+ "startIndex": 3,
6257
+ "endIndex": 4
6258
+ },
6259
+ "isOptional": false
6260
+ }
6261
+ ],
6262
+ "typeParameters": [
6263
+ {
6264
+ "typeParameterName": "E",
6265
+ "constraintTokenRange": {
6266
+ "startIndex": 0,
6267
+ "endIndex": 0
6268
+ },
6269
+ "defaultTypeTokenRange": {
6270
+ "startIndex": 0,
6271
+ "endIndex": 0
6272
+ }
6273
+ },
6274
+ {
6275
+ "typeParameterName": "I",
6276
+ "constraintTokenRange": {
6277
+ "startIndex": 0,
6278
+ "endIndex": 0
6279
+ },
6280
+ "defaultTypeTokenRange": {
6281
+ "startIndex": 1,
6282
+ "endIndex": 2
6283
+ }
6284
+ }
6285
+ ],
6286
+ "name": "createEnumMap"
6287
+ },
6049
6288
  {
6050
6289
  "kind": "Function",
6051
6290
  "canonicalReference": "@microsoft/applicationinsights-core-js!createEnumStyle:function(1)",
@@ -6053,19 +6292,24 @@
6053
6292
  "excerptTokens": [
6054
6293
  {
6055
6294
  "kind": "Content",
6056
- "text": "export declare function createEnumStyle<T>(values: "
6295
+ "text": "export declare function createEnumStyle<E>(values: "
6057
6296
  },
6058
6297
  {
6059
6298
  "kind": "Content",
6060
- "text": "T"
6299
+ "text": "{\n [key in keyof E]: E[keyof E];\n}"
6061
6300
  },
6062
6301
  {
6063
6302
  "kind": "Content",
6064
6303
  "text": "): "
6065
6304
  },
6305
+ {
6306
+ "kind": "Reference",
6307
+ "text": "EnumValue",
6308
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type"
6309
+ },
6066
6310
  {
6067
6311
  "kind": "Content",
6068
- "text": "T"
6312
+ "text": "<E>"
6069
6313
  },
6070
6314
  {
6071
6315
  "kind": "Content",
@@ -6074,7 +6318,7 @@
6074
6318
  ],
6075
6319
  "returnTypeTokenRange": {
6076
6320
  "startIndex": 3,
6077
- "endIndex": 4
6321
+ "endIndex": 5
6078
6322
  },
6079
6323
  "releaseTag": "Public",
6080
6324
  "overloadIndex": 1,
@@ -6090,7 +6334,7 @@
6090
6334
  ],
6091
6335
  "typeParameters": [
6092
6336
  {
6093
- "typeParameterName": "T",
6337
+ "typeParameterName": "E",
6094
6338
  "constraintTokenRange": {
6095
6339
  "startIndex": 0,
6096
6340
  "endIndex": 0
@@ -6318,6 +6562,82 @@
6318
6562
  "parameters": [],
6319
6563
  "name": "createUnloadHandlerContainer"
6320
6564
  },
6565
+ {
6566
+ "kind": "Function",
6567
+ "canonicalReference": "@microsoft/applicationinsights-core-js!createValueMap:function(1)",
6568
+ "docComment": "/**\n * Create a 2 index map that maps an enum's key and value to the defined map value, X[\"key\"] => mapValue and X[0] => mapValue. Generic values - E = the const enum type (typeof eRequestHeaders); - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The resulting \"Value\" of each entry identifies the valid values withing the assignments.\n *\n * @param values - The values to populate on the new object\n *\n * @returns \n */\n",
6569
+ "excerptTokens": [
6570
+ {
6571
+ "kind": "Content",
6572
+ "text": "export declare function createValueMap<E, V = "
6573
+ },
6574
+ {
6575
+ "kind": "Content",
6576
+ "text": "E"
6577
+ },
6578
+ {
6579
+ "kind": "Content",
6580
+ "text": ">(values: "
6581
+ },
6582
+ {
6583
+ "kind": "Content",
6584
+ "text": "{\n [key in keyof E]: [eValue: E[keyof E], mapValue: V[keyof V]];\n}"
6585
+ },
6586
+ {
6587
+ "kind": "Content",
6588
+ "text": "): "
6589
+ },
6590
+ {
6591
+ "kind": "Content",
6592
+ "text": "V"
6593
+ },
6594
+ {
6595
+ "kind": "Content",
6596
+ "text": ";"
6597
+ }
6598
+ ],
6599
+ "returnTypeTokenRange": {
6600
+ "startIndex": 5,
6601
+ "endIndex": 6
6602
+ },
6603
+ "releaseTag": "Public",
6604
+ "overloadIndex": 1,
6605
+ "parameters": [
6606
+ {
6607
+ "parameterName": "values",
6608
+ "parameterTypeTokenRange": {
6609
+ "startIndex": 3,
6610
+ "endIndex": 4
6611
+ },
6612
+ "isOptional": false
6613
+ }
6614
+ ],
6615
+ "typeParameters": [
6616
+ {
6617
+ "typeParameterName": "E",
6618
+ "constraintTokenRange": {
6619
+ "startIndex": 0,
6620
+ "endIndex": 0
6621
+ },
6622
+ "defaultTypeTokenRange": {
6623
+ "startIndex": 0,
6624
+ "endIndex": 0
6625
+ }
6626
+ },
6627
+ {
6628
+ "typeParameterName": "V",
6629
+ "constraintTokenRange": {
6630
+ "startIndex": 0,
6631
+ "endIndex": 0
6632
+ },
6633
+ "defaultTypeTokenRange": {
6634
+ "startIndex": 1,
6635
+ "endIndex": 2
6636
+ }
6637
+ }
6638
+ ],
6639
+ "name": "createValueMap"
6640
+ },
6321
6641
  {
6322
6642
  "kind": "Function",
6323
6643
  "canonicalReference": "@microsoft/applicationinsights-core-js!dateNow:function(1)",
@@ -6345,6 +6665,63 @@
6345
6665
  "parameters": [],
6346
6666
  "name": "dateNow"
6347
6667
  },
6668
+ {
6669
+ "kind": "Function",
6670
+ "canonicalReference": "@microsoft/applicationinsights-core-js!deepFreeze:function(1)",
6671
+ "docComment": "",
6672
+ "excerptTokens": [
6673
+ {
6674
+ "kind": "Content",
6675
+ "text": "export declare function deepFreeze<T>(obj: "
6676
+ },
6677
+ {
6678
+ "kind": "Content",
6679
+ "text": "T"
6680
+ },
6681
+ {
6682
+ "kind": "Content",
6683
+ "text": "): "
6684
+ },
6685
+ {
6686
+ "kind": "Content",
6687
+ "text": "T"
6688
+ },
6689
+ {
6690
+ "kind": "Content",
6691
+ "text": ";"
6692
+ }
6693
+ ],
6694
+ "returnTypeTokenRange": {
6695
+ "startIndex": 3,
6696
+ "endIndex": 4
6697
+ },
6698
+ "releaseTag": "Public",
6699
+ "overloadIndex": 1,
6700
+ "parameters": [
6701
+ {
6702
+ "parameterName": "obj",
6703
+ "parameterTypeTokenRange": {
6704
+ "startIndex": 1,
6705
+ "endIndex": 2
6706
+ },
6707
+ "isOptional": false
6708
+ }
6709
+ ],
6710
+ "typeParameters": [
6711
+ {
6712
+ "typeParameterName": "T",
6713
+ "constraintTokenRange": {
6714
+ "startIndex": 0,
6715
+ "endIndex": 0
6716
+ },
6717
+ "defaultTypeTokenRange": {
6718
+ "startIndex": 0,
6719
+ "endIndex": 0
6720
+ }
6721
+ }
6722
+ ],
6723
+ "name": "deepFreeze"
6724
+ },
6348
6725
  {
6349
6726
  "kind": "Function",
6350
6727
  "canonicalReference": "@microsoft/applicationinsights-core-js!deleteCookie:function(1)",
@@ -7210,39 +7587,180 @@
7210
7587
  "text": "export declare function dumpObj(object: "
7211
7588
  },
7212
7589
  {
7213
- "kind": "Content",
7214
- "text": "any"
7590
+ "kind": "Content",
7591
+ "text": "any"
7592
+ },
7593
+ {
7594
+ "kind": "Content",
7595
+ "text": "): "
7596
+ },
7597
+ {
7598
+ "kind": "Content",
7599
+ "text": "string"
7600
+ },
7601
+ {
7602
+ "kind": "Content",
7603
+ "text": ";"
7604
+ }
7605
+ ],
7606
+ "returnTypeTokenRange": {
7607
+ "startIndex": 3,
7608
+ "endIndex": 4
7609
+ },
7610
+ "releaseTag": "Public",
7611
+ "overloadIndex": 1,
7612
+ "parameters": [
7613
+ {
7614
+ "parameterName": "object",
7615
+ "parameterTypeTokenRange": {
7616
+ "startIndex": 1,
7617
+ "endIndex": 2
7618
+ },
7619
+ "isOptional": false
7620
+ }
7621
+ ],
7622
+ "name": "dumpObj"
7623
+ },
7624
+ {
7625
+ "kind": "Enum",
7626
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason:enum",
7627
+ "docComment": "/**\n * The eEventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.\n */\n",
7628
+ "excerptTokens": [
7629
+ {
7630
+ "kind": "Content",
7631
+ "text": "export declare const enum eEventsDiscardedReason "
7632
+ }
7633
+ ],
7634
+ "releaseTag": "Public",
7635
+ "name": "eEventsDiscardedReason",
7636
+ "members": [
7637
+ {
7638
+ "kind": "EnumMember",
7639
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.InvalidEvent:member",
7640
+ "docComment": "/**\n * The event is invalid.\n */\n",
7641
+ "excerptTokens": [
7642
+ {
7643
+ "kind": "Content",
7644
+ "text": "InvalidEvent = "
7645
+ },
7646
+ {
7647
+ "kind": "Content",
7648
+ "text": "2"
7649
+ }
7650
+ ],
7651
+ "releaseTag": "Public",
7652
+ "name": "InvalidEvent",
7653
+ "initializerTokenRange": {
7654
+ "startIndex": 1,
7655
+ "endIndex": 2
7656
+ }
7657
+ },
7658
+ {
7659
+ "kind": "EnumMember",
7660
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.KillSwitch:member",
7661
+ "docComment": "/**\n * The server is not accepting events from this instrumentation key.\n */\n",
7662
+ "excerptTokens": [
7663
+ {
7664
+ "kind": "Content",
7665
+ "text": "KillSwitch = "
7666
+ },
7667
+ {
7668
+ "kind": "Content",
7669
+ "text": "4"
7670
+ }
7671
+ ],
7672
+ "releaseTag": "Public",
7673
+ "name": "KillSwitch",
7674
+ "initializerTokenRange": {
7675
+ "startIndex": 1,
7676
+ "endIndex": 2
7677
+ }
7215
7678
  },
7216
7679
  {
7217
- "kind": "Content",
7218
- "text": "): "
7680
+ "kind": "EnumMember",
7681
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.NonRetryableStatus:member",
7682
+ "docComment": "/**\n * Status set to non-retryable.\n */\n",
7683
+ "excerptTokens": [
7684
+ {
7685
+ "kind": "Content",
7686
+ "text": "NonRetryableStatus = "
7687
+ },
7688
+ {
7689
+ "kind": "Content",
7690
+ "text": "1"
7691
+ }
7692
+ ],
7693
+ "releaseTag": "Public",
7694
+ "name": "NonRetryableStatus",
7695
+ "initializerTokenRange": {
7696
+ "startIndex": 1,
7697
+ "endIndex": 2
7698
+ }
7219
7699
  },
7220
7700
  {
7221
- "kind": "Content",
7222
- "text": "string"
7701
+ "kind": "EnumMember",
7702
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.QueueFull:member",
7703
+ "docComment": "/**\n * The event queue is full.\n */\n",
7704
+ "excerptTokens": [
7705
+ {
7706
+ "kind": "Content",
7707
+ "text": "QueueFull = "
7708
+ },
7709
+ {
7710
+ "kind": "Content",
7711
+ "text": "5"
7712
+ }
7713
+ ],
7714
+ "releaseTag": "Public",
7715
+ "name": "QueueFull",
7716
+ "initializerTokenRange": {
7717
+ "startIndex": 1,
7718
+ "endIndex": 2
7719
+ }
7223
7720
  },
7224
7721
  {
7225
- "kind": "Content",
7226
- "text": ";"
7227
- }
7228
- ],
7229
- "returnTypeTokenRange": {
7230
- "startIndex": 3,
7231
- "endIndex": 4
7232
- },
7233
- "releaseTag": "Public",
7234
- "overloadIndex": 1,
7235
- "parameters": [
7722
+ "kind": "EnumMember",
7723
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.SizeLimitExceeded:member",
7724
+ "docComment": "/**\n * The size of the event is too large.\n */\n",
7725
+ "excerptTokens": [
7726
+ {
7727
+ "kind": "Content",
7728
+ "text": "SizeLimitExceeded = "
7729
+ },
7730
+ {
7731
+ "kind": "Content",
7732
+ "text": "3"
7733
+ }
7734
+ ],
7735
+ "releaseTag": "Public",
7736
+ "name": "SizeLimitExceeded",
7737
+ "initializerTokenRange": {
7738
+ "startIndex": 1,
7739
+ "endIndex": 2
7740
+ }
7741
+ },
7236
7742
  {
7237
- "parameterName": "object",
7238
- "parameterTypeTokenRange": {
7743
+ "kind": "EnumMember",
7744
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason.Unknown:member",
7745
+ "docComment": "/**\n * Unknown.\n */\n",
7746
+ "excerptTokens": [
7747
+ {
7748
+ "kind": "Content",
7749
+ "text": "Unknown = "
7750
+ },
7751
+ {
7752
+ "kind": "Content",
7753
+ "text": "0"
7754
+ }
7755
+ ],
7756
+ "releaseTag": "Public",
7757
+ "name": "Unknown",
7758
+ "initializerTokenRange": {
7239
7759
  "startIndex": 1,
7240
7760
  "endIndex": 2
7241
- },
7242
- "isOptional": false
7761
+ }
7243
7762
  }
7244
- ],
7245
- "name": "dumpObj"
7763
+ ]
7246
7764
  },
7247
7765
  {
7248
7766
  "kind": "Enum",
@@ -7301,6 +7819,117 @@
7301
7819
  }
7302
7820
  ]
7303
7821
  },
7822
+ {
7823
+ "kind": "TypeAlias",
7824
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumMap:type",
7825
+ "docComment": "",
7826
+ "excerptTokens": [
7827
+ {
7828
+ "kind": "Content",
7829
+ "text": "export declare type EnumMap<E = "
7830
+ },
7831
+ {
7832
+ "kind": "Content",
7833
+ "text": "any"
7834
+ },
7835
+ {
7836
+ "kind": "Content",
7837
+ "text": ", I = "
7838
+ },
7839
+ {
7840
+ "kind": "Content",
7841
+ "text": "E"
7842
+ },
7843
+ {
7844
+ "kind": "Content",
7845
+ "text": "> = "
7846
+ },
7847
+ {
7848
+ "kind": "Content",
7849
+ "text": "{\n readonly [key in keyof E extends string ? keyof E : never]: key extends string ? key : keyof E;\n} & I"
7850
+ },
7851
+ {
7852
+ "kind": "Content",
7853
+ "text": ";"
7854
+ }
7855
+ ],
7856
+ "releaseTag": "Public",
7857
+ "name": "EnumMap",
7858
+ "typeParameters": [
7859
+ {
7860
+ "typeParameterName": "E",
7861
+ "constraintTokenRange": {
7862
+ "startIndex": 0,
7863
+ "endIndex": 0
7864
+ },
7865
+ "defaultTypeTokenRange": {
7866
+ "startIndex": 1,
7867
+ "endIndex": 2
7868
+ }
7869
+ },
7870
+ {
7871
+ "typeParameterName": "I",
7872
+ "constraintTokenRange": {
7873
+ "startIndex": 0,
7874
+ "endIndex": 0
7875
+ },
7876
+ "defaultTypeTokenRange": {
7877
+ "startIndex": 3,
7878
+ "endIndex": 4
7879
+ }
7880
+ }
7881
+ ],
7882
+ "typeTokenRange": {
7883
+ "startIndex": 5,
7884
+ "endIndex": 6
7885
+ }
7886
+ },
7887
+ {
7888
+ "kind": "TypeAlias",
7889
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type",
7890
+ "docComment": "",
7891
+ "excerptTokens": [
7892
+ {
7893
+ "kind": "Content",
7894
+ "text": "export declare type EnumValue<E = "
7895
+ },
7896
+ {
7897
+ "kind": "Content",
7898
+ "text": "any"
7899
+ },
7900
+ {
7901
+ "kind": "Content",
7902
+ "text": "> = "
7903
+ },
7904
+ {
7905
+ "kind": "Content",
7906
+ "text": "{\n readonly [key in keyof E]: E[key];\n}"
7907
+ },
7908
+ {
7909
+ "kind": "Content",
7910
+ "text": ";"
7911
+ }
7912
+ ],
7913
+ "releaseTag": "Public",
7914
+ "name": "EnumValue",
7915
+ "typeParameters": [
7916
+ {
7917
+ "typeParameterName": "E",
7918
+ "constraintTokenRange": {
7919
+ "startIndex": 0,
7920
+ "endIndex": 0
7921
+ },
7922
+ "defaultTypeTokenRange": {
7923
+ "startIndex": 1,
7924
+ "endIndex": 2
7925
+ }
7926
+ }
7927
+ ],
7928
+ "typeTokenRange": {
7929
+ "startIndex": 3,
7930
+ "endIndex": 4
7931
+ }
7932
+ },
7304
7933
  {
7305
7934
  "kind": "Variable",
7306
7935
  "canonicalReference": "@microsoft/applicationinsights-core-js!EventHelper:var",
@@ -7565,6 +8194,36 @@
7565
8194
  ],
7566
8195
  "name": "eventOn"
7567
8196
  },
8197
+ {
8198
+ "kind": "TypeAlias",
8199
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EventsDiscardedReason:type",
8200
+ "docComment": "",
8201
+ "excerptTokens": [
8202
+ {
8203
+ "kind": "Content",
8204
+ "text": "export declare type EventsDiscardedReason = "
8205
+ },
8206
+ {
8207
+ "kind": "Content",
8208
+ "text": "number | "
8209
+ },
8210
+ {
8211
+ "kind": "Reference",
8212
+ "text": "eEventsDiscardedReason",
8213
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason:enum"
8214
+ },
8215
+ {
8216
+ "kind": "Content",
8217
+ "text": ";"
8218
+ }
8219
+ ],
8220
+ "releaseTag": "Public",
8221
+ "name": "EventsDiscardedReason",
8222
+ "typeTokenRange": {
8223
+ "startIndex": 1,
8224
+ "endIndex": 3
8225
+ }
8226
+ },
7568
8227
  {
7569
8228
  "kind": "Variable",
7570
8229
  "canonicalReference": "@microsoft/applicationinsights-core-js!EventsDiscardedReason:var",
@@ -7576,14 +8235,32 @@
7576
8235
  },
7577
8236
  {
7578
8237
  "kind": "Content",
7579
- "text": "{\n Unknown: number;\n NonRetryableStatus: number;\n InvalidEvent: number;\n SizeLimitExceeded: number;\n KillSwitch: number;\n QueueFull: number;\n}"
8238
+ "text": "import(\"../JavaScriptSDK.Enums/EnumHelperFuncs\")."
8239
+ },
8240
+ {
8241
+ "kind": "Reference",
8242
+ "text": "EnumValue",
8243
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type"
8244
+ },
8245
+ {
8246
+ "kind": "Content",
8247
+ "text": "<typeof "
8248
+ },
8249
+ {
8250
+ "kind": "Reference",
8251
+ "text": "eEventsDiscardedReason",
8252
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eEventsDiscardedReason:enum"
8253
+ },
8254
+ {
8255
+ "kind": "Content",
8256
+ "text": ">"
7580
8257
  }
7581
8258
  ],
7582
8259
  "releaseTag": "Public",
7583
8260
  "name": "EventsDiscardedReason",
7584
8261
  "variableTypeTokenRange": {
7585
8262
  "startIndex": 1,
7586
- "endIndex": 2
8263
+ "endIndex": 6
7587
8264
  }
7588
8265
  },
7589
8266
  {
@@ -18336,14 +19013,32 @@
18336
19013
  },
18337
19014
  {
18338
19015
  "kind": "Content",
18339
- "text": "{\n CRITICAL: number;\n WARNING: number;\n}"
19016
+ "text": "import(\"../JavaScriptSDK.Enums/EnumHelperFuncs\")."
19017
+ },
19018
+ {
19019
+ "kind": "Reference",
19020
+ "text": "EnumValue",
19021
+ "canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type"
19022
+ },
19023
+ {
19024
+ "kind": "Content",
19025
+ "text": "<typeof "
19026
+ },
19027
+ {
19028
+ "kind": "Reference",
19029
+ "text": "eLoggingSeverity",
19030
+ "canonicalReference": "@microsoft/applicationinsights-core-js!eLoggingSeverity:enum"
19031
+ },
19032
+ {
19033
+ "kind": "Content",
19034
+ "text": ">"
18340
19035
  }
18341
19036
  ],
18342
19037
  "releaseTag": "Public",
18343
19038
  "name": "LoggingSeverity",
18344
19039
  "variableTypeTokenRange": {
18345
19040
  "startIndex": 1,
18346
- "endIndex": 2
19041
+ "endIndex": 6
18347
19042
  }
18348
19043
  },
18349
19044
  {
@@ -21195,7 +21890,7 @@
21195
21890
  {
21196
21891
  "kind": "Function",
21197
21892
  "canonicalReference": "@microsoft/applicationinsights-core-js!proxyFunctionAs:function(1)",
21198
- "docComment": "",
21893
+ "docComment": "/**\n * Creates a proxy function on the target which internally will call the source version with all arguments passed to the target method.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param name - The function name that will be added on the target\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param theFunc - The function name on the source that will be proxied on the target\n *\n * @param overwriteTarget - If `false` this will not replace any pre-existing name otherwise (the default) it will overwrite any existing name\n */\n",
21199
21894
  "excerptTokens": [
21200
21895
  {
21201
21896
  "kind": "Content",
@@ -21327,7 +22022,7 @@
21327
22022
  {
21328
22023
  "kind": "Function",
21329
22024
  "canonicalReference": "@microsoft/applicationinsights-core-js!proxyFunctions:function(1)",
21330
- "docComment": "/**\n * Creates proxy functions on the target which internally will call the source version with all arguments passed to the target method.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param functionsToProxy - An array of function names that will be proxied on the target\n */\n",
22025
+ "docComment": "/**\n * Creates proxy functions on the target which internally will call the source version with all arguments passed to the target method.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param functionsToProxy - An array of function names that will be proxied on the target\n *\n * @param overwriteTarget - If false this will not replace any pre-existing name otherwise (the default) it will overwrite any existing name\n */\n",
21331
22026
  "excerptTokens": [
21332
22027
  {
21333
22028
  "kind": "Content",