@microsoft/applicationinsights-core-js 2.8.0-beta.2203-04 → 2.8.0-beta.2203-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 (102) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +147 -33
  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 +1832 -94
  7. package/dist/applicationinsights-core-js.api.md +70 -12
  8. package/dist/applicationinsights-core-js.d.ts +167 -11
  9. package/dist/applicationinsights-core-js.js +147 -33
  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 +170 -14
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
  15. package/dist-esm/JavaScriptSDK/BaseCore.js +41 -17
  16. package/dist-esm/JavaScriptSDK/BaseCore.js.map +1 -1
  17. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +31 -3
  18. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js.map +1 -1
  19. package/dist-esm/JavaScriptSDK/ChannelController.js +15 -2
  20. package/dist-esm/JavaScriptSDK/ChannelController.js.map +1 -1
  21. package/dist-esm/JavaScriptSDK/Constants.js +1 -1
  22. package/dist-esm/JavaScriptSDK/CookieMgr.js +3 -2
  23. package/dist-esm/JavaScriptSDK/CookieMgr.js.map +1 -1
  24. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  25. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +1 -1
  26. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  27. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +14 -1
  28. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js.map +1 -1
  29. package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
  30. package/dist-esm/JavaScriptSDK/EventHelpers.js +18 -13
  31. package/dist-esm/JavaScriptSDK/EventHelpers.js.map +1 -1
  32. package/dist-esm/JavaScriptSDK/HelperFuncs.js +2 -12
  33. package/dist-esm/JavaScriptSDK/HelperFuncs.js.map +1 -1
  34. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  35. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  36. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  37. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  38. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +56 -5
  39. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
  40. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  41. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  42. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +3 -2
  43. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js.map +1 -1
  44. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +3 -2
  45. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js.map +1 -1
  46. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  47. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  49. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  50. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +8 -0
  51. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js.map +1 -0
  52. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  65. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  66. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  67. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  68. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  69. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +8 -0
  70. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js.map +1 -0
  71. package/dist-esm/applicationinsights-core-js.js +3 -3
  72. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  73. package/package.json +1 -1
  74. package/src/JavaScriptSDK/BaseCore.ts +82 -17
  75. package/src/JavaScriptSDK/BaseTelemetryPlugin.ts +55 -3
  76. package/src/JavaScriptSDK/ChannelController.ts +20 -1
  77. package/src/JavaScriptSDK/CookieMgr.ts +3 -1
  78. package/src/JavaScriptSDK/DiagnosticLogger.ts +14 -0
  79. package/src/JavaScriptSDK/EventHelpers.ts +18 -12
  80. package/src/JavaScriptSDK/HelperFuncs.ts +3 -1
  81. package/src/JavaScriptSDK/ProcessTelemetryContext.ts +71 -8
  82. package/src/JavaScriptSDK/TelemetryInitializerPlugin.ts +3 -1
  83. package/src/JavaScriptSDK/UnloadHandlerContainer.ts +3 -1
  84. package/src/JavaScriptSDK.Enums/TelemetryUpdateReason.ts +27 -0
  85. package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +22 -5
  86. package/src/JavaScriptSDK.Interfaces/IInstrumentHooks.ts +11 -6
  87. package/src/JavaScriptSDK.Interfaces/IProcessTelemetryContext.ts +25 -2
  88. package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +12 -1
  89. package/src/JavaScriptSDK.Interfaces/ITelemetryUpdateState.ts +34 -0
  90. package/types/JavaScriptSDK/BaseCore.d.ts +32 -3
  91. package/types/JavaScriptSDK/BaseTelemetryPlugin.d.ts +17 -1
  92. package/types/JavaScriptSDK/DiagnosticLogger.d.ts +10 -0
  93. package/types/JavaScriptSDK/EventHelpers.d.ts +4 -2
  94. package/types/JavaScriptSDK/HelperFuncs.d.ts +2 -1
  95. package/types/JavaScriptSDK/ProcessTelemetryContext.d.ts +9 -1
  96. package/types/JavaScriptSDK.Enums/TelemetryUpdateReason.d.ts +20 -0
  97. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +20 -4
  98. package/types/JavaScriptSDK.Interfaces/IInstrumentHooks.d.ts +5 -0
  99. package/types/JavaScriptSDK.Interfaces/IProcessTelemetryContext.d.ts +23 -2
  100. package/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts +11 -1
  101. package/types/JavaScriptSDK.Interfaces/ITelemetryUpdateState.d.ts +22 -0
  102. package/types/applicationinsights-core-js.d.ts +6 -3
@@ -172,7 +172,7 @@
172
172
  {
173
173
  "kind": "Function",
174
174
  "canonicalReference": "@microsoft/applicationinsights-core-js!__getRegisteredEvents:function(1)",
175
- "docComment": "/**\n * Get all of the registered events on the target object, this is primarily used for testing cleanup but may also be used by applications to remove their own events\n *\n * @param target - The EventTarget that has registered events\n *\n * @param evtName - [Optional] The name of the event to return the registered handlers and full name (with namespaces)\n */\n",
175
+ "docComment": "/**\n * Get all of the registered events on the target object, this is primarily used for testing cleanup but may also be used by applications to remove their own events\n *\n * @param target - The EventTarget that has registered events\n *\n * @param eventName - [Optional] The name of the event to return the registered handlers and full name (with namespaces)\n *\n * @param evtNamespace - [Optional] Additional namespace(s) to append to the event listeners so they can be uniquely identified and removed based on this namespace, if the eventName also includes a namespace the namespace(s) are merged into a single namespace\n */\n",
176
176
  "excerptTokens": [
177
177
  {
178
178
  "kind": "Content",
@@ -184,12 +184,20 @@
184
184
  },
185
185
  {
186
186
  "kind": "Content",
187
- "text": ", evtName?: "
187
+ "text": ", eventName?: "
188
188
  },
189
189
  {
190
190
  "kind": "Content",
191
191
  "text": "string"
192
192
  },
193
+ {
194
+ "kind": "Content",
195
+ "text": ", evtNamespace?: "
196
+ },
197
+ {
198
+ "kind": "Content",
199
+ "text": "string | string[]"
200
+ },
193
201
  {
194
202
  "kind": "Content",
195
203
  "text": "): "
@@ -209,8 +217,8 @@
209
217
  }
210
218
  ],
211
219
  "returnTypeTokenRange": {
212
- "startIndex": 5,
213
- "endIndex": 7
220
+ "startIndex": 7,
221
+ "endIndex": 9
214
222
  },
215
223
  "releaseTag": "Public",
216
224
  "overloadIndex": 1,
@@ -223,11 +231,18 @@
223
231
  }
224
232
  },
225
233
  {
226
- "parameterName": "evtName",
234
+ "parameterName": "eventName",
227
235
  "parameterTypeTokenRange": {
228
236
  "startIndex": 3,
229
237
  "endIndex": 4
230
238
  }
239
+ },
240
+ {
241
+ "parameterName": "evtNamespace",
242
+ "parameterTypeTokenRange": {
243
+ "startIndex": 5,
244
+ "endIndex": 6
245
+ }
231
246
  }
232
247
  ],
233
248
  "name": "__getRegisteredEvents"
@@ -2324,6 +2339,128 @@
2324
2339
  ],
2325
2340
  "name": "_legacyCookieMgr"
2326
2341
  },
2342
+ {
2343
+ "kind": "Function",
2344
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_throwInternal:function(1)",
2345
+ "docComment": "/**\n * This is a helper method which will call throwInternal on the passed logger, will throw exceptions in debug mode or attempt to log the error as a console warning. This helper is provided mostly to better support minification as logger.throwInternal() will not compress the publish \"throwInternal\" used throughout the code.\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 log message.\n */\n",
2346
+ "excerptTokens": [
2347
+ {
2348
+ "kind": "Content",
2349
+ "text": "export declare function _throwInternal(logger: "
2350
+ },
2351
+ {
2352
+ "kind": "Reference",
2353
+ "text": "IDiagnosticLogger",
2354
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface"
2355
+ },
2356
+ {
2357
+ "kind": "Content",
2358
+ "text": ", severity: "
2359
+ },
2360
+ {
2361
+ "kind": "Reference",
2362
+ "text": "LoggingSeverity",
2363
+ "canonicalReference": "@microsoft/applicationinsights-core-js!LoggingSeverity:type"
2364
+ },
2365
+ {
2366
+ "kind": "Content",
2367
+ "text": ", msgId: "
2368
+ },
2369
+ {
2370
+ "kind": "Reference",
2371
+ "text": "_InternalMessageId",
2372
+ "canonicalReference": "@microsoft/applicationinsights-core-js!_InternalMessageId:type"
2373
+ },
2374
+ {
2375
+ "kind": "Content",
2376
+ "text": ", msg: "
2377
+ },
2378
+ {
2379
+ "kind": "Content",
2380
+ "text": "string"
2381
+ },
2382
+ {
2383
+ "kind": "Content",
2384
+ "text": ", properties?: "
2385
+ },
2386
+ {
2387
+ "kind": "Reference",
2388
+ "text": "Object",
2389
+ "canonicalReference": "!Object:interface"
2390
+ },
2391
+ {
2392
+ "kind": "Content",
2393
+ "text": ", isUserAct?: "
2394
+ },
2395
+ {
2396
+ "kind": "Content",
2397
+ "text": "boolean"
2398
+ },
2399
+ {
2400
+ "kind": "Content",
2401
+ "text": "): "
2402
+ },
2403
+ {
2404
+ "kind": "Content",
2405
+ "text": "void"
2406
+ },
2407
+ {
2408
+ "kind": "Content",
2409
+ "text": ";"
2410
+ }
2411
+ ],
2412
+ "returnTypeTokenRange": {
2413
+ "startIndex": 13,
2414
+ "endIndex": 14
2415
+ },
2416
+ "releaseTag": "Public",
2417
+ "overloadIndex": 1,
2418
+ "parameters": [
2419
+ {
2420
+ "parameterName": "logger",
2421
+ "parameterTypeTokenRange": {
2422
+ "startIndex": 1,
2423
+ "endIndex": 2
2424
+ }
2425
+ },
2426
+ {
2427
+ "parameterName": "severity",
2428
+ "parameterTypeTokenRange": {
2429
+ "startIndex": 3,
2430
+ "endIndex": 4
2431
+ }
2432
+ },
2433
+ {
2434
+ "parameterName": "msgId",
2435
+ "parameterTypeTokenRange": {
2436
+ "startIndex": 5,
2437
+ "endIndex": 6
2438
+ }
2439
+ },
2440
+ {
2441
+ "parameterName": "msg",
2442
+ "parameterTypeTokenRange": {
2443
+ "startIndex": 7,
2444
+ "endIndex": 8
2445
+ }
2446
+ },
2447
+ {
2448
+ "parameterName": "properties",
2449
+ "parameterTypeTokenRange": {
2450
+ "startIndex": 9,
2451
+ "endIndex": 10
2452
+ }
2453
+ },
2454
+ {
2455
+ "parameterName": "isUserAct",
2456
+ "parameterTypeTokenRange": {
2457
+ "startIndex": 11,
2458
+ "endIndex": 12
2459
+ }
2460
+ }
2461
+ ],
2462
+ "name": "_throwInternal"
2463
+ },
2327
2464
  {
2328
2465
  "kind": "Function",
2329
2466
  "canonicalReference": "@microsoft/applicationinsights-core-js!addEventHandler:function(1)",
@@ -3469,6 +3606,68 @@
3469
3606
  },
3470
3607
  "isStatic": false
3471
3608
  },
3609
+ {
3610
+ "kind": "Method",
3611
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#_updateHook:member(1)",
3612
+ "docComment": "/**\n * Hook for Core extensions to allow them to update their own configuration before updating all of the plugins.\n *\n * @param updateCtx - The plugin update context\n *\n * @param updateState - The Update State\n *\n * @returns boolean - True means the extension class will call updateState otherwise the Core will\n */\n",
3613
+ "excerptTokens": [
3614
+ {
3615
+ "kind": "Content",
3616
+ "text": "protected _updateHook?(updateCtx: "
3617
+ },
3618
+ {
3619
+ "kind": "Reference",
3620
+ "text": "IProcessTelemetryUpdateContext",
3621
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface"
3622
+ },
3623
+ {
3624
+ "kind": "Content",
3625
+ "text": ", updateState: "
3626
+ },
3627
+ {
3628
+ "kind": "Reference",
3629
+ "text": "ITelemetryUpdateState",
3630
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface"
3631
+ },
3632
+ {
3633
+ "kind": "Content",
3634
+ "text": "): "
3635
+ },
3636
+ {
3637
+ "kind": "Content",
3638
+ "text": "void | boolean"
3639
+ },
3640
+ {
3641
+ "kind": "Content",
3642
+ "text": ";"
3643
+ }
3644
+ ],
3645
+ "isOptional": true,
3646
+ "isStatic": false,
3647
+ "returnTypeTokenRange": {
3648
+ "startIndex": 5,
3649
+ "endIndex": 6
3650
+ },
3651
+ "releaseTag": "Public",
3652
+ "overloadIndex": 1,
3653
+ "parameters": [
3654
+ {
3655
+ "parameterName": "updateCtx",
3656
+ "parameterTypeTokenRange": {
3657
+ "startIndex": 1,
3658
+ "endIndex": 2
3659
+ }
3660
+ },
3661
+ {
3662
+ "parameterName": "updateState",
3663
+ "parameterTypeTokenRange": {
3664
+ "startIndex": 3,
3665
+ "endIndex": 4
3666
+ }
3667
+ }
3668
+ ],
3669
+ "name": "_updateHook"
3670
+ },
3472
3671
  {
3473
3672
  "kind": "Constructor",
3474
3673
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore:constructor(1)",
@@ -3532,7 +3731,7 @@
3532
3731
  {
3533
3732
  "kind": "Method",
3534
3733
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#addPlugin:member(1)",
3535
- "docComment": "",
3734
+ "docComment": "/**\n * Add a new plugin to the installation\n *\n * @param plugin - The new plugin to add\n *\n * @param replaceExisting - should any existing plugin be replaced, default is false\n *\n * @param doAsync - Should the add be performed asynchronously\n *\n * @param addCb - [Optional] callback to call after the plugin has been added\n */\n",
3536
3735
  "excerptTokens": [
3537
3736
  {
3538
3737
  "kind": "Content",
@@ -3566,7 +3765,7 @@
3566
3765
  },
3567
3766
  {
3568
3767
  "kind": "Content",
3569
- "text": ", replaceExisting: "
3768
+ "text": ", replaceExisting?: "
3570
3769
  },
3571
3770
  {
3572
3771
  "kind": "Content",
@@ -3574,7 +3773,7 @@
3574
3773
  },
3575
3774
  {
3576
3775
  "kind": "Content",
3577
- "text": ", doAsync: "
3776
+ "text": ", doAsync?: "
3578
3777
  },
3579
3778
  {
3580
3779
  "kind": "Content",
@@ -3865,6 +4064,82 @@
3865
4064
  "parameters": [],
3866
4065
  "name": "evtNamespace"
3867
4066
  },
4067
+ {
4068
+ "kind": "Method",
4069
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#flush:member(1)",
4070
+ "docComment": "/**\n * Flush and send any batched / cached data immediately\n *\n * @param async - send data asynchronously when true (defaults to true)\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
4071
+ "excerptTokens": [
4072
+ {
4073
+ "kind": "Content",
4074
+ "text": "flush(isAsync?: "
4075
+ },
4076
+ {
4077
+ "kind": "Content",
4078
+ "text": "boolean"
4079
+ },
4080
+ {
4081
+ "kind": "Content",
4082
+ "text": ", callBack?: "
4083
+ },
4084
+ {
4085
+ "kind": "Content",
4086
+ "text": "(flushComplete?: boolean) => void"
4087
+ },
4088
+ {
4089
+ "kind": "Content",
4090
+ "text": ", sendReason?: "
4091
+ },
4092
+ {
4093
+ "kind": "Reference",
4094
+ "text": "SendRequestReason",
4095
+ "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum"
4096
+ },
4097
+ {
4098
+ "kind": "Content",
4099
+ "text": "): "
4100
+ },
4101
+ {
4102
+ "kind": "Content",
4103
+ "text": "void"
4104
+ },
4105
+ {
4106
+ "kind": "Content",
4107
+ "text": ";"
4108
+ }
4109
+ ],
4110
+ "isOptional": false,
4111
+ "isStatic": false,
4112
+ "returnTypeTokenRange": {
4113
+ "startIndex": 7,
4114
+ "endIndex": 8
4115
+ },
4116
+ "releaseTag": "Public",
4117
+ "overloadIndex": 1,
4118
+ "parameters": [
4119
+ {
4120
+ "parameterName": "isAsync",
4121
+ "parameterTypeTokenRange": {
4122
+ "startIndex": 1,
4123
+ "endIndex": 2
4124
+ }
4125
+ },
4126
+ {
4127
+ "parameterName": "callBack",
4128
+ "parameterTypeTokenRange": {
4129
+ "startIndex": 3,
4130
+ "endIndex": 4
4131
+ }
4132
+ },
4133
+ {
4134
+ "parameterName": "sendReason",
4135
+ "parameterTypeTokenRange": {
4136
+ "startIndex": 5,
4137
+ "endIndex": 6
4138
+ }
4139
+ }
4140
+ ],
4141
+ "name": "flush"
4142
+ },
3868
4143
  {
3869
4144
  "kind": "Method",
3870
4145
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#getCookieMgr:member(1)",
@@ -4547,7 +4822,7 @@
4547
4822
  {
4548
4823
  "kind": "Method",
4549
4824
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseCore#unload:member(1)",
4550
- "docComment": "/**\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous unload call return `true` stating that all plugins reported that they also unloaded, the recommended approach is to create a new instance and initialize that instance. This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable to successfully remove any global references or they may just be completing the unload process asynchronously.\n */\n",
4825
+ "docComment": "/**\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous unload call return `true` stating that all plugins reported that they also unloaded, the recommended approach is to create a new instance and initialize that instance. This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable to successfully remove any global references or they may just be completing the unload process asynchronously.\n *\n * @param isAsync - Can the unload be performed asynchronously (default)\n *\n * @param unloadComplete - An optional callback that will be called once the unload has completed\n *\n * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.\n */\n",
4551
4826
  "excerptTokens": [
4552
4827
  {
4553
4828
  "kind": "Content",
@@ -4563,15 +4838,32 @@
4563
4838
  },
4564
4839
  {
4565
4840
  "kind": "Content",
4566
- "text": "() => void"
4841
+ "text": "(unloadState: "
4842
+ },
4843
+ {
4844
+ "kind": "Reference",
4845
+ "text": "ITelemetryUnloadState",
4846
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUnloadState:interface"
4567
4847
  },
4568
4848
  {
4569
4849
  "kind": "Content",
4570
- "text": "): "
4850
+ "text": ") => void"
4571
4851
  },
4572
4852
  {
4573
4853
  "kind": "Content",
4574
- "text": "void"
4854
+ "text": ", cbTimeout?: "
4855
+ },
4856
+ {
4857
+ "kind": "Content",
4858
+ "text": "number"
4859
+ },
4860
+ {
4861
+ "kind": "Content",
4862
+ "text": "): "
4863
+ },
4864
+ {
4865
+ "kind": "Content",
4866
+ "text": "void"
4575
4867
  },
4576
4868
  {
4577
4869
  "kind": "Content",
@@ -4581,8 +4873,8 @@
4581
4873
  "isOptional": false,
4582
4874
  "isStatic": false,
4583
4875
  "returnTypeTokenRange": {
4584
- "startIndex": 5,
4585
- "endIndex": 6
4876
+ "startIndex": 9,
4877
+ "endIndex": 10
4586
4878
  },
4587
4879
  "releaseTag": "Public",
4588
4880
  "overloadIndex": 1,
@@ -4598,7 +4890,14 @@
4598
4890
  "parameterName": "unloadComplete",
4599
4891
  "parameterTypeTokenRange": {
4600
4892
  "startIndex": 3,
4601
- "endIndex": 4
4893
+ "endIndex": 6
4894
+ }
4895
+ },
4896
+ {
4897
+ "parameterName": "cbTimeout",
4898
+ "parameterTypeTokenRange": {
4899
+ "startIndex": 7,
4900
+ "endIndex": 8
4602
4901
  }
4603
4902
  }
4604
4903
  ],
@@ -4784,6 +5083,51 @@
4784
5083
  },
4785
5084
  "isStatic": false
4786
5085
  },
5086
+ {
5087
+ "kind": "Property",
5088
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#_doUpdate:member",
5089
+ "docComment": "/**\n * Extension hook to allow implementations to perform some additional update operations before the BaseTelemetryPlugin finishes it's removal\n *\n * @param updateCtx - This is the context that should be used during updating.\n *\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\n *\n * @param asyncCallback - An optional callback that the plugin must call if it returns true to inform the caller that it has completed any async update operations.\n *\n * @returns boolean - true if the plugin has or will call asyncCallback, this allows the plugin to perform any asynchronous operations.\n */\n",
5090
+ "excerptTokens": [
5091
+ {
5092
+ "kind": "Content",
5093
+ "text": "protected _doUpdate?: "
5094
+ },
5095
+ {
5096
+ "kind": "Content",
5097
+ "text": "(updateCtx?: "
5098
+ },
5099
+ {
5100
+ "kind": "Reference",
5101
+ "text": "IProcessTelemetryUpdateContext",
5102
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface"
5103
+ },
5104
+ {
5105
+ "kind": "Content",
5106
+ "text": ", updateState?: "
5107
+ },
5108
+ {
5109
+ "kind": "Reference",
5110
+ "text": "ITelemetryUpdateState",
5111
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface"
5112
+ },
5113
+ {
5114
+ "kind": "Content",
5115
+ "text": ", asyncCallback?: () => void) => void | boolean"
5116
+ },
5117
+ {
5118
+ "kind": "Content",
5119
+ "text": ";"
5120
+ }
5121
+ ],
5122
+ "isOptional": true,
5123
+ "releaseTag": "Public",
5124
+ "name": "_doUpdate",
5125
+ "propertyTypeTokenRange": {
5126
+ "startIndex": 1,
5127
+ "endIndex": 6
5128
+ },
5129
+ "isStatic": false
5130
+ },
4787
5131
  {
4788
5132
  "kind": "Property",
4789
5133
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#_getTelCtx:member",
@@ -5328,6 +5672,68 @@
5328
5672
  ],
5329
5673
  "name": "teardown"
5330
5674
  },
5675
+ {
5676
+ "kind": "Method",
5677
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#update:member(1)",
5678
+ "docComment": "/**\n * The the plugin should re-evaluate configuration and update any cached configuration settings.\n *\n * @param updateCtx - This is the context that should be used during updating.\n *\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\n *\n * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.\n */\n",
5679
+ "excerptTokens": [
5680
+ {
5681
+ "kind": "Content",
5682
+ "text": "update(updateCtx: "
5683
+ },
5684
+ {
5685
+ "kind": "Reference",
5686
+ "text": "IProcessTelemetryUpdateContext",
5687
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface"
5688
+ },
5689
+ {
5690
+ "kind": "Content",
5691
+ "text": ", updateState: "
5692
+ },
5693
+ {
5694
+ "kind": "Reference",
5695
+ "text": "ITelemetryUpdateState",
5696
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface"
5697
+ },
5698
+ {
5699
+ "kind": "Content",
5700
+ "text": "): "
5701
+ },
5702
+ {
5703
+ "kind": "Content",
5704
+ "text": "void | boolean"
5705
+ },
5706
+ {
5707
+ "kind": "Content",
5708
+ "text": ";"
5709
+ }
5710
+ ],
5711
+ "isOptional": false,
5712
+ "isStatic": false,
5713
+ "returnTypeTokenRange": {
5714
+ "startIndex": 5,
5715
+ "endIndex": 6
5716
+ },
5717
+ "releaseTag": "Public",
5718
+ "overloadIndex": 1,
5719
+ "parameters": [
5720
+ {
5721
+ "parameterName": "updateCtx",
5722
+ "parameterTypeTokenRange": {
5723
+ "startIndex": 1,
5724
+ "endIndex": 2
5725
+ }
5726
+ },
5727
+ {
5728
+ "parameterName": "updateState",
5729
+ "parameterTypeTokenRange": {
5730
+ "startIndex": 3,
5731
+ "endIndex": 4
5732
+ }
5733
+ }
5734
+ ],
5735
+ "name": "update"
5736
+ },
5331
5737
  {
5332
5738
  "kind": "Property",
5333
5739
  "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#version:member",
@@ -8171,7 +8577,7 @@
8171
8577
  {
8172
8578
  "kind": "MethodSignature",
8173
8579
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#addPlugin:member(1)",
8174
- "docComment": "/**\n * Add a new plugin to the installation\n *\n * @param plugin - The new plugin to add\n *\n * @param replaceExisting - should any existing plugin be replaced\n *\n * @param doAsync - Should the add be performed asynchronously\n */\n",
8580
+ "docComment": "/**\n * Add a new plugin to the installation\n *\n * @param plugin - The new plugin to add\n *\n * @param replaceExisting - should any existing plugin be replaced, default is false\n *\n * @param doAsync - Should the add be performed asynchronously\n *\n * @param addCb - [Optional] callback to call after the plugin has been added\n */\n",
8175
8581
  "excerptTokens": [
8176
8582
  {
8177
8583
  "kind": "Content",
@@ -8205,7 +8611,7 @@
8205
8611
  },
8206
8612
  {
8207
8613
  "kind": "Content",
8208
- "text": ", replaceExisting: "
8614
+ "text": ", replaceExisting?: "
8209
8615
  },
8210
8616
  {
8211
8617
  "kind": "Content",
@@ -8213,7 +8619,7 @@
8213
8619
  },
8214
8620
  {
8215
8621
  "kind": "Content",
8216
- "text": ", doAsync: "
8622
+ "text": ", doAsync?: "
8217
8623
  },
8218
8624
  {
8219
8625
  "kind": "Content",
@@ -8442,6 +8848,96 @@
8442
8848
  "parameters": [],
8443
8849
  "name": "evtNamespace"
8444
8850
  },
8851
+ {
8852
+ "kind": "MethodSignature",
8853
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#flush:member(1)",
8854
+ "docComment": "/**\n * Flush and send any batched / cached data immediately\n *\n * @param async - send data asynchronously when true (defaults to true)\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
8855
+ "excerptTokens": [
8856
+ {
8857
+ "kind": "Content",
8858
+ "text": "flush(isAsync?: "
8859
+ },
8860
+ {
8861
+ "kind": "Content",
8862
+ "text": "boolean"
8863
+ },
8864
+ {
8865
+ "kind": "Content",
8866
+ "text": ", callBack?: "
8867
+ },
8868
+ {
8869
+ "kind": "Content",
8870
+ "text": "(flushComplete?: boolean) => void"
8871
+ },
8872
+ {
8873
+ "kind": "Content",
8874
+ "text": ", sendReason?: "
8875
+ },
8876
+ {
8877
+ "kind": "Reference",
8878
+ "text": "SendRequestReason",
8879
+ "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum"
8880
+ },
8881
+ {
8882
+ "kind": "Content",
8883
+ "text": ", cbTimeout?: "
8884
+ },
8885
+ {
8886
+ "kind": "Content",
8887
+ "text": "number"
8888
+ },
8889
+ {
8890
+ "kind": "Content",
8891
+ "text": "): "
8892
+ },
8893
+ {
8894
+ "kind": "Content",
8895
+ "text": "boolean | void"
8896
+ },
8897
+ {
8898
+ "kind": "Content",
8899
+ "text": ";"
8900
+ }
8901
+ ],
8902
+ "isOptional": false,
8903
+ "returnTypeTokenRange": {
8904
+ "startIndex": 9,
8905
+ "endIndex": 10
8906
+ },
8907
+ "releaseTag": "Public",
8908
+ "overloadIndex": 1,
8909
+ "parameters": [
8910
+ {
8911
+ "parameterName": "isAsync",
8912
+ "parameterTypeTokenRange": {
8913
+ "startIndex": 1,
8914
+ "endIndex": 2
8915
+ }
8916
+ },
8917
+ {
8918
+ "parameterName": "callBack",
8919
+ "parameterTypeTokenRange": {
8920
+ "startIndex": 3,
8921
+ "endIndex": 4
8922
+ }
8923
+ },
8924
+ {
8925
+ "parameterName": "sendReason",
8926
+ "parameterTypeTokenRange": {
8927
+ "startIndex": 5,
8928
+ "endIndex": 6
8929
+ }
8930
+ },
8931
+ {
8932
+ "parameterName": "cbTimeout",
8933
+ "parameterTypeTokenRange": {
8934
+ "startIndex": 7,
8935
+ "endIndex": 8
8936
+ }
8937
+ }
8938
+ ],
8939
+ "name": "flush"
8940
+ },
8445
8941
  {
8446
8942
  "kind": "MethodSignature",
8447
8943
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getCookieMgr:member(1)",
@@ -9006,7 +9502,7 @@
9006
9502
  {
9007
9503
  "kind": "MethodSignature",
9008
9504
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#unload:member(1)",
9009
- "docComment": "/**\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous unload call return `true` stating that all plugins reported that they also unloaded, the recommended approach is to create a new instance and initialize that instance. This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable to successfully remove any global references or they may just be completing the unload process asynchronously.\n */\n",
9505
+ "docComment": "/**\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous unload call return `true` stating that all plugins reported that they also unloaded, the recommended approach is to create a new instance and initialize that instance. This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable to successfully remove any global references or they may just be completing the unload process asynchronously.\n *\n * @param isAsync - Can the unload be performed asynchronously (default)\n *\n * @param unloadComplete - An optional callback that will be called once the unload has completed\n *\n * @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the unload. Defaults to 5 seconds.\n */\n",
9010
9506
  "excerptTokens": [
9011
9507
  {
9012
9508
  "kind": "Content",
@@ -9022,7 +9518,24 @@
9022
9518
  },
9023
9519
  {
9024
9520
  "kind": "Content",
9025
- "text": "() => void"
9521
+ "text": "(unloadState: "
9522
+ },
9523
+ {
9524
+ "kind": "Reference",
9525
+ "text": "ITelemetryUnloadState",
9526
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUnloadState:interface"
9527
+ },
9528
+ {
9529
+ "kind": "Content",
9530
+ "text": ") => void"
9531
+ },
9532
+ {
9533
+ "kind": "Content",
9534
+ "text": ", cbTimeout?: "
9535
+ },
9536
+ {
9537
+ "kind": "Content",
9538
+ "text": "number"
9026
9539
  },
9027
9540
  {
9028
9541
  "kind": "Content",
@@ -9039,8 +9552,8 @@
9039
9552
  ],
9040
9553
  "isOptional": false,
9041
9554
  "returnTypeTokenRange": {
9042
- "startIndex": 5,
9043
- "endIndex": 6
9555
+ "startIndex": 9,
9556
+ "endIndex": 10
9044
9557
  },
9045
9558
  "releaseTag": "Public",
9046
9559
  "overloadIndex": 1,
@@ -9056,7 +9569,14 @@
9056
9569
  "parameterName": "unloadComplete",
9057
9570
  "parameterTypeTokenRange": {
9058
9571
  "startIndex": 3,
9059
- "endIndex": 4
9572
+ "endIndex": 6
9573
+ }
9574
+ },
9575
+ {
9576
+ "parameterName": "cbTimeout",
9577
+ "parameterTypeTokenRange": {
9578
+ "startIndex": 7,
9579
+ "endIndex": 8
9060
9580
  }
9061
9581
  }
9062
9582
  ],
@@ -9072,50 +9592,481 @@
9072
9592
  },
9073
9593
  {
9074
9594
  "kind": "Interface",
9075
- "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface",
9076
- "docComment": "/**\n * Provides data transmission capabilities\n */\n",
9595
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext:interface",
9596
+ "docComment": "",
9077
9597
  "excerptTokens": [
9078
9598
  {
9079
9599
  "kind": "Content",
9080
- "text": "export interface IChannelControls extends "
9081
- },
9082
- {
9083
- "kind": "Reference",
9084
- "text": "ITelemetryPlugin",
9085
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
9086
- },
9087
- {
9088
- "kind": "Content",
9089
- "text": " "
9600
+ "text": "export interface IBaseProcessingContext "
9090
9601
  }
9091
9602
  ],
9092
9603
  "releaseTag": "Public",
9093
- "name": "IChannelControls",
9604
+ "name": "IBaseProcessingContext",
9094
9605
  "members": [
9095
9606
  {
9096
- "kind": "MethodSignature",
9097
- "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls#flush:member(1)",
9098
- "docComment": "/**\n * Flush to send data immediately; channel should default to sending data asynchronously\n *\n * @param async - send data asynchronously when true\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
9607
+ "kind": "PropertySignature",
9608
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#core:member",
9609
+ "docComment": "/**\n * The current core instance for the request\n */\n",
9099
9610
  "excerptTokens": [
9100
9611
  {
9101
9612
  "kind": "Content",
9102
- "text": "flush(async: "
9103
- },
9104
- {
9105
- "kind": "Content",
9106
- "text": "boolean"
9613
+ "text": "core: "
9107
9614
  },
9108
9615
  {
9109
9616
  "kind": "Content",
9110
- "text": ", callBack?: "
9617
+ "text": "() => "
9111
9618
  },
9112
9619
  {
9113
- "kind": "Content",
9114
- "text": "(flushComplete?: boolean) => void"
9620
+ "kind": "Reference",
9621
+ "text": "IAppInsightsCore",
9622
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
9115
9623
  },
9116
9624
  {
9117
9625
  "kind": "Content",
9118
- "text": ", sendReason?: "
9626
+ "text": ";"
9627
+ }
9628
+ ],
9629
+ "isOptional": false,
9630
+ "releaseTag": "Public",
9631
+ "name": "core",
9632
+ "propertyTypeTokenRange": {
9633
+ "startIndex": 1,
9634
+ "endIndex": 3
9635
+ }
9636
+ },
9637
+ {
9638
+ "kind": "PropertySignature",
9639
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#createNew:member",
9640
+ "docComment": "/**\n * Create a new context using the core and config from the current instance, returns a new instance of the same type\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n",
9641
+ "excerptTokens": [
9642
+ {
9643
+ "kind": "Content",
9644
+ "text": "createNew: "
9645
+ },
9646
+ {
9647
+ "kind": "Content",
9648
+ "text": "(plugins?: "
9649
+ },
9650
+ {
9651
+ "kind": "Reference",
9652
+ "text": "IPlugin",
9653
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
9654
+ },
9655
+ {
9656
+ "kind": "Content",
9657
+ "text": "[] | "
9658
+ },
9659
+ {
9660
+ "kind": "Reference",
9661
+ "text": "ITelemetryPluginChain",
9662
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
9663
+ },
9664
+ {
9665
+ "kind": "Content",
9666
+ "text": ", startAt?: "
9667
+ },
9668
+ {
9669
+ "kind": "Reference",
9670
+ "text": "IPlugin",
9671
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
9672
+ },
9673
+ {
9674
+ "kind": "Content",
9675
+ "text": ") => "
9676
+ },
9677
+ {
9678
+ "kind": "Reference",
9679
+ "text": "IBaseProcessingContext",
9680
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext:interface"
9681
+ },
9682
+ {
9683
+ "kind": "Content",
9684
+ "text": ";"
9685
+ }
9686
+ ],
9687
+ "isOptional": false,
9688
+ "releaseTag": "Public",
9689
+ "name": "createNew",
9690
+ "propertyTypeTokenRange": {
9691
+ "startIndex": 1,
9692
+ "endIndex": 9
9693
+ }
9694
+ },
9695
+ {
9696
+ "kind": "PropertySignature",
9697
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#diagLog:member",
9698
+ "docComment": "/**\n * THe current diagnostic logger for the request\n */\n",
9699
+ "excerptTokens": [
9700
+ {
9701
+ "kind": "Content",
9702
+ "text": "diagLog: "
9703
+ },
9704
+ {
9705
+ "kind": "Content",
9706
+ "text": "() => "
9707
+ },
9708
+ {
9709
+ "kind": "Reference",
9710
+ "text": "IDiagnosticLogger",
9711
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface"
9712
+ },
9713
+ {
9714
+ "kind": "Content",
9715
+ "text": ";"
9716
+ }
9717
+ ],
9718
+ "isOptional": false,
9719
+ "releaseTag": "Public",
9720
+ "name": "diagLog",
9721
+ "propertyTypeTokenRange": {
9722
+ "startIndex": 1,
9723
+ "endIndex": 3
9724
+ }
9725
+ },
9726
+ {
9727
+ "kind": "PropertySignature",
9728
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#getCfg:member",
9729
+ "docComment": "/**\n * Gets the current core config instance\n */\n",
9730
+ "excerptTokens": [
9731
+ {
9732
+ "kind": "Content",
9733
+ "text": "getCfg: "
9734
+ },
9735
+ {
9736
+ "kind": "Content",
9737
+ "text": "() => "
9738
+ },
9739
+ {
9740
+ "kind": "Reference",
9741
+ "text": "IConfiguration",
9742
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
9743
+ },
9744
+ {
9745
+ "kind": "Content",
9746
+ "text": ";"
9747
+ }
9748
+ ],
9749
+ "isOptional": false,
9750
+ "releaseTag": "Public",
9751
+ "name": "getCfg",
9752
+ "propertyTypeTokenRange": {
9753
+ "startIndex": 1,
9754
+ "endIndex": 3
9755
+ }
9756
+ },
9757
+ {
9758
+ "kind": "PropertySignature",
9759
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#getConfig:member",
9760
+ "docComment": "/**\n * Gets the named config from either the named identifier extension or core config if neither exist then the default value is returned\n *\n * @param identifier - The named extension identifier\n *\n * @param field - The config field name\n *\n * @param defaultValue - The default value to return if no defined config exists\n */\n",
9761
+ "excerptTokens": [
9762
+ {
9763
+ "kind": "Content",
9764
+ "text": "getConfig: "
9765
+ },
9766
+ {
9767
+ "kind": "Content",
9768
+ "text": "(identifier: string, field: string, defaultValue?: number | string | boolean | string[] | "
9769
+ },
9770
+ {
9771
+ "kind": "Reference",
9772
+ "text": "RegExp",
9773
+ "canonicalReference": "!RegExp:interface"
9774
+ },
9775
+ {
9776
+ "kind": "Content",
9777
+ "text": "[] | "
9778
+ },
9779
+ {
9780
+ "kind": "Reference",
9781
+ "text": "Function",
9782
+ "canonicalReference": "!Function:interface"
9783
+ },
9784
+ {
9785
+ "kind": "Content",
9786
+ "text": ") => number | string | boolean | string[] | "
9787
+ },
9788
+ {
9789
+ "kind": "Reference",
9790
+ "text": "RegExp",
9791
+ "canonicalReference": "!RegExp:interface"
9792
+ },
9793
+ {
9794
+ "kind": "Content",
9795
+ "text": "[] | "
9796
+ },
9797
+ {
9798
+ "kind": "Reference",
9799
+ "text": "Function",
9800
+ "canonicalReference": "!Function:interface"
9801
+ },
9802
+ {
9803
+ "kind": "Content",
9804
+ "text": ";"
9805
+ }
9806
+ ],
9807
+ "isOptional": false,
9808
+ "releaseTag": "Public",
9809
+ "name": "getConfig",
9810
+ "propertyTypeTokenRange": {
9811
+ "startIndex": 1,
9812
+ "endIndex": 9
9813
+ }
9814
+ },
9815
+ {
9816
+ "kind": "PropertySignature",
9817
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#getExtCfg:member",
9818
+ "docComment": "/**\n * Gets the named extension config\n */\n",
9819
+ "excerptTokens": [
9820
+ {
9821
+ "kind": "Content",
9822
+ "text": "getExtCfg: "
9823
+ },
9824
+ {
9825
+ "kind": "Content",
9826
+ "text": "<T>(identifier: string, defaultValue?: T | any, mergeDefault?: "
9827
+ },
9828
+ {
9829
+ "kind": "Reference",
9830
+ "text": "GetExtCfgMergeType",
9831
+ "canonicalReference": "@microsoft/applicationinsights-core-js!GetExtCfgMergeType:enum"
9832
+ },
9833
+ {
9834
+ "kind": "Content",
9835
+ "text": ") => T"
9836
+ },
9837
+ {
9838
+ "kind": "Content",
9839
+ "text": ";"
9840
+ }
9841
+ ],
9842
+ "isOptional": false,
9843
+ "releaseTag": "Public",
9844
+ "name": "getExtCfg",
9845
+ "propertyTypeTokenRange": {
9846
+ "startIndex": 1,
9847
+ "endIndex": 4
9848
+ }
9849
+ },
9850
+ {
9851
+ "kind": "PropertySignature",
9852
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#getNext:member",
9853
+ "docComment": "/**\n * Returns the next configured plugin proxy\n */\n",
9854
+ "excerptTokens": [
9855
+ {
9856
+ "kind": "Content",
9857
+ "text": "getNext: "
9858
+ },
9859
+ {
9860
+ "kind": "Content",
9861
+ "text": "() => "
9862
+ },
9863
+ {
9864
+ "kind": "Reference",
9865
+ "text": "ITelemetryPluginChain",
9866
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
9867
+ },
9868
+ {
9869
+ "kind": "Content",
9870
+ "text": ";"
9871
+ }
9872
+ ],
9873
+ "isOptional": false,
9874
+ "releaseTag": "Public",
9875
+ "name": "getNext",
9876
+ "propertyTypeTokenRange": {
9877
+ "startIndex": 1,
9878
+ "endIndex": 3
9879
+ }
9880
+ },
9881
+ {
9882
+ "kind": "PropertySignature",
9883
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#hasNext:member",
9884
+ "docComment": "/**\n * Helper to allow plugins to check and possibly shortcut executing code only required if there is a nextPlugin\n */\n",
9885
+ "excerptTokens": [
9886
+ {
9887
+ "kind": "Content",
9888
+ "text": "hasNext: "
9889
+ },
9890
+ {
9891
+ "kind": "Content",
9892
+ "text": "() => boolean"
9893
+ },
9894
+ {
9895
+ "kind": "Content",
9896
+ "text": ";"
9897
+ }
9898
+ ],
9899
+ "isOptional": false,
9900
+ "releaseTag": "Public",
9901
+ "name": "hasNext",
9902
+ "propertyTypeTokenRange": {
9903
+ "startIndex": 1,
9904
+ "endIndex": 2
9905
+ }
9906
+ },
9907
+ {
9908
+ "kind": "PropertySignature",
9909
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#iterate:member",
9910
+ "docComment": "/**\n * Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.\n *\n * @param callback - The function call for each plugin in the context chain\n */\n",
9911
+ "excerptTokens": [
9912
+ {
9913
+ "kind": "Content",
9914
+ "text": "iterate: "
9915
+ },
9916
+ {
9917
+ "kind": "Content",
9918
+ "text": "<T extends "
9919
+ },
9920
+ {
9921
+ "kind": "Reference",
9922
+ "text": "ITelemetryPlugin",
9923
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
9924
+ },
9925
+ {
9926
+ "kind": "Content",
9927
+ "text": " = "
9928
+ },
9929
+ {
9930
+ "kind": "Reference",
9931
+ "text": "ITelemetryPlugin",
9932
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
9933
+ },
9934
+ {
9935
+ "kind": "Content",
9936
+ "text": ">(callback: (plugin: T) => void) => void"
9937
+ },
9938
+ {
9939
+ "kind": "Content",
9940
+ "text": ";"
9941
+ }
9942
+ ],
9943
+ "isOptional": false,
9944
+ "releaseTag": "Public",
9945
+ "name": "iterate",
9946
+ "propertyTypeTokenRange": {
9947
+ "startIndex": 1,
9948
+ "endIndex": 6
9949
+ }
9950
+ },
9951
+ {
9952
+ "kind": "PropertySignature",
9953
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#onComplete:member",
9954
+ "docComment": "/**\n * Set the function to call when the current chain has executed all processNext or unloadNext items.\n *\n * @param onComplete - The onComplete to call\n *\n * @param that - The \"this\" value to use for the onComplete call, if not provided or undefined defaults to the current context\n *\n * @param args - Any additional arguments to pass to the onComplete function\n */\n",
9955
+ "excerptTokens": [
9956
+ {
9957
+ "kind": "Content",
9958
+ "text": "onComplete: "
9959
+ },
9960
+ {
9961
+ "kind": "Content",
9962
+ "text": "(onComplete: "
9963
+ },
9964
+ {
9965
+ "kind": "Reference",
9966
+ "text": "Function",
9967
+ "canonicalReference": "!Function:interface"
9968
+ },
9969
+ {
9970
+ "kind": "Content",
9971
+ "text": ", that?: any, ...args: any[]) => void"
9972
+ },
9973
+ {
9974
+ "kind": "Content",
9975
+ "text": ";"
9976
+ }
9977
+ ],
9978
+ "isOptional": false,
9979
+ "releaseTag": "Public",
9980
+ "name": "onComplete",
9981
+ "propertyTypeTokenRange": {
9982
+ "startIndex": 1,
9983
+ "endIndex": 4
9984
+ }
9985
+ },
9986
+ {
9987
+ "kind": "PropertySignature",
9988
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext#setNext:member",
9989
+ "docComment": "/**\n * Helper to set the next plugin proxy\n */\n",
9990
+ "excerptTokens": [
9991
+ {
9992
+ "kind": "Content",
9993
+ "text": "setNext: "
9994
+ },
9995
+ {
9996
+ "kind": "Content",
9997
+ "text": "(nextCtx: "
9998
+ },
9999
+ {
10000
+ "kind": "Reference",
10001
+ "text": "ITelemetryPluginChain",
10002
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
10003
+ },
10004
+ {
10005
+ "kind": "Content",
10006
+ "text": ") => void"
10007
+ },
10008
+ {
10009
+ "kind": "Content",
10010
+ "text": ";"
10011
+ }
10012
+ ],
10013
+ "isOptional": false,
10014
+ "releaseTag": "Public",
10015
+ "name": "setNext",
10016
+ "propertyTypeTokenRange": {
10017
+ "startIndex": 1,
10018
+ "endIndex": 4
10019
+ }
10020
+ }
10021
+ ],
10022
+ "extendsTokenRanges": []
10023
+ },
10024
+ {
10025
+ "kind": "Interface",
10026
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface",
10027
+ "docComment": "/**\n * Provides data transmission capabilities\n */\n",
10028
+ "excerptTokens": [
10029
+ {
10030
+ "kind": "Content",
10031
+ "text": "export interface IChannelControls extends "
10032
+ },
10033
+ {
10034
+ "kind": "Reference",
10035
+ "text": "ITelemetryPlugin",
10036
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
10037
+ },
10038
+ {
10039
+ "kind": "Content",
10040
+ "text": " "
10041
+ }
10042
+ ],
10043
+ "releaseTag": "Public",
10044
+ "name": "IChannelControls",
10045
+ "members": [
10046
+ {
10047
+ "kind": "MethodSignature",
10048
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls#flush:member(1)",
10049
+ "docComment": "/**\n * Flush to send data immediately; channel should default to sending data asynchronously\n *\n * @param async - send data asynchronously when true\n *\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called. If the caller doesn't return true the caller should assume that it may never be called.\n *\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\n *\n * @returns - true if the callback will be return after the flush is complete otherwise the caller should assume that any provided callback will never be called\n */\n",
10050
+ "excerptTokens": [
10051
+ {
10052
+ "kind": "Content",
10053
+ "text": "flush(async: "
10054
+ },
10055
+ {
10056
+ "kind": "Content",
10057
+ "text": "boolean"
10058
+ },
10059
+ {
10060
+ "kind": "Content",
10061
+ "text": ", callBack?: "
10062
+ },
10063
+ {
10064
+ "kind": "Content",
10065
+ "text": "(flushComplete?: boolean) => void"
10066
+ },
10067
+ {
10068
+ "kind": "Content",
10069
+ "text": ", sendReason?: "
9119
10070
  },
9120
10071
  {
9121
10072
  "kind": "Reference",
@@ -12674,12 +13625,39 @@
12674
13625
  "members": [
12675
13626
  {
12676
13627
  "kind": "PropertySignature",
12677
- "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHooksCallbacks#fnErr:member",
12678
- "docComment": "/**\n * The callback to call if the original function causes an exception, even if you supply a callback the original exception will still be thrown\n */\n",
13628
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHooksCallbacks#fnErr:member",
13629
+ "docComment": "/**\n * The callback to call if the original function causes an exception, even if you supply a callback the original exception will still be thrown\n */\n",
13630
+ "excerptTokens": [
13631
+ {
13632
+ "kind": "Content",
13633
+ "text": "fnErr?: "
13634
+ },
13635
+ {
13636
+ "kind": "Reference",
13637
+ "text": "InstrumentorHooksCallback",
13638
+ "canonicalReference": "@microsoft/applicationinsights-core-js!InstrumentorHooksCallback:type"
13639
+ },
13640
+ {
13641
+ "kind": "Content",
13642
+ "text": ";"
13643
+ }
13644
+ ],
13645
+ "isOptional": true,
13646
+ "releaseTag": "Public",
13647
+ "name": "fnErr",
13648
+ "propertyTypeTokenRange": {
13649
+ "startIndex": 1,
13650
+ "endIndex": 2
13651
+ }
13652
+ },
13653
+ {
13654
+ "kind": "PropertySignature",
13655
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHooksCallbacks#hkErr:member",
13656
+ "docComment": "/**\n * The callback to call if the hook function causes an exception\n */\n",
12679
13657
  "excerptTokens": [
12680
13658
  {
12681
13659
  "kind": "Content",
12682
- "text": "fnErr?: "
13660
+ "text": "hkErr?: "
12683
13661
  },
12684
13662
  {
12685
13663
  "kind": "Reference",
@@ -12693,7 +13671,7 @@
12693
13671
  ],
12694
13672
  "isOptional": true,
12695
13673
  "releaseTag": "Public",
12696
- "name": "fnErr",
13674
+ "name": "hkErr",
12697
13675
  "propertyTypeTokenRange": {
12698
13676
  "startIndex": 1,
12699
13677
  "endIndex": 2
@@ -12701,17 +13679,16 @@
12701
13679
  },
12702
13680
  {
12703
13681
  "kind": "PropertySignature",
12704
- "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHooksCallbacks#hkErr:member",
12705
- "docComment": "/**\n * The callback to call if the hook function causes an exception\n */\n",
13682
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IInstrumentHooksCallbacks#ns:member",
13683
+ "docComment": "/**\n * [Optional] Namespace details (same as the namespace used for events), useful for debugging and testing to identify the source of the instrumented hooks\n */\n",
12706
13684
  "excerptTokens": [
12707
13685
  {
12708
13686
  "kind": "Content",
12709
- "text": "hkErr?: "
13687
+ "text": "ns?: "
12710
13688
  },
12711
13689
  {
12712
- "kind": "Reference",
12713
- "text": "InstrumentorHooksCallback",
12714
- "canonicalReference": "@microsoft/applicationinsights-core-js!InstrumentorHooksCallback:type"
13690
+ "kind": "Content",
13691
+ "text": "string | string[]"
12715
13692
  },
12716
13693
  {
12717
13694
  "kind": "Content",
@@ -12720,7 +13697,7 @@
12720
13697
  ],
12721
13698
  "isOptional": true,
12722
13699
  "releaseTag": "Public",
12723
- "name": "hkErr",
13700
+ "name": "ns",
12724
13701
  "propertyTypeTokenRange": {
12725
13702
  "startIndex": 1,
12726
13703
  "endIndex": 2
@@ -14589,12 +15566,258 @@
14589
15566
  },
14590
15567
  {
14591
15568
  "kind": "Interface",
14592
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface",
14593
- "docComment": "/**\n * The current context for the current call to processTelemetry(), used to support sharing the same plugin instance between multiple AppInsights instances\n */\n",
15569
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface",
15570
+ "docComment": "/**\n * The current context for the current call to processTelemetry(), used to support sharing the same plugin instance between multiple AppInsights instances\n */\n",
15571
+ "excerptTokens": [
15572
+ {
15573
+ "kind": "Content",
15574
+ "text": "export interface IProcessTelemetryContext extends "
15575
+ },
15576
+ {
15577
+ "kind": "Reference",
15578
+ "text": "IBaseProcessingContext",
15579
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext:interface"
15580
+ },
15581
+ {
15582
+ "kind": "Content",
15583
+ "text": " "
15584
+ }
15585
+ ],
15586
+ "releaseTag": "Public",
15587
+ "name": "IProcessTelemetryContext",
15588
+ "members": [
15589
+ {
15590
+ "kind": "PropertySignature",
15591
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#createNew:member",
15592
+ "docComment": "/**\n * Create a new context using the core and config from the current instance, returns a new instance of the same type\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n",
15593
+ "excerptTokens": [
15594
+ {
15595
+ "kind": "Content",
15596
+ "text": "createNew: "
15597
+ },
15598
+ {
15599
+ "kind": "Content",
15600
+ "text": "(plugins?: "
15601
+ },
15602
+ {
15603
+ "kind": "Reference",
15604
+ "text": "IPlugin",
15605
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
15606
+ },
15607
+ {
15608
+ "kind": "Content",
15609
+ "text": "[] | "
15610
+ },
15611
+ {
15612
+ "kind": "Reference",
15613
+ "text": "ITelemetryPluginChain",
15614
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
15615
+ },
15616
+ {
15617
+ "kind": "Content",
15618
+ "text": ", startAt?: "
15619
+ },
15620
+ {
15621
+ "kind": "Reference",
15622
+ "text": "IPlugin",
15623
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
15624
+ },
15625
+ {
15626
+ "kind": "Content",
15627
+ "text": ") => "
15628
+ },
15629
+ {
15630
+ "kind": "Reference",
15631
+ "text": "IProcessTelemetryContext",
15632
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
15633
+ },
15634
+ {
15635
+ "kind": "Content",
15636
+ "text": ";"
15637
+ }
15638
+ ],
15639
+ "isOptional": false,
15640
+ "releaseTag": "Public",
15641
+ "name": "createNew",
15642
+ "propertyTypeTokenRange": {
15643
+ "startIndex": 1,
15644
+ "endIndex": 9
15645
+ }
15646
+ },
15647
+ {
15648
+ "kind": "PropertySignature",
15649
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#processNext:member",
15650
+ "docComment": "/**\n * Call back for telemetry processing before it it is sent\n *\n * @param env - This is the current event being reported\n *\n * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)\n */\n",
15651
+ "excerptTokens": [
15652
+ {
15653
+ "kind": "Content",
15654
+ "text": "processNext: "
15655
+ },
15656
+ {
15657
+ "kind": "Content",
15658
+ "text": "(env: "
15659
+ },
15660
+ {
15661
+ "kind": "Reference",
15662
+ "text": "ITelemetryItem",
15663
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
15664
+ },
15665
+ {
15666
+ "kind": "Content",
15667
+ "text": ") => boolean | void"
15668
+ },
15669
+ {
15670
+ "kind": "Content",
15671
+ "text": ";"
15672
+ }
15673
+ ],
15674
+ "isOptional": false,
15675
+ "releaseTag": "Public",
15676
+ "name": "processNext",
15677
+ "propertyTypeTokenRange": {
15678
+ "startIndex": 1,
15679
+ "endIndex": 4
15680
+ }
15681
+ }
15682
+ ],
15683
+ "extendsTokenRanges": [
15684
+ {
15685
+ "startIndex": 1,
15686
+ "endIndex": 3
15687
+ }
15688
+ ]
15689
+ },
15690
+ {
15691
+ "kind": "Interface",
15692
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUnloadContext:interface",
15693
+ "docComment": "/**\n * The current context for the current call to teardown() implementations, used to support when plugins are being removed or the SDK is being unloaded.\n */\n",
15694
+ "excerptTokens": [
15695
+ {
15696
+ "kind": "Content",
15697
+ "text": "export interface IProcessTelemetryUnloadContext extends "
15698
+ },
15699
+ {
15700
+ "kind": "Reference",
15701
+ "text": "IBaseProcessingContext",
15702
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IBaseProcessingContext:interface"
15703
+ },
15704
+ {
15705
+ "kind": "Content",
15706
+ "text": " "
15707
+ }
15708
+ ],
15709
+ "releaseTag": "Public",
15710
+ "name": "IProcessTelemetryUnloadContext",
15711
+ "members": [
15712
+ {
15713
+ "kind": "PropertySignature",
15714
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUnloadContext#createNew:member",
15715
+ "docComment": "/**\n * Create a new context using the core and config from the current instance, returns a new instance of the same type\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n",
15716
+ "excerptTokens": [
15717
+ {
15718
+ "kind": "Content",
15719
+ "text": "createNew: "
15720
+ },
15721
+ {
15722
+ "kind": "Content",
15723
+ "text": "(plugins?: "
15724
+ },
15725
+ {
15726
+ "kind": "Reference",
15727
+ "text": "IPlugin",
15728
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
15729
+ },
15730
+ {
15731
+ "kind": "Content",
15732
+ "text": "[] | "
15733
+ },
15734
+ {
15735
+ "kind": "Reference",
15736
+ "text": "ITelemetryPluginChain",
15737
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
15738
+ },
15739
+ {
15740
+ "kind": "Content",
15741
+ "text": ", startAt?: "
15742
+ },
15743
+ {
15744
+ "kind": "Reference",
15745
+ "text": "IPlugin",
15746
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
15747
+ },
15748
+ {
15749
+ "kind": "Content",
15750
+ "text": ") => "
15751
+ },
15752
+ {
15753
+ "kind": "Reference",
15754
+ "text": "IProcessTelemetryUnloadContext",
15755
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUnloadContext:interface"
15756
+ },
15757
+ {
15758
+ "kind": "Content",
15759
+ "text": ";"
15760
+ }
15761
+ ],
15762
+ "isOptional": false,
15763
+ "releaseTag": "Public",
15764
+ "name": "createNew",
15765
+ "propertyTypeTokenRange": {
15766
+ "startIndex": 1,
15767
+ "endIndex": 9
15768
+ }
15769
+ },
15770
+ {
15771
+ "kind": "PropertySignature",
15772
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUnloadContext#processNext:member",
15773
+ "docComment": "/**\n * This Plugin has finished unloading, so unload the next one\n *\n * @param uploadState - The state of the unload process\n *\n * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)\n */\n",
15774
+ "excerptTokens": [
15775
+ {
15776
+ "kind": "Content",
15777
+ "text": "processNext: "
15778
+ },
15779
+ {
15780
+ "kind": "Content",
15781
+ "text": "(unloadState: "
15782
+ },
15783
+ {
15784
+ "kind": "Reference",
15785
+ "text": "ITelemetryUnloadState",
15786
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUnloadState:interface"
15787
+ },
15788
+ {
15789
+ "kind": "Content",
15790
+ "text": ") => boolean | void"
15791
+ },
15792
+ {
15793
+ "kind": "Content",
15794
+ "text": ";"
15795
+ }
15796
+ ],
15797
+ "isOptional": false,
15798
+ "releaseTag": "Public",
15799
+ "name": "processNext",
15800
+ "propertyTypeTokenRange": {
15801
+ "startIndex": 1,
15802
+ "endIndex": 4
15803
+ }
15804
+ }
15805
+ ],
15806
+ "extendsTokenRanges": [
15807
+ {
15808
+ "startIndex": 1,
15809
+ "endIndex": 3
15810
+ }
15811
+ ]
15812
+ },
15813
+ {
15814
+ "kind": "Interface",
15815
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface",
15816
+ "docComment": "/**\n * The current context for the current call to the plugin update() implementations, used to support the notifications for when plugins are added, removed or the configuration was changed.\n */\n",
14594
15817
  "excerptTokens": [
14595
15818
  {
14596
15819
  "kind": "Content",
14597
- "text": "export interface IProcessTelemetryContext extends "
15820
+ "text": "export interface IProcessTelemetryUpdateContext extends "
14598
15821
  },
14599
15822
  {
14600
15823
  "kind": "Reference",
@@ -14607,11 +15830,11 @@
14607
15830
  }
14608
15831
  ],
14609
15832
  "releaseTag": "Public",
14610
- "name": "IProcessTelemetryContext",
15833
+ "name": "IProcessTelemetryUpdateContext",
14611
15834
  "members": [
14612
15835
  {
14613
15836
  "kind": "PropertySignature",
14614
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#createNew:member",
15837
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext#createNew:member",
14615
15838
  "docComment": "/**\n * Create a new context using the core and config from the current instance, returns a new instance of the same type\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n",
14616
15839
  "excerptTokens": [
14617
15840
  {
@@ -14651,8 +15874,8 @@
14651
15874
  },
14652
15875
  {
14653
15876
  "kind": "Reference",
14654
- "text": "IProcessTelemetryContext",
14655
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
15877
+ "text": "IProcessTelemetryUpdateContext",
15878
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface"
14656
15879
  },
14657
15880
  {
14658
15881
  "kind": "Content",
@@ -14669,8 +15892,8 @@
14669
15892
  },
14670
15893
  {
14671
15894
  "kind": "PropertySignature",
14672
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext#processNext:member",
14673
- "docComment": "/**\n * Call back for telemetry processing before it it is sent\n *\n * @param env - This is the current event being reported\n *\n * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)\n */\n",
15895
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext#processNext:member",
15896
+ "docComment": "/**\n * This Plugin has finished unloading, so unload the next one\n *\n * @param updateState - The update State\n *\n * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)\n */\n",
14674
15897
  "excerptTokens": [
14675
15898
  {
14676
15899
  "kind": "Content",
@@ -14678,12 +15901,12 @@
14678
15901
  },
14679
15902
  {
14680
15903
  "kind": "Content",
14681
- "text": "(env: "
15904
+ "text": "(updateState: "
14682
15905
  },
14683
15906
  {
14684
15907
  "kind": "Reference",
14685
- "text": "ITelemetryItem",
14686
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
15908
+ "text": "ITelemetryUpdateState",
15909
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface"
14687
15910
  },
14688
15911
  {
14689
15912
  "kind": "Content",
@@ -16367,6 +17590,111 @@
16367
17590
  ],
16368
17591
  "extendsTokenRanges": []
16369
17592
  },
17593
+ {
17594
+ "kind": "Interface",
17595
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface",
17596
+ "docComment": "",
17597
+ "excerptTokens": [
17598
+ {
17599
+ "kind": "Content",
17600
+ "text": "export interface ITelemetryUpdateState "
17601
+ }
17602
+ ],
17603
+ "releaseTag": "Public",
17604
+ "name": "ITelemetryUpdateState",
17605
+ "members": [
17606
+ {
17607
+ "kind": "PropertySignature",
17608
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState#added:member",
17609
+ "docComment": "/**\n * This holds a collection of plugins that have been added (if the reason identifies that one or more plugins have been added)\n */\n",
17610
+ "excerptTokens": [
17611
+ {
17612
+ "kind": "Content",
17613
+ "text": "added?: "
17614
+ },
17615
+ {
17616
+ "kind": "Reference",
17617
+ "text": "IPlugin",
17618
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
17619
+ },
17620
+ {
17621
+ "kind": "Content",
17622
+ "text": "[]"
17623
+ },
17624
+ {
17625
+ "kind": "Content",
17626
+ "text": ";"
17627
+ }
17628
+ ],
17629
+ "isOptional": true,
17630
+ "releaseTag": "Public",
17631
+ "name": "added",
17632
+ "propertyTypeTokenRange": {
17633
+ "startIndex": 1,
17634
+ "endIndex": 3
17635
+ }
17636
+ },
17637
+ {
17638
+ "kind": "PropertySignature",
17639
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState#reason:member",
17640
+ "docComment": "/**\n * Identifies the reason for the update notification, this is a bitwise numeric value\n */\n",
17641
+ "excerptTokens": [
17642
+ {
17643
+ "kind": "Content",
17644
+ "text": "reason: "
17645
+ },
17646
+ {
17647
+ "kind": "Reference",
17648
+ "text": "TelemetryUpdateReason",
17649
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason:enum"
17650
+ },
17651
+ {
17652
+ "kind": "Content",
17653
+ "text": ";"
17654
+ }
17655
+ ],
17656
+ "isOptional": false,
17657
+ "releaseTag": "Public",
17658
+ "name": "reason",
17659
+ "propertyTypeTokenRange": {
17660
+ "startIndex": 1,
17661
+ "endIndex": 2
17662
+ }
17663
+ },
17664
+ {
17665
+ "kind": "PropertySignature",
17666
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState#removed:member",
17667
+ "docComment": "/**\n * This holds a collection of plugins that have been removed (if the reason identifies that one or more plugins have been removed)\n */\n",
17668
+ "excerptTokens": [
17669
+ {
17670
+ "kind": "Content",
17671
+ "text": "removed?: "
17672
+ },
17673
+ {
17674
+ "kind": "Reference",
17675
+ "text": "IPlugin",
17676
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
17677
+ },
17678
+ {
17679
+ "kind": "Content",
17680
+ "text": "[]"
17681
+ },
17682
+ {
17683
+ "kind": "Content",
17684
+ "text": ";"
17685
+ }
17686
+ ],
17687
+ "isOptional": true,
17688
+ "releaseTag": "Public",
17689
+ "name": "removed",
17690
+ "propertyTypeTokenRange": {
17691
+ "startIndex": 1,
17692
+ "endIndex": 3
17693
+ }
17694
+ }
17695
+ ],
17696
+ "extendsTokenRanges": []
17697
+ },
16370
17698
  {
16371
17699
  "kind": "Interface",
16372
17700
  "canonicalReference": "@microsoft/applicationinsights-core-js!IUnloadHandlerContainer:interface",
@@ -17262,30 +18590,205 @@
17262
18590
  }
17263
18591
  },
17264
18592
  {
17265
- "parameterName": "prop",
17266
- "parameterTypeTokenRange": {
17267
- "startIndex": 3,
17268
- "endIndex": 4
18593
+ "parameterName": "prop",
18594
+ "parameterTypeTokenRange": {
18595
+ "startIndex": 3,
18596
+ "endIndex": 4
18597
+ }
18598
+ },
18599
+ {
18600
+ "parameterName": "getProp",
18601
+ "parameterTypeTokenRange": {
18602
+ "startIndex": 5,
18603
+ "endIndex": 6
18604
+ }
18605
+ },
18606
+ {
18607
+ "parameterName": "setProp",
18608
+ "parameterTypeTokenRange": {
18609
+ "startIndex": 7,
18610
+ "endIndex": 8
18611
+ }
18612
+ }
18613
+ ],
18614
+ "typeParameters": [
18615
+ {
18616
+ "typeParameterName": "T",
18617
+ "constraintTokenRange": {
18618
+ "startIndex": 0,
18619
+ "endIndex": 0
18620
+ },
18621
+ "defaultTypeTokenRange": {
18622
+ "startIndex": 0,
18623
+ "endIndex": 0
18624
+ }
18625
+ }
18626
+ ],
18627
+ "name": "objDefineAccessors"
18628
+ },
18629
+ {
18630
+ "kind": "Function",
18631
+ "canonicalReference": "@microsoft/applicationinsights-core-js!objExtend:function(1)",
18632
+ "docComment": "/**\n * Pass in the objects to merge as arguments, this will only \"merge\" (extend) properties that are owned by the object. It will NOT merge inherited or non-enumerable properties.\n *\n * @param obj1 - object to merge. Set this argument to 'true' for a deep extend.\n *\n * @param obj2 - object to merge.\n *\n * @param obj3 - object to merge.\n *\n * @param obj4 - object to merge.\n *\n * @param obj5 - object to merge.\n *\n * @returns The extended first object.\n */\n",
18633
+ "excerptTokens": [
18634
+ {
18635
+ "kind": "Content",
18636
+ "text": "export declare function objExtend<T2, T3, T4, T5, T6>(deepExtend?: "
18637
+ },
18638
+ {
18639
+ "kind": "Content",
18640
+ "text": "boolean"
18641
+ },
18642
+ {
18643
+ "kind": "Content",
18644
+ "text": ", obj2?: "
18645
+ },
18646
+ {
18647
+ "kind": "Content",
18648
+ "text": "T2"
18649
+ },
18650
+ {
18651
+ "kind": "Content",
18652
+ "text": ", obj3?: "
18653
+ },
18654
+ {
18655
+ "kind": "Content",
18656
+ "text": "T3"
18657
+ },
18658
+ {
18659
+ "kind": "Content",
18660
+ "text": ", obj4?: "
18661
+ },
18662
+ {
18663
+ "kind": "Content",
18664
+ "text": "T4"
18665
+ },
18666
+ {
18667
+ "kind": "Content",
18668
+ "text": ", obj5?: "
18669
+ },
18670
+ {
18671
+ "kind": "Content",
18672
+ "text": "T5"
18673
+ },
18674
+ {
18675
+ "kind": "Content",
18676
+ "text": ", obj6?: "
18677
+ },
18678
+ {
18679
+ "kind": "Content",
18680
+ "text": "T6"
18681
+ },
18682
+ {
18683
+ "kind": "Content",
18684
+ "text": "): "
18685
+ },
18686
+ {
18687
+ "kind": "Content",
18688
+ "text": "T2 & T3 & T4 & T5 & T6"
18689
+ },
18690
+ {
18691
+ "kind": "Content",
18692
+ "text": ";"
18693
+ }
18694
+ ],
18695
+ "returnTypeTokenRange": {
18696
+ "startIndex": 13,
18697
+ "endIndex": 14
18698
+ },
18699
+ "releaseTag": "Public",
18700
+ "overloadIndex": 1,
18701
+ "parameters": [
18702
+ {
18703
+ "parameterName": "deepExtend",
18704
+ "parameterTypeTokenRange": {
18705
+ "startIndex": 1,
18706
+ "endIndex": 2
18707
+ }
18708
+ },
18709
+ {
18710
+ "parameterName": "obj2",
18711
+ "parameterTypeTokenRange": {
18712
+ "startIndex": 3,
18713
+ "endIndex": 4
18714
+ }
18715
+ },
18716
+ {
18717
+ "parameterName": "obj3",
18718
+ "parameterTypeTokenRange": {
18719
+ "startIndex": 5,
18720
+ "endIndex": 6
18721
+ }
18722
+ },
18723
+ {
18724
+ "parameterName": "obj4",
18725
+ "parameterTypeTokenRange": {
18726
+ "startIndex": 7,
18727
+ "endIndex": 8
18728
+ }
18729
+ },
18730
+ {
18731
+ "parameterName": "obj5",
18732
+ "parameterTypeTokenRange": {
18733
+ "startIndex": 9,
18734
+ "endIndex": 10
18735
+ }
18736
+ },
18737
+ {
18738
+ "parameterName": "obj6",
18739
+ "parameterTypeTokenRange": {
18740
+ "startIndex": 11,
18741
+ "endIndex": 12
18742
+ }
18743
+ }
18744
+ ],
18745
+ "typeParameters": [
18746
+ {
18747
+ "typeParameterName": "T2",
18748
+ "constraintTokenRange": {
18749
+ "startIndex": 0,
18750
+ "endIndex": 0
18751
+ },
18752
+ "defaultTypeTokenRange": {
18753
+ "startIndex": 0,
18754
+ "endIndex": 0
18755
+ }
18756
+ },
18757
+ {
18758
+ "typeParameterName": "T3",
18759
+ "constraintTokenRange": {
18760
+ "startIndex": 0,
18761
+ "endIndex": 0
18762
+ },
18763
+ "defaultTypeTokenRange": {
18764
+ "startIndex": 0,
18765
+ "endIndex": 0
17269
18766
  }
17270
18767
  },
17271
18768
  {
17272
- "parameterName": "getProp",
17273
- "parameterTypeTokenRange": {
17274
- "startIndex": 5,
17275
- "endIndex": 6
18769
+ "typeParameterName": "T4",
18770
+ "constraintTokenRange": {
18771
+ "startIndex": 0,
18772
+ "endIndex": 0
18773
+ },
18774
+ "defaultTypeTokenRange": {
18775
+ "startIndex": 0,
18776
+ "endIndex": 0
17276
18777
  }
17277
18778
  },
17278
18779
  {
17279
- "parameterName": "setProp",
17280
- "parameterTypeTokenRange": {
17281
- "startIndex": 7,
17282
- "endIndex": 8
18780
+ "typeParameterName": "T5",
18781
+ "constraintTokenRange": {
18782
+ "startIndex": 0,
18783
+ "endIndex": 0
18784
+ },
18785
+ "defaultTypeTokenRange": {
18786
+ "startIndex": 0,
18787
+ "endIndex": 0
17283
18788
  }
17284
- }
17285
- ],
17286
- "typeParameters": [
18789
+ },
17287
18790
  {
17288
- "typeParameterName": "T",
18791
+ "typeParameterName": "T6",
17289
18792
  "constraintTokenRange": {
17290
18793
  "startIndex": 0,
17291
18794
  "endIndex": 0
@@ -17296,20 +18799,20 @@
17296
18799
  }
17297
18800
  }
17298
18801
  ],
17299
- "name": "objDefineAccessors"
18802
+ "name": "objExtend"
17300
18803
  },
17301
18804
  {
17302
18805
  "kind": "Function",
17303
- "canonicalReference": "@microsoft/applicationinsights-core-js!objExtend:function(1)",
17304
- "docComment": "/**\n * Pass in the objects to merge as arguments, this will only \"merge\" (extend) properties that are owned by the object. It will NOT merge inherited or non-enumerable properties.\n *\n * @param obj1 - object to merge. Set this argument to 'true' for a deep extend.\n *\n * @param obj2 - object to merge.\n *\n * @param obj3 - object to merge.\n *\n * @param obj4 - object to merge.\n *\n * @param obj5 - object to merge.\n *\n * @returns The extended first object.\n */\n",
18806
+ "canonicalReference": "@microsoft/applicationinsights-core-js!objExtend:function(2)",
18807
+ "docComment": "",
17305
18808
  "excerptTokens": [
17306
18809
  {
17307
18810
  "kind": "Content",
17308
- "text": "export declare function objExtend<T1, T2, T3, T4, T5, T6>(obj?: "
18811
+ "text": "export declare function objExtend<T1, T2, T3, T4, T5, T6>(obj1?: "
17309
18812
  },
17310
18813
  {
17311
18814
  "kind": "Content",
17312
- "text": "boolean | T1"
18815
+ "text": "T1"
17313
18816
  },
17314
18817
  {
17315
18818
  "kind": "Content",
@@ -17369,10 +18872,10 @@
17369
18872
  "endIndex": 14
17370
18873
  },
17371
18874
  "releaseTag": "Public",
17372
- "overloadIndex": 1,
18875
+ "overloadIndex": 2,
17373
18876
  "parameters": [
17374
18877
  {
17375
- "parameterName": "obj",
18878
+ "parameterName": "obj1",
17376
18879
  "parameterTypeTokenRange": {
17377
18880
  "startIndex": 1,
17378
18881
  "endIndex": 2
@@ -19584,6 +21087,64 @@
19584
21087
  ],
19585
21088
  "name": "removePageHideEventListener"
19586
21089
  },
21090
+ {
21091
+ "kind": "Function",
21092
+ "canonicalReference": "@microsoft/applicationinsights-core-js!removePageShowEventListener:function(1)",
21093
+ "docComment": "/**\n * Removes the pageShow event listeners added by addPageShowEventListener, because the 'visibilitychange' uses an internal proxy to detect the visibility state you SHOULD use a unique namespace when calling addPageShowEventListener as the remove ignores the listener argument for the 'visibilitychange' event.\n *\n * @param listener - The specific listener to remove for the 'pageshow' event only (ignored for 'visibilitychange')\n *\n * @param evtNamespace - The unique namespace used when calling addPageShowEventListener\n */\n",
21094
+ "excerptTokens": [
21095
+ {
21096
+ "kind": "Content",
21097
+ "text": "export declare function removePageShowEventListener(listener: "
21098
+ },
21099
+ {
21100
+ "kind": "Content",
21101
+ "text": "any"
21102
+ },
21103
+ {
21104
+ "kind": "Content",
21105
+ "text": ", evtNamespace?: "
21106
+ },
21107
+ {
21108
+ "kind": "Content",
21109
+ "text": "string | string[]"
21110
+ },
21111
+ {
21112
+ "kind": "Content",
21113
+ "text": "): "
21114
+ },
21115
+ {
21116
+ "kind": "Content",
21117
+ "text": "void"
21118
+ },
21119
+ {
21120
+ "kind": "Content",
21121
+ "text": ";"
21122
+ }
21123
+ ],
21124
+ "returnTypeTokenRange": {
21125
+ "startIndex": 5,
21126
+ "endIndex": 6
21127
+ },
21128
+ "releaseTag": "Public",
21129
+ "overloadIndex": 1,
21130
+ "parameters": [
21131
+ {
21132
+ "parameterName": "listener",
21133
+ "parameterTypeTokenRange": {
21134
+ "startIndex": 1,
21135
+ "endIndex": 2
21136
+ }
21137
+ },
21138
+ {
21139
+ "parameterName": "evtNamespace",
21140
+ "parameterTypeTokenRange": {
21141
+ "startIndex": 3,
21142
+ "endIndex": 4
21143
+ }
21144
+ }
21145
+ ],
21146
+ "name": "removePageShowEventListener"
21147
+ },
19587
21148
  {
19588
21149
  "kind": "Function",
19589
21150
  "canonicalReference": "@microsoft/applicationinsights-core-js!removePageUnloadEventListener:function(1)",
@@ -20708,6 +22269,183 @@
20708
22269
  "endIndex": 4
20709
22270
  }
20710
22271
  },
22272
+ {
22273
+ "kind": "Enum",
22274
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason:enum",
22275
+ "docComment": "/**\n * The TelemetryUnloadReason enumeration contains the possible reasons for why a plugin is being unloaded / torndown().\n */\n",
22276
+ "excerptTokens": [
22277
+ {
22278
+ "kind": "Content",
22279
+ "text": "export declare const enum TelemetryUnloadReason "
22280
+ }
22281
+ ],
22282
+ "releaseTag": "Public",
22283
+ "name": "TelemetryUnloadReason",
22284
+ "members": [
22285
+ {
22286
+ "kind": "EnumMember",
22287
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.ManualTeardown:member",
22288
+ "docComment": "/**\n * Teardown has been called without any context.\n */\n",
22289
+ "excerptTokens": [
22290
+ {
22291
+ "kind": "Content",
22292
+ "text": "ManualTeardown = "
22293
+ },
22294
+ {
22295
+ "kind": "Content",
22296
+ "text": "0"
22297
+ }
22298
+ ],
22299
+ "releaseTag": "Public",
22300
+ "name": "ManualTeardown",
22301
+ "initializerTokenRange": {
22302
+ "startIndex": 1,
22303
+ "endIndex": 2
22304
+ }
22305
+ },
22306
+ {
22307
+ "kind": "EnumMember",
22308
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.PluginReplace:member",
22309
+ "docComment": "/**\n * This instance of the plugin is being removed and replaced\n */\n",
22310
+ "excerptTokens": [
22311
+ {
22312
+ "kind": "Content",
22313
+ "text": "PluginReplace = "
22314
+ },
22315
+ {
22316
+ "kind": "Content",
22317
+ "text": "2"
22318
+ }
22319
+ ],
22320
+ "releaseTag": "Public",
22321
+ "name": "PluginReplace",
22322
+ "initializerTokenRange": {
22323
+ "startIndex": 1,
22324
+ "endIndex": 2
22325
+ }
22326
+ },
22327
+ {
22328
+ "kind": "EnumMember",
22329
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.PluginUnload:member",
22330
+ "docComment": "/**\n * Just this plugin is being removed\n */\n",
22331
+ "excerptTokens": [
22332
+ {
22333
+ "kind": "Content",
22334
+ "text": "PluginUnload = "
22335
+ },
22336
+ {
22337
+ "kind": "Content",
22338
+ "text": "1"
22339
+ }
22340
+ ],
22341
+ "releaseTag": "Public",
22342
+ "name": "PluginUnload",
22343
+ "initializerTokenRange": {
22344
+ "startIndex": 1,
22345
+ "endIndex": 2
22346
+ }
22347
+ },
22348
+ {
22349
+ "kind": "EnumMember",
22350
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.SdkUnload:member",
22351
+ "docComment": "/**\n * The entire SDK is being unloaded\n */\n",
22352
+ "excerptTokens": [
22353
+ {
22354
+ "kind": "Content",
22355
+ "text": "SdkUnload = "
22356
+ },
22357
+ {
22358
+ "kind": "Content",
22359
+ "text": "50"
22360
+ }
22361
+ ],
22362
+ "releaseTag": "Public",
22363
+ "name": "SdkUnload",
22364
+ "initializerTokenRange": {
22365
+ "startIndex": 1,
22366
+ "endIndex": 2
22367
+ }
22368
+ }
22369
+ ]
22370
+ },
22371
+ {
22372
+ "kind": "Enum",
22373
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason:enum",
22374
+ "docComment": "/**\n * The TelemetryUpdateReason enumeration contains a set of bit-wise values that specify the reason for update request.\n */\n",
22375
+ "excerptTokens": [
22376
+ {
22377
+ "kind": "Content",
22378
+ "text": "export declare const enum TelemetryUpdateReason "
22379
+ }
22380
+ ],
22381
+ "releaseTag": "Public",
22382
+ "name": "TelemetryUpdateReason",
22383
+ "members": [
22384
+ {
22385
+ "kind": "EnumMember",
22386
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.PluginAdded:member",
22387
+ "docComment": "/**\n * One or more plugins have been added\n */\n",
22388
+ "excerptTokens": [
22389
+ {
22390
+ "kind": "Content",
22391
+ "text": "PluginAdded = "
22392
+ },
22393
+ {
22394
+ "kind": "Content",
22395
+ "text": "16"
22396
+ }
22397
+ ],
22398
+ "releaseTag": "Public",
22399
+ "name": "PluginAdded",
22400
+ "initializerTokenRange": {
22401
+ "startIndex": 1,
22402
+ "endIndex": 2
22403
+ }
22404
+ },
22405
+ {
22406
+ "kind": "EnumMember",
22407
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.PluginRemoved:member",
22408
+ "docComment": "/**\n * One or more plugins have been removed\n */\n",
22409
+ "excerptTokens": [
22410
+ {
22411
+ "kind": "Content",
22412
+ "text": "PluginRemoved = "
22413
+ },
22414
+ {
22415
+ "kind": "Content",
22416
+ "text": "32"
22417
+ }
22418
+ ],
22419
+ "releaseTag": "Public",
22420
+ "name": "PluginRemoved",
22421
+ "initializerTokenRange": {
22422
+ "startIndex": 1,
22423
+ "endIndex": 2
22424
+ }
22425
+ },
22426
+ {
22427
+ "kind": "EnumMember",
22428
+ "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.Unknown:member",
22429
+ "docComment": "/**\n * Unknown.\n */\n",
22430
+ "excerptTokens": [
22431
+ {
22432
+ "kind": "Content",
22433
+ "text": "Unknown = "
22434
+ },
22435
+ {
22436
+ "kind": "Content",
22437
+ "text": "0"
22438
+ }
22439
+ ],
22440
+ "releaseTag": "Public",
22441
+ "name": "Unknown",
22442
+ "initializerTokenRange": {
22443
+ "startIndex": 1,
22444
+ "endIndex": 2
22445
+ }
22446
+ }
22447
+ ]
22448
+ },
20711
22449
  {
20712
22450
  "kind": "Function",
20713
22451
  "canonicalReference": "@microsoft/applicationinsights-core-js!throwError:function(1)",