@microsoft/applicationinsights-web 2.7.4-nightly.2202-07 → 2.8.0-beta.2202-06

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 (49) hide show
  1. package/browser/{ai.2.7.4-nightly.2202-07.cjs.js → ai.2.8.0-beta.2202-06.cjs.js} +924 -524
  2. package/browser/ai.2.8.0-beta.2202-06.cjs.js.map +1 -0
  3. package/browser/ai.2.8.0-beta.2202-06.cjs.min.js +6 -0
  4. package/browser/ai.2.8.0-beta.2202-06.cjs.min.js.map +1 -0
  5. package/browser/{ai.2.7.4-nightly.2202-07.gbl.js → ai.2.8.0-beta.2202-06.gbl.js} +924 -524
  6. package/browser/ai.2.8.0-beta.2202-06.gbl.js.map +1 -0
  7. package/browser/ai.2.8.0-beta.2202-06.gbl.min.js +6 -0
  8. package/browser/ai.2.8.0-beta.2202-06.gbl.min.js.map +1 -0
  9. package/browser/ai.2.8.0-beta.2202-06.integrity.json +66 -0
  10. package/browser/{ai.2.7.4-nightly.2202-07.js → ai.2.8.0-beta.2202-06.js} +924 -524
  11. package/browser/ai.2.8.0-beta.2202-06.js.map +1 -0
  12. package/browser/ai.2.8.0-beta.2202-06.min.js +6 -0
  13. package/browser/ai.2.8.0-beta.2202-06.min.js.map +1 -0
  14. package/browser/ai.2.cjs.js +923 -523
  15. package/browser/ai.2.cjs.js.map +1 -1
  16. package/browser/ai.2.cjs.min.js +2 -2
  17. package/browser/ai.2.cjs.min.js.map +1 -1
  18. package/browser/ai.2.gbl.js +923 -523
  19. package/browser/ai.2.gbl.js.map +1 -1
  20. package/browser/ai.2.gbl.min.js +2 -2
  21. package/browser/ai.2.gbl.min.js.map +1 -1
  22. package/browser/ai.2.js +923 -523
  23. package/browser/ai.2.js.map +1 -1
  24. package/browser/ai.2.min.js +2 -2
  25. package/browser/ai.2.min.js.map +1 -1
  26. package/dist/applicationinsights-web.api.json +653 -213
  27. package/dist/applicationinsights-web.api.md +20 -6
  28. package/dist/applicationinsights-web.d.ts +158 -37
  29. package/dist/applicationinsights-web.js +923 -523
  30. package/dist/applicationinsights-web.js.map +1 -1
  31. package/dist/applicationinsights-web.min.js +2 -2
  32. package/dist/applicationinsights-web.min.js.map +1 -1
  33. package/dist/applicationinsights-web.rollup.d.ts +158 -37
  34. package/dist-esm/ApplicationInsightsContainer.js +1 -1
  35. package/dist-esm/ApplicationInsightsDeprecated.js +1 -1
  36. package/dist-esm/Init.js +1 -1
  37. package/dist-esm/Initialization.js +1 -1
  38. package/dist-esm/applicationinsights-web.js +1 -1
  39. package/package.json +8 -8
  40. package/browser/ai.2.7.4-nightly.2202-07.cjs.js.map +0 -1
  41. package/browser/ai.2.7.4-nightly.2202-07.cjs.min.js +0 -6
  42. package/browser/ai.2.7.4-nightly.2202-07.cjs.min.js.map +0 -1
  43. package/browser/ai.2.7.4-nightly.2202-07.gbl.js.map +0 -1
  44. package/browser/ai.2.7.4-nightly.2202-07.gbl.min.js +0 -6
  45. package/browser/ai.2.7.4-nightly.2202-07.gbl.min.js.map +0 -1
  46. package/browser/ai.2.7.4-nightly.2202-07.integrity.json +0 -66
  47. package/browser/ai.2.7.4-nightly.2202-07.js.map +0 -1
  48. package/browser/ai.2.7.4-nightly.2202-07.min.js +0 -6
  49. package/browser/ai.2.7.4-nightly.2202-07.min.js.map +0 -1
@@ -269,52 +269,6 @@
269
269
  "overloadIndex": 1,
270
270
  "parameters": []
271
271
  },
272
- {
273
- "kind": "Method",
274
- "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#addNotificationListener:member(1)",
275
- "docComment": "/**\n * Adds a notification listener. The SDK calls methods on the listener when an appropriate notification is raised. The added plugins must raise notifications. If the plugins do not implement the notifications, then no methods will be called.\n *\n * @param listener - An INotificationListener object.\n */\n",
276
- "excerptTokens": [
277
- {
278
- "kind": "Content",
279
- "text": "addNotificationListener(listener: "
280
- },
281
- {
282
- "kind": "Reference",
283
- "text": "INotificationListener",
284
- "canonicalReference": "@microsoft/applicationinsights-web!INotificationListener:interface"
285
- },
286
- {
287
- "kind": "Content",
288
- "text": "): "
289
- },
290
- {
291
- "kind": "Content",
292
- "text": "void"
293
- },
294
- {
295
- "kind": "Content",
296
- "text": ";"
297
- }
298
- ],
299
- "isOptional": false,
300
- "isStatic": false,
301
- "returnTypeTokenRange": {
302
- "startIndex": 3,
303
- "endIndex": 4
304
- },
305
- "releaseTag": "Public",
306
- "overloadIndex": 1,
307
- "parameters": [
308
- {
309
- "parameterName": "listener",
310
- "parameterTypeTokenRange": {
311
- "startIndex": 1,
312
- "endIndex": 2
313
- }
314
- }
315
- ],
316
- "name": "addNotificationListener"
317
- },
318
272
  {
319
273
  "kind": "Method",
320
274
  "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#initialize:member(1)",
@@ -413,126 +367,6 @@
413
367
  ],
414
368
  "name": "initialize"
415
369
  },
416
- {
417
- "kind": "Method",
418
- "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#pollInternalLogs:member(1)",
419
- "docComment": "/**\n * Periodically check logger.queue for\n */\n",
420
- "excerptTokens": [
421
- {
422
- "kind": "Content",
423
- "text": "pollInternalLogs(eventName?: "
424
- },
425
- {
426
- "kind": "Content",
427
- "text": "string"
428
- },
429
- {
430
- "kind": "Content",
431
- "text": "): "
432
- },
433
- {
434
- "kind": "Content",
435
- "text": "number"
436
- },
437
- {
438
- "kind": "Content",
439
- "text": ";"
440
- }
441
- ],
442
- "isOptional": false,
443
- "isStatic": false,
444
- "returnTypeTokenRange": {
445
- "startIndex": 3,
446
- "endIndex": 4
447
- },
448
- "releaseTag": "Public",
449
- "overloadIndex": 1,
450
- "parameters": [
451
- {
452
- "parameterName": "eventName",
453
- "parameterTypeTokenRange": {
454
- "startIndex": 1,
455
- "endIndex": 2
456
- }
457
- }
458
- ],
459
- "name": "pollInternalLogs"
460
- },
461
- {
462
- "kind": "Method",
463
- "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#removeNotificationListener:member(1)",
464
- "docComment": "/**\n * Removes all instances of the listener.\n *\n * @param listener - INotificationListener to remove.\n */\n",
465
- "excerptTokens": [
466
- {
467
- "kind": "Content",
468
- "text": "removeNotificationListener(listener: "
469
- },
470
- {
471
- "kind": "Reference",
472
- "text": "INotificationListener",
473
- "canonicalReference": "@microsoft/applicationinsights-web!INotificationListener:interface"
474
- },
475
- {
476
- "kind": "Content",
477
- "text": "): "
478
- },
479
- {
480
- "kind": "Content",
481
- "text": "void"
482
- },
483
- {
484
- "kind": "Content",
485
- "text": ";"
486
- }
487
- ],
488
- "isOptional": false,
489
- "isStatic": false,
490
- "returnTypeTokenRange": {
491
- "startIndex": 3,
492
- "endIndex": 4
493
- },
494
- "releaseTag": "Public",
495
- "overloadIndex": 1,
496
- "parameters": [
497
- {
498
- "parameterName": "listener",
499
- "parameterTypeTokenRange": {
500
- "startIndex": 1,
501
- "endIndex": 2
502
- }
503
- }
504
- ],
505
- "name": "removeNotificationListener"
506
- },
507
- {
508
- "kind": "Method",
509
- "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#stopPollingInternalLogs:member(1)",
510
- "docComment": "/**\n * Periodically check logger.queue for\n */\n",
511
- "excerptTokens": [
512
- {
513
- "kind": "Content",
514
- "text": "stopPollingInternalLogs(): "
515
- },
516
- {
517
- "kind": "Content",
518
- "text": "void"
519
- },
520
- {
521
- "kind": "Content",
522
- "text": ";"
523
- }
524
- ],
525
- "isOptional": false,
526
- "isStatic": false,
527
- "returnTypeTokenRange": {
528
- "startIndex": 1,
529
- "endIndex": 2
530
- },
531
- "releaseTag": "Public",
532
- "overloadIndex": 1,
533
- "parameters": [],
534
- "name": "stopPollingInternalLogs"
535
- },
536
370
  {
537
371
  "kind": "Method",
538
372
  "canonicalReference": "@microsoft/applicationinsights-web!AppInsightsCore#track:member(1)",
@@ -3776,6 +3610,103 @@
3776
3610
  "overloadIndex": 1,
3777
3611
  "parameters": []
3778
3612
  },
3613
+ {
3614
+ "kind": "Method",
3615
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#addNotificationListener:member(1)",
3616
+ "docComment": "/**\n * Adds a notification listener. The SDK calls methods on the listener when an appropriate notification is raised. The added plugins must raise notifications. If the plugins do not implement the notifications, then no methods will be called.\n *\n * @param listener - An INotificationListener object.\n */\n",
3617
+ "excerptTokens": [
3618
+ {
3619
+ "kind": "Content",
3620
+ "text": "addNotificationListener(listener: "
3621
+ },
3622
+ {
3623
+ "kind": "Reference",
3624
+ "text": "INotificationListener",
3625
+ "canonicalReference": "@microsoft/applicationinsights-web!INotificationListener:interface"
3626
+ },
3627
+ {
3628
+ "kind": "Content",
3629
+ "text": "): "
3630
+ },
3631
+ {
3632
+ "kind": "Content",
3633
+ "text": "void"
3634
+ },
3635
+ {
3636
+ "kind": "Content",
3637
+ "text": ";"
3638
+ }
3639
+ ],
3640
+ "isOptional": false,
3641
+ "isStatic": false,
3642
+ "returnTypeTokenRange": {
3643
+ "startIndex": 3,
3644
+ "endIndex": 4
3645
+ },
3646
+ "releaseTag": "Public",
3647
+ "overloadIndex": 1,
3648
+ "parameters": [
3649
+ {
3650
+ "parameterName": "listener",
3651
+ "parameterTypeTokenRange": {
3652
+ "startIndex": 1,
3653
+ "endIndex": 2
3654
+ }
3655
+ }
3656
+ ],
3657
+ "name": "addNotificationListener"
3658
+ },
3659
+ {
3660
+ "kind": "Method",
3661
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#addTelemetryInitializer:member(1)",
3662
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
3663
+ "excerptTokens": [
3664
+ {
3665
+ "kind": "Content",
3666
+ "text": "addTelemetryInitializer(telemetryInitializer: "
3667
+ },
3668
+ {
3669
+ "kind": "Reference",
3670
+ "text": "TelemetryInitializerFunction",
3671
+ "canonicalReference": "@microsoft/applicationinsights-web!TelemetryInitializerFunction:type"
3672
+ },
3673
+ {
3674
+ "kind": "Content",
3675
+ "text": "): "
3676
+ },
3677
+ {
3678
+ "kind": "Reference",
3679
+ "text": "ITelemetryInitializerHandler",
3680
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryInitializerHandler:interface"
3681
+ },
3682
+ {
3683
+ "kind": "Content",
3684
+ "text": " | void"
3685
+ },
3686
+ {
3687
+ "kind": "Content",
3688
+ "text": ";"
3689
+ }
3690
+ ],
3691
+ "isOptional": false,
3692
+ "isStatic": false,
3693
+ "returnTypeTokenRange": {
3694
+ "startIndex": 3,
3695
+ "endIndex": 5
3696
+ },
3697
+ "releaseTag": "Public",
3698
+ "overloadIndex": 1,
3699
+ "parameters": [
3700
+ {
3701
+ "parameterName": "telemetryInitializer",
3702
+ "parameterTypeTokenRange": {
3703
+ "startIndex": 1,
3704
+ "endIndex": 2
3705
+ }
3706
+ }
3707
+ ],
3708
+ "name": "addTelemetryInitializer"
3709
+ },
3779
3710
  {
3780
3711
  "kind": "Property",
3781
3712
  "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#config:member",
@@ -3953,18 +3884,103 @@
3953
3884
  },
3954
3885
  {
3955
3886
  "kind": "Method",
3956
- "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#getProcessTelContext:member(1)",
3887
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#getPlugin:member(1)",
3957
3888
  "docComment": "",
3958
3889
  "excerptTokens": [
3959
3890
  {
3960
3891
  "kind": "Content",
3961
- "text": "getProcessTelContext(): "
3892
+ "text": "getPlugin<T extends "
3962
3893
  },
3963
3894
  {
3964
3895
  "kind": "Reference",
3965
- "text": "IProcessTelemetryContext",
3966
- "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryContext:interface"
3967
- },
3896
+ "text": "IPlugin",
3897
+ "canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
3898
+ },
3899
+ {
3900
+ "kind": "Content",
3901
+ "text": " "
3902
+ },
3903
+ {
3904
+ "kind": "Content",
3905
+ "text": "= "
3906
+ },
3907
+ {
3908
+ "kind": "Reference",
3909
+ "text": "IPlugin",
3910
+ "canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
3911
+ },
3912
+ {
3913
+ "kind": "Content",
3914
+ "text": ">(pluginIdentifier: "
3915
+ },
3916
+ {
3917
+ "kind": "Content",
3918
+ "text": "string"
3919
+ },
3920
+ {
3921
+ "kind": "Content",
3922
+ "text": "): "
3923
+ },
3924
+ {
3925
+ "kind": "Reference",
3926
+ "text": "ILoadedPlugin",
3927
+ "canonicalReference": "@microsoft/applicationinsights-web!ILoadedPlugin:interface"
3928
+ },
3929
+ {
3930
+ "kind": "Content",
3931
+ "text": "<T>"
3932
+ },
3933
+ {
3934
+ "kind": "Content",
3935
+ "text": ";"
3936
+ }
3937
+ ],
3938
+ "isOptional": false,
3939
+ "isStatic": false,
3940
+ "returnTypeTokenRange": {
3941
+ "startIndex": 8,
3942
+ "endIndex": 10
3943
+ },
3944
+ "releaseTag": "Public",
3945
+ "overloadIndex": 1,
3946
+ "parameters": [
3947
+ {
3948
+ "parameterName": "pluginIdentifier",
3949
+ "parameterTypeTokenRange": {
3950
+ "startIndex": 6,
3951
+ "endIndex": 7
3952
+ }
3953
+ }
3954
+ ],
3955
+ "typeParameters": [
3956
+ {
3957
+ "typeParameterName": "T",
3958
+ "constraintTokenRange": {
3959
+ "startIndex": 1,
3960
+ "endIndex": 3
3961
+ },
3962
+ "defaultTypeTokenRange": {
3963
+ "startIndex": 4,
3964
+ "endIndex": 5
3965
+ }
3966
+ }
3967
+ ],
3968
+ "name": "getPlugin"
3969
+ },
3970
+ {
3971
+ "kind": "Method",
3972
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#getProcessTelContext:member(1)",
3973
+ "docComment": "",
3974
+ "excerptTokens": [
3975
+ {
3976
+ "kind": "Content",
3977
+ "text": "getProcessTelContext(): "
3978
+ },
3979
+ {
3980
+ "kind": "Reference",
3981
+ "text": "IProcessTelemetryContext",
3982
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryContext:interface"
3983
+ },
3968
3984
  {
3969
3985
  "kind": "Content",
3970
3986
  "text": ";"
@@ -4168,6 +4184,51 @@
4168
4184
  },
4169
4185
  "isStatic": false
4170
4186
  },
4187
+ {
4188
+ "kind": "Method",
4189
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#pollInternalLogs:member(1)",
4190
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
4191
+ "excerptTokens": [
4192
+ {
4193
+ "kind": "Content",
4194
+ "text": "pollInternalLogs(eventName?: "
4195
+ },
4196
+ {
4197
+ "kind": "Content",
4198
+ "text": "string"
4199
+ },
4200
+ {
4201
+ "kind": "Content",
4202
+ "text": "): "
4203
+ },
4204
+ {
4205
+ "kind": "Content",
4206
+ "text": "number"
4207
+ },
4208
+ {
4209
+ "kind": "Content",
4210
+ "text": ";"
4211
+ }
4212
+ ],
4213
+ "isOptional": false,
4214
+ "isStatic": false,
4215
+ "returnTypeTokenRange": {
4216
+ "startIndex": 3,
4217
+ "endIndex": 4
4218
+ },
4219
+ "releaseTag": "Public",
4220
+ "overloadIndex": 1,
4221
+ "parameters": [
4222
+ {
4223
+ "parameterName": "eventName",
4224
+ "parameterTypeTokenRange": {
4225
+ "startIndex": 1,
4226
+ "endIndex": 2
4227
+ }
4228
+ }
4229
+ ],
4230
+ "name": "pollInternalLogs"
4231
+ },
4171
4232
  {
4172
4233
  "kind": "Method",
4173
4234
  "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#releaseQueue:member(1)",
@@ -4197,6 +4258,52 @@
4197
4258
  "parameters": [],
4198
4259
  "name": "releaseQueue"
4199
4260
  },
4261
+ {
4262
+ "kind": "Method",
4263
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#removeNotificationListener:member(1)",
4264
+ "docComment": "/**\n * Removes all instances of the listener.\n *\n * @param listener - INotificationListener to remove.\n */\n",
4265
+ "excerptTokens": [
4266
+ {
4267
+ "kind": "Content",
4268
+ "text": "removeNotificationListener(listener: "
4269
+ },
4270
+ {
4271
+ "kind": "Reference",
4272
+ "text": "INotificationListener",
4273
+ "canonicalReference": "@microsoft/applicationinsights-web!INotificationListener:interface"
4274
+ },
4275
+ {
4276
+ "kind": "Content",
4277
+ "text": "): "
4278
+ },
4279
+ {
4280
+ "kind": "Content",
4281
+ "text": "void"
4282
+ },
4283
+ {
4284
+ "kind": "Content",
4285
+ "text": ";"
4286
+ }
4287
+ ],
4288
+ "isOptional": false,
4289
+ "isStatic": false,
4290
+ "returnTypeTokenRange": {
4291
+ "startIndex": 3,
4292
+ "endIndex": 4
4293
+ },
4294
+ "releaseTag": "Public",
4295
+ "overloadIndex": 1,
4296
+ "parameters": [
4297
+ {
4298
+ "parameterName": "listener",
4299
+ "parameterTypeTokenRange": {
4300
+ "startIndex": 1,
4301
+ "endIndex": 2
4302
+ }
4303
+ }
4304
+ ],
4305
+ "name": "removeNotificationListener"
4306
+ },
4200
4307
  {
4201
4308
  "kind": "Method",
4202
4309
  "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#setCookieMgr:member(1)",
@@ -4289,6 +4396,35 @@
4289
4396
  ],
4290
4397
  "name": "setPerfMgr"
4291
4398
  },
4399
+ {
4400
+ "kind": "Method",
4401
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#stopPollingInternalLogs:member(1)",
4402
+ "docComment": "/**\n * Periodically check logger.queue for\n */\n",
4403
+ "excerptTokens": [
4404
+ {
4405
+ "kind": "Content",
4406
+ "text": "stopPollingInternalLogs(): "
4407
+ },
4408
+ {
4409
+ "kind": "Content",
4410
+ "text": "void"
4411
+ },
4412
+ {
4413
+ "kind": "Content",
4414
+ "text": ";"
4415
+ }
4416
+ ],
4417
+ "isOptional": false,
4418
+ "isStatic": false,
4419
+ "returnTypeTokenRange": {
4420
+ "startIndex": 1,
4421
+ "endIndex": 2
4422
+ },
4423
+ "releaseTag": "Public",
4424
+ "overloadIndex": 1,
4425
+ "parameters": [],
4426
+ "name": "stopPollingInternalLogs"
4427
+ },
4292
4428
  {
4293
4429
  "kind": "Method",
4294
4430
  "canonicalReference": "@microsoft/applicationinsights-web!BaseCore#track:member(1)",
@@ -4296,12 +4432,101 @@
4296
4432
  "excerptTokens": [
4297
4433
  {
4298
4434
  "kind": "Content",
4299
- "text": "track(telemetryItem: "
4435
+ "text": "track(telemetryItem: "
4436
+ },
4437
+ {
4438
+ "kind": "Reference",
4439
+ "text": "ITelemetryItem",
4440
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryItem:interface"
4441
+ },
4442
+ {
4443
+ "kind": "Content",
4444
+ "text": "): "
4445
+ },
4446
+ {
4447
+ "kind": "Content",
4448
+ "text": "void"
4449
+ },
4450
+ {
4451
+ "kind": "Content",
4452
+ "text": ";"
4453
+ }
4454
+ ],
4455
+ "isOptional": false,
4456
+ "isStatic": false,
4457
+ "returnTypeTokenRange": {
4458
+ "startIndex": 3,
4459
+ "endIndex": 4
4460
+ },
4461
+ "releaseTag": "Public",
4462
+ "overloadIndex": 1,
4463
+ "parameters": [
4464
+ {
4465
+ "parameterName": "telemetryItem",
4466
+ "parameterTypeTokenRange": {
4467
+ "startIndex": 1,
4468
+ "endIndex": 2
4469
+ }
4470
+ }
4471
+ ],
4472
+ "name": "track"
4473
+ }
4474
+ ],
4475
+ "implementsTokenRanges": [
4476
+ {
4477
+ "startIndex": 1,
4478
+ "endIndex": 3
4479
+ }
4480
+ ]
4481
+ },
4482
+ {
4483
+ "kind": "Class",
4484
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin:class",
4485
+ "docComment": "/**\n * BaseTelemetryPlugin provides a basic implementation of the ITelemetryPlugin interface so that plugins can avoid implementation the same set of boiler plate code as well as provide a base implementation so that new default implementations can be added without breaking all plugins.\n */\n",
4486
+ "excerptTokens": [
4487
+ {
4488
+ "kind": "Content",
4489
+ "text": "export declare abstract class BaseTelemetryPlugin implements "
4490
+ },
4491
+ {
4492
+ "kind": "Reference",
4493
+ "text": "ITelemetryPlugin",
4494
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
4495
+ },
4496
+ {
4497
+ "kind": "Content",
4498
+ "text": " "
4499
+ }
4500
+ ],
4501
+ "releaseTag": "Public",
4502
+ "name": "BaseTelemetryPlugin",
4503
+ "members": [
4504
+ {
4505
+ "kind": "Method",
4506
+ "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_addHook:member(1)",
4507
+ "docComment": "/**\n * Add this hook so that it is automatically removed during unloading\n *\n * @param hooks - The single hook or an array of IInstrumentHook objects\n */\n",
4508
+ "excerptTokens": [
4509
+ {
4510
+ "kind": "Content",
4511
+ "text": "protected _addHook(hooks: "
4512
+ },
4513
+ {
4514
+ "kind": "Reference",
4515
+ "text": "IInstrumentHook",
4516
+ "canonicalReference": "@microsoft/applicationinsights-web!IInstrumentHook:interface"
4517
+ },
4518
+ {
4519
+ "kind": "Content",
4520
+ "text": " | "
4300
4521
  },
4301
4522
  {
4302
4523
  "kind": "Reference",
4303
- "text": "ITelemetryItem",
4304
- "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryItem:interface"
4524
+ "text": "IInstrumentHook",
4525
+ "canonicalReference": "@microsoft/applicationinsights-web!IInstrumentHook:interface"
4526
+ },
4527
+ {
4528
+ "kind": "Content",
4529
+ "text": "[]"
4305
4530
  },
4306
4531
  {
4307
4532
  "kind": "Content",
@@ -4319,52 +4544,22 @@
4319
4544
  "isOptional": false,
4320
4545
  "isStatic": false,
4321
4546
  "returnTypeTokenRange": {
4322
- "startIndex": 3,
4323
- "endIndex": 4
4547
+ "startIndex": 6,
4548
+ "endIndex": 7
4324
4549
  },
4325
4550
  "releaseTag": "Public",
4326
4551
  "overloadIndex": 1,
4327
4552
  "parameters": [
4328
4553
  {
4329
- "parameterName": "telemetryItem",
4554
+ "parameterName": "hooks",
4330
4555
  "parameterTypeTokenRange": {
4331
4556
  "startIndex": 1,
4332
- "endIndex": 2
4557
+ "endIndex": 5
4333
4558
  }
4334
4559
  }
4335
4560
  ],
4336
- "name": "track"
4337
- }
4338
- ],
4339
- "implementsTokenRanges": [
4340
- {
4341
- "startIndex": 1,
4342
- "endIndex": 3
4343
- }
4344
- ]
4345
- },
4346
- {
4347
- "kind": "Class",
4348
- "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin:class",
4349
- "docComment": "/**\n * BaseTelemetryPlugin provides a basic implementation of the ITelemetryPlugin interface so that plugins can avoid implementation the same set of boiler plate code as well as provide a base implementation so that new default implementations can be added without breaking all plugins.\n */\n",
4350
- "excerptTokens": [
4351
- {
4352
- "kind": "Content",
4353
- "text": "export declare abstract class BaseTelemetryPlugin implements "
4354
- },
4355
- {
4356
- "kind": "Reference",
4357
- "text": "ITelemetryPlugin",
4358
- "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
4561
+ "name": "_addHook"
4359
4562
  },
4360
- {
4361
- "kind": "Content",
4362
- "text": " "
4363
- }
4364
- ],
4365
- "releaseTag": "Public",
4366
- "name": "BaseTelemetryPlugin",
4367
- "members": [
4368
4563
  {
4369
4564
  "kind": "Property",
4370
4565
  "canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_getTelCtx:member",
@@ -7631,6 +7826,56 @@
7631
7826
  ],
7632
7827
  "name": "addNotificationListener"
7633
7828
  },
7829
+ {
7830
+ "kind": "MethodSignature",
7831
+ "canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#addTelemetryInitializer:member(1)",
7832
+ "docComment": "/**\n * Add a telemetry processor to decorate or drop telemetry events.\n *\n * @param telemetryInitializer - The Telemetry Initializer function\n *\n * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed\n */\n",
7833
+ "excerptTokens": [
7834
+ {
7835
+ "kind": "Content",
7836
+ "text": "addTelemetryInitializer(telemetryInitializer: "
7837
+ },
7838
+ {
7839
+ "kind": "Reference",
7840
+ "text": "TelemetryInitializerFunction",
7841
+ "canonicalReference": "@microsoft/applicationinsights-web!TelemetryInitializerFunction:type"
7842
+ },
7843
+ {
7844
+ "kind": "Content",
7845
+ "text": "): "
7846
+ },
7847
+ {
7848
+ "kind": "Reference",
7849
+ "text": "ITelemetryInitializerHandler",
7850
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryInitializerHandler:interface"
7851
+ },
7852
+ {
7853
+ "kind": "Content",
7854
+ "text": " | void"
7855
+ },
7856
+ {
7857
+ "kind": "Content",
7858
+ "text": ";"
7859
+ }
7860
+ ],
7861
+ "isOptional": false,
7862
+ "returnTypeTokenRange": {
7863
+ "startIndex": 3,
7864
+ "endIndex": 5
7865
+ },
7866
+ "releaseTag": "Public",
7867
+ "overloadIndex": 1,
7868
+ "parameters": [
7869
+ {
7870
+ "parameterName": "telemetryInitializer",
7871
+ "parameterTypeTokenRange": {
7872
+ "startIndex": 1,
7873
+ "endIndex": 2
7874
+ }
7875
+ }
7876
+ ],
7877
+ "name": "addTelemetryInitializer"
7878
+ },
7634
7879
  {
7635
7880
  "kind": "PropertySignature",
7636
7881
  "canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#config:member",
@@ -7716,6 +7961,90 @@
7716
7961
  "parameters": [],
7717
7962
  "name": "getNotifyMgr"
7718
7963
  },
7964
+ {
7965
+ "kind": "MethodSignature",
7966
+ "canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#getPlugin:member(1)",
7967
+ "docComment": "/**\n * Find and return the (first) plugin with the specified identifier if present\n *\n * @param pluginIdentifier - \n */\n",
7968
+ "excerptTokens": [
7969
+ {
7970
+ "kind": "Content",
7971
+ "text": "getPlugin<T extends "
7972
+ },
7973
+ {
7974
+ "kind": "Reference",
7975
+ "text": "IPlugin",
7976
+ "canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
7977
+ },
7978
+ {
7979
+ "kind": "Content",
7980
+ "text": " "
7981
+ },
7982
+ {
7983
+ "kind": "Content",
7984
+ "text": "= "
7985
+ },
7986
+ {
7987
+ "kind": "Reference",
7988
+ "text": "IPlugin",
7989
+ "canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
7990
+ },
7991
+ {
7992
+ "kind": "Content",
7993
+ "text": ">(pluginIdentifier: "
7994
+ },
7995
+ {
7996
+ "kind": "Content",
7997
+ "text": "string"
7998
+ },
7999
+ {
8000
+ "kind": "Content",
8001
+ "text": "): "
8002
+ },
8003
+ {
8004
+ "kind": "Reference",
8005
+ "text": "ILoadedPlugin",
8006
+ "canonicalReference": "@microsoft/applicationinsights-web!ILoadedPlugin:interface"
8007
+ },
8008
+ {
8009
+ "kind": "Content",
8010
+ "text": "<T>"
8011
+ },
8012
+ {
8013
+ "kind": "Content",
8014
+ "text": ";"
8015
+ }
8016
+ ],
8017
+ "isOptional": false,
8018
+ "returnTypeTokenRange": {
8019
+ "startIndex": 8,
8020
+ "endIndex": 10
8021
+ },
8022
+ "releaseTag": "Public",
8023
+ "overloadIndex": 1,
8024
+ "parameters": [
8025
+ {
8026
+ "parameterName": "pluginIdentifier",
8027
+ "parameterTypeTokenRange": {
8028
+ "startIndex": 6,
8029
+ "endIndex": 7
8030
+ }
8031
+ }
8032
+ ],
8033
+ "typeParameters": [
8034
+ {
8035
+ "typeParameterName": "T",
8036
+ "constraintTokenRange": {
8037
+ "startIndex": 1,
8038
+ "endIndex": 3
8039
+ },
8040
+ "defaultTypeTokenRange": {
8041
+ "startIndex": 4,
8042
+ "endIndex": 5
8043
+ }
8044
+ }
8045
+ ],
8046
+ "name": "getPlugin"
8047
+ },
7719
8048
  {
7720
8049
  "kind": "MethodSignature",
7721
8050
  "canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#getProcessTelContext:member(1)",
@@ -16936,7 +17265,39 @@
16936
17265
  },
16937
17266
  {
16938
17267
  "kind": "Content",
16939
- "text": "(identifier: string, field: string, defaultValue?: number | string | boolean) => number | string | boolean"
17268
+ "text": "(identifier: string, field: string, defaultValue?: number | string | boolean | string[] | "
17269
+ },
17270
+ {
17271
+ "kind": "Reference",
17272
+ "text": "RegExp",
17273
+ "canonicalReference": "!RegExp:interface"
17274
+ },
17275
+ {
17276
+ "kind": "Content",
17277
+ "text": "[] | "
17278
+ },
17279
+ {
17280
+ "kind": "Reference",
17281
+ "text": "Function",
17282
+ "canonicalReference": "!Function:interface"
17283
+ },
17284
+ {
17285
+ "kind": "Content",
17286
+ "text": ") => number | string | boolean | string[] | "
17287
+ },
17288
+ {
17289
+ "kind": "Reference",
17290
+ "text": "RegExp",
17291
+ "canonicalReference": "!RegExp:interface"
17292
+ },
17293
+ {
17294
+ "kind": "Content",
17295
+ "text": "[] | "
17296
+ },
17297
+ {
17298
+ "kind": "Reference",
17299
+ "text": "Function",
17300
+ "canonicalReference": "!Function:interface"
16940
17301
  },
16941
17302
  {
16942
17303
  "kind": "Content",
@@ -16948,7 +17309,7 @@
16948
17309
  "name": "getConfig",
16949
17310
  "propertyTypeTokenRange": {
16950
17311
  "startIndex": 1,
16951
- "endIndex": 2
17312
+ "endIndex": 9
16952
17313
  }
16953
17314
  },
16954
17315
  {
@@ -16962,7 +17323,16 @@
16962
17323
  },
16963
17324
  {
16964
17325
  "kind": "Content",
16965
- "text": "<T>(identifier: string, defaultValue?: T | any) => T"
17326
+ "text": "<T>(identifier: string, defaultValue?: T | any, mergeDefault?: "
17327
+ },
17328
+ {
17329
+ "kind": "Reference",
17330
+ "text": "GetExtCfgMergeType",
17331
+ "canonicalReference": "@microsoft/applicationinsights-web!GetExtCfgMergeType:enum"
17332
+ },
17333
+ {
17334
+ "kind": "Content",
17335
+ "text": ") => T"
16966
17336
  },
16967
17337
  {
16968
17338
  "kind": "Content",
@@ -16974,7 +17344,7 @@
16974
17344
  "name": "getExtCfg",
16975
17345
  "propertyTypeTokenRange": {
16976
17346
  "startIndex": 1,
16977
- "endIndex": 2
17347
+ "endIndex": 4
16978
17348
  }
16979
17349
  },
16980
17350
  {
@@ -17034,6 +17404,76 @@
17034
17404
  "endIndex": 2
17035
17405
  }
17036
17406
  },
17407
+ {
17408
+ "kind": "PropertySignature",
17409
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryContext#iterate:member",
17410
+ "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",
17411
+ "excerptTokens": [
17412
+ {
17413
+ "kind": "Content",
17414
+ "text": "iterate: "
17415
+ },
17416
+ {
17417
+ "kind": "Content",
17418
+ "text": "<T extends "
17419
+ },
17420
+ {
17421
+ "kind": "Reference",
17422
+ "text": "ITelemetryPlugin",
17423
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
17424
+ },
17425
+ {
17426
+ "kind": "Content",
17427
+ "text": " = "
17428
+ },
17429
+ {
17430
+ "kind": "Reference",
17431
+ "text": "ITelemetryPlugin",
17432
+ "canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
17433
+ },
17434
+ {
17435
+ "kind": "Content",
17436
+ "text": ">(callback: (plugin: T) => void) => void"
17437
+ },
17438
+ {
17439
+ "kind": "Content",
17440
+ "text": ";"
17441
+ }
17442
+ ],
17443
+ "isOptional": false,
17444
+ "releaseTag": "Public",
17445
+ "name": "iterate",
17446
+ "propertyTypeTokenRange": {
17447
+ "startIndex": 1,
17448
+ "endIndex": 6
17449
+ }
17450
+ },
17451
+ {
17452
+ "kind": "PropertySignature",
17453
+ "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryContext#onComplete:member",
17454
+ "docComment": "/**\n * Set the function to call when the current chain has executed all processNext or unloadNext items.\n */\n",
17455
+ "excerptTokens": [
17456
+ {
17457
+ "kind": "Content",
17458
+ "text": "onComplete: "
17459
+ },
17460
+ {
17461
+ "kind": "Content",
17462
+ "text": "(onComplete: () => void) => void"
17463
+ },
17464
+ {
17465
+ "kind": "Content",
17466
+ "text": ";"
17467
+ }
17468
+ ],
17469
+ "isOptional": false,
17470
+ "releaseTag": "Public",
17471
+ "name": "onComplete",
17472
+ "propertyTypeTokenRange": {
17473
+ "startIndex": 1,
17474
+ "endIndex": 2
17475
+ }
17476
+ },
17037
17477
  {
17038
17478
  "kind": "PropertySignature",
17039
17479
  "canonicalReference": "@microsoft/applicationinsights-web!IProcessTelemetryContext#processNext:member",