@microsoft/applicationinsights-web 2.8.0-beta.2203-02 → 2.8.0-beta.2203-03
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.
- package/browser/{ai.2.8.0-beta.2203-02.cjs.js → ai.2.8.0-beta.2203-03.cjs.js} +200 -14
- package/browser/ai.2.8.0-beta.2203-03.cjs.js.map +1 -0
- package/browser/ai.2.8.0-beta.2203-03.cjs.min.js +6 -0
- package/browser/ai.2.8.0-beta.2203-03.cjs.min.js.map +1 -0
- package/browser/{ai.2.8.0-beta.2203-02.gbl.js → ai.2.8.0-beta.2203-03.gbl.js} +200 -14
- package/browser/ai.2.8.0-beta.2203-03.gbl.js.map +1 -0
- package/browser/ai.2.8.0-beta.2203-03.gbl.min.js +6 -0
- package/browser/ai.2.8.0-beta.2203-03.gbl.min.js.map +1 -0
- package/browser/ai.2.8.0-beta.2203-03.integrity.json +66 -0
- package/browser/{ai.2.8.0-beta.2203-02.js → ai.2.8.0-beta.2203-03.js} +200 -14
- package/browser/ai.2.8.0-beta.2203-03.js.map +1 -0
- package/browser/ai.2.8.0-beta.2203-03.min.js +6 -0
- package/browser/ai.2.8.0-beta.2203-03.min.js.map +1 -0
- package/browser/ai.2.cjs.js +199 -13
- package/browser/ai.2.cjs.js.map +1 -1
- package/browser/ai.2.cjs.min.js +2 -2
- package/browser/ai.2.cjs.min.js.map +1 -1
- package/browser/ai.2.gbl.js +199 -13
- package/browser/ai.2.gbl.js.map +1 -1
- package/browser/ai.2.gbl.min.js +2 -2
- package/browser/ai.2.gbl.min.js.map +1 -1
- package/browser/ai.2.js +199 -13
- package/browser/ai.2.js.map +1 -1
- package/browser/ai.2.min.js +2 -2
- package/browser/ai.2.min.js.map +1 -1
- package/dist/applicationinsights-web.api.json +505 -0
- package/dist/applicationinsights-web.api.md +9 -0
- package/dist/applicationinsights-web.d.ts +62 -2
- package/dist/applicationinsights-web.js +199 -13
- package/dist/applicationinsights-web.js.map +1 -1
- package/dist/applicationinsights-web.min.js +2 -2
- package/dist/applicationinsights-web.min.js.map +1 -1
- package/dist/applicationinsights-web.rollup.d.ts +62 -2
- package/dist-esm/ApplicationInsightsContainer.js +1 -1
- package/dist-esm/ApplicationInsightsDeprecated.js +1 -1
- package/dist-esm/Init.js +1 -1
- package/dist-esm/Initialization.js +1 -1
- package/dist-esm/applicationinsights-web.js +1 -1
- package/package.json +7 -7
- package/browser/ai.2.8.0-beta.2203-02.cjs.js.map +0 -1
- package/browser/ai.2.8.0-beta.2203-02.cjs.min.js +0 -6
- package/browser/ai.2.8.0-beta.2203-02.cjs.min.js.map +0 -1
- package/browser/ai.2.8.0-beta.2203-02.gbl.js.map +0 -1
- package/browser/ai.2.8.0-beta.2203-02.gbl.min.js +0 -6
- package/browser/ai.2.8.0-beta.2203-02.gbl.min.js.map +0 -1
- package/browser/ai.2.8.0-beta.2203-02.integrity.json +0 -66
- package/browser/ai.2.8.0-beta.2203-02.js.map +0 -1
- package/browser/ai.2.8.0-beta.2203-02.min.js +0 -6
- package/browser/ai.2.8.0-beta.2203-02.min.js.map +0 -1
|
@@ -3656,6 +3656,131 @@
|
|
|
3656
3656
|
],
|
|
3657
3657
|
"name": "addNotificationListener"
|
|
3658
3658
|
},
|
|
3659
|
+
{
|
|
3660
|
+
"kind": "Method",
|
|
3661
|
+
"canonicalReference": "@microsoft/applicationinsights-web!BaseCore#addPlugin:member(1)",
|
|
3662
|
+
"docComment": "",
|
|
3663
|
+
"excerptTokens": [
|
|
3664
|
+
{
|
|
3665
|
+
"kind": "Content",
|
|
3666
|
+
"text": "addPlugin<T extends "
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "Reference",
|
|
3670
|
+
"text": "IPlugin",
|
|
3671
|
+
"canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
|
|
3672
|
+
},
|
|
3673
|
+
{
|
|
3674
|
+
"kind": "Content",
|
|
3675
|
+
"text": " "
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "Content",
|
|
3679
|
+
"text": "= "
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"kind": "Reference",
|
|
3683
|
+
"text": "ITelemetryPlugin",
|
|
3684
|
+
"canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"kind": "Content",
|
|
3688
|
+
"text": ">(plugin: "
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"kind": "Content",
|
|
3692
|
+
"text": "T"
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
"kind": "Content",
|
|
3696
|
+
"text": ", replaceExisting: "
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"kind": "Content",
|
|
3700
|
+
"text": "boolean"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"kind": "Content",
|
|
3704
|
+
"text": ", doAsync: "
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"kind": "Content",
|
|
3708
|
+
"text": "boolean"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"kind": "Content",
|
|
3712
|
+
"text": ", addCb?: "
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
"kind": "Content",
|
|
3716
|
+
"text": "(added?: boolean) => void"
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
"kind": "Content",
|
|
3720
|
+
"text": "): "
|
|
3721
|
+
},
|
|
3722
|
+
{
|
|
3723
|
+
"kind": "Content",
|
|
3724
|
+
"text": "void"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"kind": "Content",
|
|
3728
|
+
"text": ";"
|
|
3729
|
+
}
|
|
3730
|
+
],
|
|
3731
|
+
"isOptional": false,
|
|
3732
|
+
"isStatic": false,
|
|
3733
|
+
"returnTypeTokenRange": {
|
|
3734
|
+
"startIndex": 14,
|
|
3735
|
+
"endIndex": 15
|
|
3736
|
+
},
|
|
3737
|
+
"releaseTag": "Public",
|
|
3738
|
+
"overloadIndex": 1,
|
|
3739
|
+
"parameters": [
|
|
3740
|
+
{
|
|
3741
|
+
"parameterName": "plugin",
|
|
3742
|
+
"parameterTypeTokenRange": {
|
|
3743
|
+
"startIndex": 6,
|
|
3744
|
+
"endIndex": 7
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"parameterName": "replaceExisting",
|
|
3749
|
+
"parameterTypeTokenRange": {
|
|
3750
|
+
"startIndex": 8,
|
|
3751
|
+
"endIndex": 9
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"parameterName": "doAsync",
|
|
3756
|
+
"parameterTypeTokenRange": {
|
|
3757
|
+
"startIndex": 10,
|
|
3758
|
+
"endIndex": 11
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3761
|
+
{
|
|
3762
|
+
"parameterName": "addCb",
|
|
3763
|
+
"parameterTypeTokenRange": {
|
|
3764
|
+
"startIndex": 12,
|
|
3765
|
+
"endIndex": 13
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
],
|
|
3769
|
+
"typeParameters": [
|
|
3770
|
+
{
|
|
3771
|
+
"typeParameterName": "T",
|
|
3772
|
+
"constraintTokenRange": {
|
|
3773
|
+
"startIndex": 1,
|
|
3774
|
+
"endIndex": 3
|
|
3775
|
+
},
|
|
3776
|
+
"defaultTypeTokenRange": {
|
|
3777
|
+
"startIndex": 4,
|
|
3778
|
+
"endIndex": 5
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3781
|
+
],
|
|
3782
|
+
"name": "addPlugin"
|
|
3783
|
+
},
|
|
3659
3784
|
{
|
|
3660
3785
|
"kind": "Method",
|
|
3661
3786
|
"canonicalReference": "@microsoft/applicationinsights-web!BaseCore#addTelemetryInitializer:member(1)",
|
|
@@ -3707,6 +3832,52 @@
|
|
|
3707
3832
|
],
|
|
3708
3833
|
"name": "addTelemetryInitializer"
|
|
3709
3834
|
},
|
|
3835
|
+
{
|
|
3836
|
+
"kind": "Method",
|
|
3837
|
+
"canonicalReference": "@microsoft/applicationinsights-web!BaseCore#addUnloadCb:member(1)",
|
|
3838
|
+
"docComment": "/**\n * Add an unload handler that will be called when the SDK is being unloaded\n *\n * @param handler - the handler\n */\n",
|
|
3839
|
+
"excerptTokens": [
|
|
3840
|
+
{
|
|
3841
|
+
"kind": "Content",
|
|
3842
|
+
"text": "addUnloadCb(handler: "
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"kind": "Reference",
|
|
3846
|
+
"text": "UnloadHandler",
|
|
3847
|
+
"canonicalReference": "@microsoft/applicationinsights-web!UnloadHandler:type"
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "Content",
|
|
3851
|
+
"text": "): "
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"kind": "Content",
|
|
3855
|
+
"text": "void"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"kind": "Content",
|
|
3859
|
+
"text": ";"
|
|
3860
|
+
}
|
|
3861
|
+
],
|
|
3862
|
+
"isOptional": false,
|
|
3863
|
+
"isStatic": false,
|
|
3864
|
+
"returnTypeTokenRange": {
|
|
3865
|
+
"startIndex": 3,
|
|
3866
|
+
"endIndex": 4
|
|
3867
|
+
},
|
|
3868
|
+
"releaseTag": "Public",
|
|
3869
|
+
"overloadIndex": 1,
|
|
3870
|
+
"parameters": [
|
|
3871
|
+
{
|
|
3872
|
+
"parameterName": "handler",
|
|
3873
|
+
"parameterTypeTokenRange": {
|
|
3874
|
+
"startIndex": 1,
|
|
3875
|
+
"endIndex": 2
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
],
|
|
3879
|
+
"name": "addUnloadCb"
|
|
3880
|
+
},
|
|
3710
3881
|
{
|
|
3711
3882
|
"kind": "Property",
|
|
3712
3883
|
"canonicalReference": "@microsoft/applicationinsights-web!BaseCore#config:member",
|
|
@@ -4499,6 +4670,66 @@
|
|
|
4499
4670
|
}
|
|
4500
4671
|
],
|
|
4501
4672
|
"name": "track"
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
"kind": "Method",
|
|
4676
|
+
"canonicalReference": "@microsoft/applicationinsights-web!BaseCore#unload:member(1)",
|
|
4677
|
+
"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",
|
|
4678
|
+
"excerptTokens": [
|
|
4679
|
+
{
|
|
4680
|
+
"kind": "Content",
|
|
4681
|
+
"text": "unload(isAsync?: "
|
|
4682
|
+
},
|
|
4683
|
+
{
|
|
4684
|
+
"kind": "Content",
|
|
4685
|
+
"text": "boolean"
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
"kind": "Content",
|
|
4689
|
+
"text": ", unloadComplete?: "
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
"kind": "Content",
|
|
4693
|
+
"text": "() => void"
|
|
4694
|
+
},
|
|
4695
|
+
{
|
|
4696
|
+
"kind": "Content",
|
|
4697
|
+
"text": "): "
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
"kind": "Content",
|
|
4701
|
+
"text": "void"
|
|
4702
|
+
},
|
|
4703
|
+
{
|
|
4704
|
+
"kind": "Content",
|
|
4705
|
+
"text": ";"
|
|
4706
|
+
}
|
|
4707
|
+
],
|
|
4708
|
+
"isOptional": false,
|
|
4709
|
+
"isStatic": false,
|
|
4710
|
+
"returnTypeTokenRange": {
|
|
4711
|
+
"startIndex": 5,
|
|
4712
|
+
"endIndex": 6
|
|
4713
|
+
},
|
|
4714
|
+
"releaseTag": "Public",
|
|
4715
|
+
"overloadIndex": 1,
|
|
4716
|
+
"parameters": [
|
|
4717
|
+
{
|
|
4718
|
+
"parameterName": "isAsync",
|
|
4719
|
+
"parameterTypeTokenRange": {
|
|
4720
|
+
"startIndex": 1,
|
|
4721
|
+
"endIndex": 2
|
|
4722
|
+
}
|
|
4723
|
+
},
|
|
4724
|
+
{
|
|
4725
|
+
"parameterName": "unloadComplete",
|
|
4726
|
+
"parameterTypeTokenRange": {
|
|
4727
|
+
"startIndex": 3,
|
|
4728
|
+
"endIndex": 4
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
],
|
|
4732
|
+
"name": "unload"
|
|
4502
4733
|
}
|
|
4503
4734
|
],
|
|
4504
4735
|
"implementsTokenRanges": [
|
|
@@ -4589,6 +4820,52 @@
|
|
|
4589
4820
|
],
|
|
4590
4821
|
"name": "_addHook"
|
|
4591
4822
|
},
|
|
4823
|
+
{
|
|
4824
|
+
"kind": "Method",
|
|
4825
|
+
"canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_addUnloadCb:member(1)",
|
|
4826
|
+
"docComment": "/**\n * Add an unload handler that will be called when the SDK is being unloaded\n *\n * @param handler - the handler\n */\n",
|
|
4827
|
+
"excerptTokens": [
|
|
4828
|
+
{
|
|
4829
|
+
"kind": "Content",
|
|
4830
|
+
"text": "protected _addUnloadCb(handler: "
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
"kind": "Reference",
|
|
4834
|
+
"text": "UnloadHandler",
|
|
4835
|
+
"canonicalReference": "@microsoft/applicationinsights-web!UnloadHandler:type"
|
|
4836
|
+
},
|
|
4837
|
+
{
|
|
4838
|
+
"kind": "Content",
|
|
4839
|
+
"text": "): "
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"kind": "Content",
|
|
4843
|
+
"text": "void"
|
|
4844
|
+
},
|
|
4845
|
+
{
|
|
4846
|
+
"kind": "Content",
|
|
4847
|
+
"text": ";"
|
|
4848
|
+
}
|
|
4849
|
+
],
|
|
4850
|
+
"isOptional": false,
|
|
4851
|
+
"isStatic": false,
|
|
4852
|
+
"returnTypeTokenRange": {
|
|
4853
|
+
"startIndex": 3,
|
|
4854
|
+
"endIndex": 4
|
|
4855
|
+
},
|
|
4856
|
+
"releaseTag": "Public",
|
|
4857
|
+
"overloadIndex": 1,
|
|
4858
|
+
"parameters": [
|
|
4859
|
+
{
|
|
4860
|
+
"parameterName": "handler",
|
|
4861
|
+
"parameterTypeTokenRange": {
|
|
4862
|
+
"startIndex": 1,
|
|
4863
|
+
"endIndex": 2
|
|
4864
|
+
}
|
|
4865
|
+
}
|
|
4866
|
+
],
|
|
4867
|
+
"name": "_addUnloadCb"
|
|
4868
|
+
},
|
|
4592
4869
|
{
|
|
4593
4870
|
"kind": "Property",
|
|
4594
4871
|
"canonicalReference": "@microsoft/applicationinsights-web!BaseTelemetryPlugin#_doTeardown:member",
|
|
@@ -7906,6 +8183,130 @@
|
|
|
7906
8183
|
],
|
|
7907
8184
|
"name": "addNotificationListener"
|
|
7908
8185
|
},
|
|
8186
|
+
{
|
|
8187
|
+
"kind": "MethodSignature",
|
|
8188
|
+
"canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#addPlugin:member(1)",
|
|
8189
|
+
"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",
|
|
8190
|
+
"excerptTokens": [
|
|
8191
|
+
{
|
|
8192
|
+
"kind": "Content",
|
|
8193
|
+
"text": "addPlugin<T extends "
|
|
8194
|
+
},
|
|
8195
|
+
{
|
|
8196
|
+
"kind": "Reference",
|
|
8197
|
+
"text": "IPlugin",
|
|
8198
|
+
"canonicalReference": "@microsoft/applicationinsights-web!IPlugin:interface"
|
|
8199
|
+
},
|
|
8200
|
+
{
|
|
8201
|
+
"kind": "Content",
|
|
8202
|
+
"text": " "
|
|
8203
|
+
},
|
|
8204
|
+
{
|
|
8205
|
+
"kind": "Content",
|
|
8206
|
+
"text": "= "
|
|
8207
|
+
},
|
|
8208
|
+
{
|
|
8209
|
+
"kind": "Reference",
|
|
8210
|
+
"text": "ITelemetryPlugin",
|
|
8211
|
+
"canonicalReference": "@microsoft/applicationinsights-web!ITelemetryPlugin:interface"
|
|
8212
|
+
},
|
|
8213
|
+
{
|
|
8214
|
+
"kind": "Content",
|
|
8215
|
+
"text": ">(plugin: "
|
|
8216
|
+
},
|
|
8217
|
+
{
|
|
8218
|
+
"kind": "Content",
|
|
8219
|
+
"text": "T"
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
"kind": "Content",
|
|
8223
|
+
"text": ", replaceExisting: "
|
|
8224
|
+
},
|
|
8225
|
+
{
|
|
8226
|
+
"kind": "Content",
|
|
8227
|
+
"text": "boolean"
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"kind": "Content",
|
|
8231
|
+
"text": ", doAsync: "
|
|
8232
|
+
},
|
|
8233
|
+
{
|
|
8234
|
+
"kind": "Content",
|
|
8235
|
+
"text": "boolean"
|
|
8236
|
+
},
|
|
8237
|
+
{
|
|
8238
|
+
"kind": "Content",
|
|
8239
|
+
"text": ", addCb?: "
|
|
8240
|
+
},
|
|
8241
|
+
{
|
|
8242
|
+
"kind": "Content",
|
|
8243
|
+
"text": "(added?: boolean) => void"
|
|
8244
|
+
},
|
|
8245
|
+
{
|
|
8246
|
+
"kind": "Content",
|
|
8247
|
+
"text": "): "
|
|
8248
|
+
},
|
|
8249
|
+
{
|
|
8250
|
+
"kind": "Content",
|
|
8251
|
+
"text": "void"
|
|
8252
|
+
},
|
|
8253
|
+
{
|
|
8254
|
+
"kind": "Content",
|
|
8255
|
+
"text": ";"
|
|
8256
|
+
}
|
|
8257
|
+
],
|
|
8258
|
+
"isOptional": false,
|
|
8259
|
+
"returnTypeTokenRange": {
|
|
8260
|
+
"startIndex": 14,
|
|
8261
|
+
"endIndex": 15
|
|
8262
|
+
},
|
|
8263
|
+
"releaseTag": "Public",
|
|
8264
|
+
"overloadIndex": 1,
|
|
8265
|
+
"parameters": [
|
|
8266
|
+
{
|
|
8267
|
+
"parameterName": "plugin",
|
|
8268
|
+
"parameterTypeTokenRange": {
|
|
8269
|
+
"startIndex": 6,
|
|
8270
|
+
"endIndex": 7
|
|
8271
|
+
}
|
|
8272
|
+
},
|
|
8273
|
+
{
|
|
8274
|
+
"parameterName": "replaceExisting",
|
|
8275
|
+
"parameterTypeTokenRange": {
|
|
8276
|
+
"startIndex": 8,
|
|
8277
|
+
"endIndex": 9
|
|
8278
|
+
}
|
|
8279
|
+
},
|
|
8280
|
+
{
|
|
8281
|
+
"parameterName": "doAsync",
|
|
8282
|
+
"parameterTypeTokenRange": {
|
|
8283
|
+
"startIndex": 10,
|
|
8284
|
+
"endIndex": 11
|
|
8285
|
+
}
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
"parameterName": "addCb",
|
|
8289
|
+
"parameterTypeTokenRange": {
|
|
8290
|
+
"startIndex": 12,
|
|
8291
|
+
"endIndex": 13
|
|
8292
|
+
}
|
|
8293
|
+
}
|
|
8294
|
+
],
|
|
8295
|
+
"typeParameters": [
|
|
8296
|
+
{
|
|
8297
|
+
"typeParameterName": "T",
|
|
8298
|
+
"constraintTokenRange": {
|
|
8299
|
+
"startIndex": 1,
|
|
8300
|
+
"endIndex": 3
|
|
8301
|
+
},
|
|
8302
|
+
"defaultTypeTokenRange": {
|
|
8303
|
+
"startIndex": 4,
|
|
8304
|
+
"endIndex": 5
|
|
8305
|
+
}
|
|
8306
|
+
}
|
|
8307
|
+
],
|
|
8308
|
+
"name": "addPlugin"
|
|
8309
|
+
},
|
|
7909
8310
|
{
|
|
7910
8311
|
"kind": "MethodSignature",
|
|
7911
8312
|
"canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#addTelemetryInitializer:member(1)",
|
|
@@ -7956,6 +8357,51 @@
|
|
|
7956
8357
|
],
|
|
7957
8358
|
"name": "addTelemetryInitializer"
|
|
7958
8359
|
},
|
|
8360
|
+
{
|
|
8361
|
+
"kind": "MethodSignature",
|
|
8362
|
+
"canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#addUnloadCb:member(1)",
|
|
8363
|
+
"docComment": "/**\n * Add a handler that will be called when the SDK is being unloaded\n *\n * @param handler - the handler\n */\n",
|
|
8364
|
+
"excerptTokens": [
|
|
8365
|
+
{
|
|
8366
|
+
"kind": "Content",
|
|
8367
|
+
"text": "addUnloadCb(handler: "
|
|
8368
|
+
},
|
|
8369
|
+
{
|
|
8370
|
+
"kind": "Reference",
|
|
8371
|
+
"text": "UnloadHandler",
|
|
8372
|
+
"canonicalReference": "@microsoft/applicationinsights-web!UnloadHandler:type"
|
|
8373
|
+
},
|
|
8374
|
+
{
|
|
8375
|
+
"kind": "Content",
|
|
8376
|
+
"text": "): "
|
|
8377
|
+
},
|
|
8378
|
+
{
|
|
8379
|
+
"kind": "Content",
|
|
8380
|
+
"text": "void"
|
|
8381
|
+
},
|
|
8382
|
+
{
|
|
8383
|
+
"kind": "Content",
|
|
8384
|
+
"text": ";"
|
|
8385
|
+
}
|
|
8386
|
+
],
|
|
8387
|
+
"isOptional": false,
|
|
8388
|
+
"returnTypeTokenRange": {
|
|
8389
|
+
"startIndex": 3,
|
|
8390
|
+
"endIndex": 4
|
|
8391
|
+
},
|
|
8392
|
+
"releaseTag": "Public",
|
|
8393
|
+
"overloadIndex": 1,
|
|
8394
|
+
"parameters": [
|
|
8395
|
+
{
|
|
8396
|
+
"parameterName": "handler",
|
|
8397
|
+
"parameterTypeTokenRange": {
|
|
8398
|
+
"startIndex": 1,
|
|
8399
|
+
"endIndex": 2
|
|
8400
|
+
}
|
|
8401
|
+
}
|
|
8402
|
+
],
|
|
8403
|
+
"name": "addUnloadCb"
|
|
8404
|
+
},
|
|
7959
8405
|
{
|
|
7960
8406
|
"kind": "PropertySignature",
|
|
7961
8407
|
"canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#config:member",
|
|
@@ -8571,6 +9017,65 @@
|
|
|
8571
9017
|
}
|
|
8572
9018
|
],
|
|
8573
9019
|
"name": "track"
|
|
9020
|
+
},
|
|
9021
|
+
{
|
|
9022
|
+
"kind": "MethodSignature",
|
|
9023
|
+
"canonicalReference": "@microsoft/applicationinsights-web!IAppInsightsCore#unload:member(1)",
|
|
9024
|
+
"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",
|
|
9025
|
+
"excerptTokens": [
|
|
9026
|
+
{
|
|
9027
|
+
"kind": "Content",
|
|
9028
|
+
"text": "unload(isAsync?: "
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"kind": "Content",
|
|
9032
|
+
"text": "boolean"
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"kind": "Content",
|
|
9036
|
+
"text": ", unloadComplete?: "
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"kind": "Content",
|
|
9040
|
+
"text": "() => void"
|
|
9041
|
+
},
|
|
9042
|
+
{
|
|
9043
|
+
"kind": "Content",
|
|
9044
|
+
"text": "): "
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"kind": "Content",
|
|
9048
|
+
"text": "void"
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
"kind": "Content",
|
|
9052
|
+
"text": ";"
|
|
9053
|
+
}
|
|
9054
|
+
],
|
|
9055
|
+
"isOptional": false,
|
|
9056
|
+
"returnTypeTokenRange": {
|
|
9057
|
+
"startIndex": 5,
|
|
9058
|
+
"endIndex": 6
|
|
9059
|
+
},
|
|
9060
|
+
"releaseTag": "Public",
|
|
9061
|
+
"overloadIndex": 1,
|
|
9062
|
+
"parameters": [
|
|
9063
|
+
{
|
|
9064
|
+
"parameterName": "isAsync",
|
|
9065
|
+
"parameterTypeTokenRange": {
|
|
9066
|
+
"startIndex": 1,
|
|
9067
|
+
"endIndex": 2
|
|
9068
|
+
}
|
|
9069
|
+
},
|
|
9070
|
+
{
|
|
9071
|
+
"parameterName": "unloadComplete",
|
|
9072
|
+
"parameterTypeTokenRange": {
|
|
9073
|
+
"startIndex": 3,
|
|
9074
|
+
"endIndex": 4
|
|
9075
|
+
}
|
|
9076
|
+
}
|
|
9077
|
+
],
|
|
9078
|
+
"name": "unload"
|
|
8574
9079
|
}
|
|
8575
9080
|
],
|
|
8576
9081
|
"extendsTokenRanges": [
|
|
@@ -157,9 +157,13 @@ export class ApplicationInsightsContainer {
|
|
|
157
157
|
export class BaseCore implements IAppInsightsCore {
|
|
158
158
|
constructor();
|
|
159
159
|
addNotificationListener(listener: INotificationListener): void;
|
|
160
|
+
// (undocumented)
|
|
161
|
+
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
|
|
160
162
|
// Warning: (ae-forgotten-export) The symbol "TelemetryInitializerFunction" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
161
163
|
// Warning: (ae-forgotten-export) The symbol "ITelemetryInitializerHandler" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
162
164
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler | void;
|
|
165
|
+
// Warning: (ae-forgotten-export) The symbol "UnloadHandler" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
166
|
+
addUnloadCb(handler: UnloadHandler): void;
|
|
163
167
|
// (undocumented)
|
|
164
168
|
config: IConfiguration;
|
|
165
169
|
// (undocumented)
|
|
@@ -200,6 +204,7 @@ export class BaseCore implements IAppInsightsCore {
|
|
|
200
204
|
stopPollingInternalLogs(): void;
|
|
201
205
|
// (undocumented)
|
|
202
206
|
track(telemetryItem: ITelemetryItem): void;
|
|
207
|
+
unload(isAsync?: boolean, unloadComplete?: () => void): void;
|
|
203
208
|
}
|
|
204
209
|
|
|
205
210
|
// @public
|
|
@@ -207,6 +212,7 @@ export abstract class BaseTelemetryPlugin implements ITelemetryPlugin {
|
|
|
207
212
|
constructor();
|
|
208
213
|
// Warning: (ae-forgotten-export) The symbol "IInstrumentHook" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
209
214
|
protected _addHook(hooks: IInstrumentHook | IInstrumentHook[]): void;
|
|
215
|
+
protected _addUnloadCb(handler: UnloadHandler): void;
|
|
210
216
|
core: IAppInsightsCore;
|
|
211
217
|
diagLog: (itemCtx?: IProcessTelemetryContext) => IDiagnosticLogger;
|
|
212
218
|
// Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUnloadContext" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
@@ -391,7 +397,9 @@ export interface IAppInsights {
|
|
|
391
397
|
// @public (undocumented)
|
|
392
398
|
export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
393
399
|
addNotificationListener?(listener: INotificationListener): void;
|
|
400
|
+
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
|
|
394
401
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler | void;
|
|
402
|
+
addUnloadCb(handler: UnloadHandler): void;
|
|
395
403
|
// (undocumented)
|
|
396
404
|
config: IConfiguration;
|
|
397
405
|
evtNamespace(): string;
|
|
@@ -414,6 +422,7 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
414
422
|
stopPollingInternalLogs?(): void;
|
|
415
423
|
// (undocumented)
|
|
416
424
|
track(telemetryItem: ITelemetryItem): void;
|
|
425
|
+
unload(isAsync?: boolean, unloadComplete?: () => void): void;
|
|
417
426
|
}
|
|
418
427
|
|
|
419
428
|
// @public (undocumented)
|