@microsoft/applicationinsights-core-js 3.0.0-beta.2211-03 → 3.0.0-beta.2212-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/applicationinsights-core-js.integrity.json +9 -9
- package/browser/applicationinsights-core-js.js +1156 -1345
- package/browser/applicationinsights-core-js.js.map +1 -1
- package/browser/applicationinsights-core-js.min.js +2 -2
- package/browser/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.api.json +85 -85
- package/dist/applicationinsights-core-js.api.md +8 -8
- package/dist/applicationinsights-core-js.d.ts +7 -7
- package/dist/applicationinsights-core-js.js +1156 -1345
- package/dist/applicationinsights-core-js.js.map +1 -1
- package/dist/applicationinsights-core-js.min.js +2 -2
- package/dist/applicationinsights-core-js.min.js.map +1 -1
- package/dist/applicationinsights-core-js.rollup.d.ts +7 -7
- package/dist-esm/Config/ConfigDefaults.js +1 -1
- package/dist-esm/Config/DynamicConfig.js +1 -1
- package/dist-esm/Config/DynamicProperty.js +1 -1
- package/dist-esm/Config/DynamicState.js +1 -1
- package/dist-esm/Config/DynamicSupport.js +1 -1
- package/dist-esm/Config/IConfigDefaults.js +1 -1
- package/dist-esm/Config/IDynamicConfigHandler.js +1 -1
- package/dist-esm/Config/IDynamicPropertyHandler.js +1 -1
- package/dist-esm/Config/IDynamicWatcher.js +1 -1
- package/dist-esm/Config/_IDynamicConfigHandlerState.js +1 -1
- package/dist-esm/JavaScriptSDK/AggregationError.js +1 -1
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js +93 -63
- package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/Constants.js +8 -0
- package/dist-esm/JavaScriptSDK/Constants.js.map +1 -0
- package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
- package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
- package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
- package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
- package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
- package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +5 -5
- package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js.map +1 -1
- package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +5 -8
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js.map +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-esm/JavaScriptSDK/W3cTraceParent.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
- package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
- package/dist-esm/__DynamicConstants.js +15 -17
- package/dist-esm/__DynamicConstants.js.map +1 -1
- package/dist-esm/applicationinsights-core-js.js +1 -1
- package/package.json +2 -2
- package/src/JavaScriptSDK/AppInsightsCore.ts +98 -66
- package/src/JavaScriptSDK/Constants.ts +4 -0
- package/src/JavaScriptSDK/TelemetryHelpers.ts +5 -6
- package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +2 -2
- package/src/JavaScriptSDK.Interfaces/IChannelControls.ts +4 -4
- package/types/Config/IConfigDefaults.d.ts +3 -3
- package/types/Config/IDynamicWatcher.d.ts +1 -1
- package/types/JavaScriptSDK/AppInsightsCore.d.ts +1 -1
- package/types/JavaScriptSDK/Constants.d.ts +1 -0
- package/types/JavaScriptSDK/UnloadHandlerContainer.d.ts +1 -1
- package/types/JavaScriptSDK.Enums/EventsDiscardedReason.d.ts +1 -1
- package/types/JavaScriptSDK.Enums/LoggingEnums.d.ts +2 -2
- package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +1 -1
- package/types/JavaScriptSDK.Interfaces/IChannelControls.d.ts +4 -4
- package/types/JavaScriptSDK.Interfaces/IInstrumentHooks.d.ts +1 -1
- package/types/__DynamicConstants.d.ts +2 -4
- package/dist-esm/JavaScriptSDK/ChannelController.js +0 -217
- package/dist-esm/JavaScriptSDK/ChannelController.js.map +0 -1
- package/src/JavaScriptSDK/ChannelController.ts +0 -274
- package/types/JavaScriptSDK/ChannelController.d.ts +0 -19
|
@@ -2251,7 +2251,7 @@
|
|
|
2251
2251
|
"excerptTokens": [
|
|
2252
2252
|
{
|
|
2253
2253
|
"kind": "Content",
|
|
2254
|
-
"text": "export
|
|
2254
|
+
"text": "export type _InternalMessageId = "
|
|
2255
2255
|
},
|
|
2256
2256
|
{
|
|
2257
2257
|
"kind": "Content",
|
|
@@ -3709,6 +3709,41 @@
|
|
|
3709
3709
|
"isOptional": false,
|
|
3710
3710
|
"name": "flush"
|
|
3711
3711
|
},
|
|
3712
|
+
{
|
|
3713
|
+
"kind": "Method",
|
|
3714
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#getChannels:member(1)",
|
|
3715
|
+
"docComment": "",
|
|
3716
|
+
"excerptTokens": [
|
|
3717
|
+
{
|
|
3718
|
+
"kind": "Content",
|
|
3719
|
+
"text": "getChannels(): "
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"kind": "Reference",
|
|
3723
|
+
"text": "IChannelControls",
|
|
3724
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"kind": "Content",
|
|
3728
|
+
"text": "[]"
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"kind": "Content",
|
|
3732
|
+
"text": ";"
|
|
3733
|
+
}
|
|
3734
|
+
],
|
|
3735
|
+
"isStatic": false,
|
|
3736
|
+
"returnTypeTokenRange": {
|
|
3737
|
+
"startIndex": 1,
|
|
3738
|
+
"endIndex": 3
|
|
3739
|
+
},
|
|
3740
|
+
"releaseTag": "Public",
|
|
3741
|
+
"isProtected": false,
|
|
3742
|
+
"overloadIndex": 1,
|
|
3743
|
+
"parameters": [],
|
|
3744
|
+
"isOptional": false,
|
|
3745
|
+
"name": "getChannels"
|
|
3746
|
+
},
|
|
3712
3747
|
{
|
|
3713
3748
|
"kind": "Method",
|
|
3714
3749
|
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#getCookieMgr:member(1)",
|
|
@@ -3968,41 +4003,6 @@
|
|
|
3968
4003
|
"isOptional": false,
|
|
3969
4004
|
"name": "getTraceCtx"
|
|
3970
4005
|
},
|
|
3971
|
-
{
|
|
3972
|
-
"kind": "Method",
|
|
3973
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#getTransmissionControls:member(1)",
|
|
3974
|
-
"docComment": "",
|
|
3975
|
-
"excerptTokens": [
|
|
3976
|
-
{
|
|
3977
|
-
"kind": "Content",
|
|
3978
|
-
"text": "getTransmissionControls(): "
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
"kind": "Reference",
|
|
3982
|
-
"text": "IChannelControls",
|
|
3983
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface"
|
|
3984
|
-
},
|
|
3985
|
-
{
|
|
3986
|
-
"kind": "Content",
|
|
3987
|
-
"text": "[][]"
|
|
3988
|
-
},
|
|
3989
|
-
{
|
|
3990
|
-
"kind": "Content",
|
|
3991
|
-
"text": ";"
|
|
3992
|
-
}
|
|
3993
|
-
],
|
|
3994
|
-
"isStatic": false,
|
|
3995
|
-
"returnTypeTokenRange": {
|
|
3996
|
-
"startIndex": 1,
|
|
3997
|
-
"endIndex": 3
|
|
3998
|
-
},
|
|
3999
|
-
"releaseTag": "Public",
|
|
4000
|
-
"isProtected": false,
|
|
4001
|
-
"overloadIndex": 1,
|
|
4002
|
-
"parameters": [],
|
|
4003
|
-
"isOptional": false,
|
|
4004
|
-
"name": "getTransmissionControls"
|
|
4005
|
-
},
|
|
4006
4006
|
{
|
|
4007
4007
|
"kind": "Property",
|
|
4008
4008
|
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#getWParam:member",
|
|
@@ -7908,7 +7908,7 @@
|
|
|
7908
7908
|
"excerptTokens": [
|
|
7909
7909
|
{
|
|
7910
7910
|
"kind": "Content",
|
|
7911
|
-
"text": "export
|
|
7911
|
+
"text": "export type EventsDiscardedReason = "
|
|
7912
7912
|
},
|
|
7913
7913
|
{
|
|
7914
7914
|
"kind": "Content",
|
|
@@ -9248,6 +9248,39 @@
|
|
|
9248
9248
|
],
|
|
9249
9249
|
"name": "flush"
|
|
9250
9250
|
},
|
|
9251
|
+
{
|
|
9252
|
+
"kind": "MethodSignature",
|
|
9253
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getChannels:member(1)",
|
|
9254
|
+
"docComment": "",
|
|
9255
|
+
"excerptTokens": [
|
|
9256
|
+
{
|
|
9257
|
+
"kind": "Content",
|
|
9258
|
+
"text": "getChannels(): "
|
|
9259
|
+
},
|
|
9260
|
+
{
|
|
9261
|
+
"kind": "Reference",
|
|
9262
|
+
"text": "IChannelControls",
|
|
9263
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface"
|
|
9264
|
+
},
|
|
9265
|
+
{
|
|
9266
|
+
"kind": "Content",
|
|
9267
|
+
"text": "[]"
|
|
9268
|
+
},
|
|
9269
|
+
{
|
|
9270
|
+
"kind": "Content",
|
|
9271
|
+
"text": ";"
|
|
9272
|
+
}
|
|
9273
|
+
],
|
|
9274
|
+
"isOptional": false,
|
|
9275
|
+
"returnTypeTokenRange": {
|
|
9276
|
+
"startIndex": 1,
|
|
9277
|
+
"endIndex": 3
|
|
9278
|
+
},
|
|
9279
|
+
"releaseTag": "Public",
|
|
9280
|
+
"overloadIndex": 1,
|
|
9281
|
+
"parameters": [],
|
|
9282
|
+
"name": "getChannels"
|
|
9283
|
+
},
|
|
9251
9284
|
{
|
|
9252
9285
|
"kind": "MethodSignature",
|
|
9253
9286
|
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getCookieMgr:member(1)",
|
|
@@ -9466,39 +9499,6 @@
|
|
|
9466
9499
|
],
|
|
9467
9500
|
"name": "getTraceCtx"
|
|
9468
9501
|
},
|
|
9469
|
-
{
|
|
9470
|
-
"kind": "MethodSignature",
|
|
9471
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getTransmissionControls:member(1)",
|
|
9472
|
-
"docComment": "",
|
|
9473
|
-
"excerptTokens": [
|
|
9474
|
-
{
|
|
9475
|
-
"kind": "Content",
|
|
9476
|
-
"text": "getTransmissionControls(): "
|
|
9477
|
-
},
|
|
9478
|
-
{
|
|
9479
|
-
"kind": "Reference",
|
|
9480
|
-
"text": "IChannelControls",
|
|
9481
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface"
|
|
9482
|
-
},
|
|
9483
|
-
{
|
|
9484
|
-
"kind": "Content",
|
|
9485
|
-
"text": "[][]"
|
|
9486
|
-
},
|
|
9487
|
-
{
|
|
9488
|
-
"kind": "Content",
|
|
9489
|
-
"text": ";"
|
|
9490
|
-
}
|
|
9491
|
-
],
|
|
9492
|
-
"isOptional": false,
|
|
9493
|
-
"returnTypeTokenRange": {
|
|
9494
|
-
"startIndex": 1,
|
|
9495
|
-
"endIndex": 3
|
|
9496
|
-
},
|
|
9497
|
-
"releaseTag": "Public",
|
|
9498
|
-
"overloadIndex": 1,
|
|
9499
|
-
"parameters": [],
|
|
9500
|
-
"name": "getTransmissionControls"
|
|
9501
|
-
},
|
|
9502
9502
|
{
|
|
9503
9503
|
"kind": "PropertySignature",
|
|
9504
9504
|
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getWParam:member",
|
|
@@ -10732,7 +10732,7 @@
|
|
|
10732
10732
|
"excerptTokens": [
|
|
10733
10733
|
{
|
|
10734
10734
|
"kind": "Content",
|
|
10735
|
-
"text": "flush(async: "
|
|
10735
|
+
"text": "flush?(async: "
|
|
10736
10736
|
},
|
|
10737
10737
|
{
|
|
10738
10738
|
"kind": "Content",
|
|
@@ -10768,7 +10768,7 @@
|
|
|
10768
10768
|
"text": ";"
|
|
10769
10769
|
}
|
|
10770
10770
|
],
|
|
10771
|
-
"isOptional":
|
|
10771
|
+
"isOptional": true,
|
|
10772
10772
|
"returnTypeTokenRange": {
|
|
10773
10773
|
"startIndex": 7,
|
|
10774
10774
|
"endIndex": 8
|
|
@@ -10810,7 +10810,7 @@
|
|
|
10810
10810
|
"excerptTokens": [
|
|
10811
10811
|
{
|
|
10812
10812
|
"kind": "Content",
|
|
10813
|
-
"text": "pause(): "
|
|
10813
|
+
"text": "pause?(): "
|
|
10814
10814
|
},
|
|
10815
10815
|
{
|
|
10816
10816
|
"kind": "Content",
|
|
@@ -10821,7 +10821,7 @@
|
|
|
10821
10821
|
"text": ";"
|
|
10822
10822
|
}
|
|
10823
10823
|
],
|
|
10824
|
-
"isOptional":
|
|
10824
|
+
"isOptional": true,
|
|
10825
10825
|
"returnTypeTokenRange": {
|
|
10826
10826
|
"startIndex": 1,
|
|
10827
10827
|
"endIndex": 2
|
|
@@ -10838,7 +10838,7 @@
|
|
|
10838
10838
|
"excerptTokens": [
|
|
10839
10839
|
{
|
|
10840
10840
|
"kind": "Content",
|
|
10841
|
-
"text": "resume(): "
|
|
10841
|
+
"text": "resume?(): "
|
|
10842
10842
|
},
|
|
10843
10843
|
{
|
|
10844
10844
|
"kind": "Content",
|
|
@@ -10849,7 +10849,7 @@
|
|
|
10849
10849
|
"text": ";"
|
|
10850
10850
|
}
|
|
10851
10851
|
],
|
|
10852
|
-
"isOptional":
|
|
10852
|
+
"isOptional": true,
|
|
10853
10853
|
"returnTypeTokenRange": {
|
|
10854
10854
|
"startIndex": 1,
|
|
10855
10855
|
"endIndex": 2
|
|
@@ -10866,7 +10866,7 @@
|
|
|
10866
10866
|
"excerptTokens": [
|
|
10867
10867
|
{
|
|
10868
10868
|
"kind": "Content",
|
|
10869
|
-
"text": "teardown
|
|
10869
|
+
"text": "teardown?: "
|
|
10870
10870
|
},
|
|
10871
10871
|
{
|
|
10872
10872
|
"kind": "Content",
|
|
@@ -10896,7 +10896,7 @@
|
|
|
10896
10896
|
}
|
|
10897
10897
|
],
|
|
10898
10898
|
"isReadonly": false,
|
|
10899
|
-
"isOptional":
|
|
10899
|
+
"isOptional": true,
|
|
10900
10900
|
"releaseTag": "Public",
|
|
10901
10901
|
"name": "teardown",
|
|
10902
10902
|
"propertyTypeTokenRange": {
|
|
@@ -10919,7 +10919,7 @@
|
|
|
10919
10919
|
"excerptTokens": [
|
|
10920
10920
|
{
|
|
10921
10921
|
"kind": "Content",
|
|
10922
|
-
"text": "export
|
|
10922
|
+
"text": "export type IConfigCheckFn<V> = "
|
|
10923
10923
|
},
|
|
10924
10924
|
{
|
|
10925
10925
|
"kind": "Content",
|
|
@@ -11183,7 +11183,7 @@
|
|
|
11183
11183
|
"excerptTokens": [
|
|
11184
11184
|
{
|
|
11185
11185
|
"kind": "Content",
|
|
11186
|
-
"text": "export
|
|
11186
|
+
"text": "export type IConfigDefaults<T, C extends "
|
|
11187
11187
|
},
|
|
11188
11188
|
{
|
|
11189
11189
|
"kind": "Reference",
|
|
@@ -11260,7 +11260,7 @@
|
|
|
11260
11260
|
"excerptTokens": [
|
|
11261
11261
|
{
|
|
11262
11262
|
"kind": "Content",
|
|
11263
|
-
"text": "export
|
|
11263
|
+
"text": "export type IConfigSetFn<T, V> = "
|
|
11264
11264
|
},
|
|
11265
11265
|
{
|
|
11266
11266
|
"kind": "Content",
|
|
@@ -15759,7 +15759,7 @@
|
|
|
15759
15759
|
"excerptTokens": [
|
|
15760
15760
|
{
|
|
15761
15761
|
"kind": "Content",
|
|
15762
|
-
"text": "export
|
|
15762
|
+
"text": "export type InstrumentorHooksCallback = "
|
|
15763
15763
|
},
|
|
15764
15764
|
{
|
|
15765
15765
|
"kind": "Content",
|
|
@@ -19335,7 +19335,7 @@
|
|
|
19335
19335
|
"excerptTokens": [
|
|
19336
19336
|
{
|
|
19337
19337
|
"kind": "Content",
|
|
19338
|
-
"text": "export
|
|
19338
|
+
"text": "export type LoggingSeverity = "
|
|
19339
19339
|
},
|
|
19340
19340
|
{
|
|
19341
19341
|
"kind": "Content",
|
|
@@ -24124,7 +24124,7 @@
|
|
|
24124
24124
|
"excerptTokens": [
|
|
24125
24125
|
{
|
|
24126
24126
|
"kind": "Content",
|
|
24127
|
-
"text": "export
|
|
24127
|
+
"text": "export type UnloadHandler = "
|
|
24128
24128
|
},
|
|
24129
24129
|
{
|
|
24130
24130
|
"kind": "Content",
|
|
@@ -24196,7 +24196,7 @@
|
|
|
24196
24196
|
"excerptTokens": [
|
|
24197
24197
|
{
|
|
24198
24198
|
"kind": "Content",
|
|
24199
|
-
"text": "export
|
|
24199
|
+
"text": "export type WatcherFunction<T extends "
|
|
24200
24200
|
},
|
|
24201
24201
|
{
|
|
24202
24202
|
"kind": "Reference",
|
|
@@ -91,6 +91,8 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
91
91
|
eventCnt(): number;
|
|
92
92
|
evtNamespace(): string;
|
|
93
93
|
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
|
|
94
|
+
// (undocumented)
|
|
95
|
+
getChannels(): IChannelControls[];
|
|
94
96
|
getCookieMgr(): ICookieMgr;
|
|
95
97
|
// (undocumented)
|
|
96
98
|
getNotifyMgr(): INotificationManager;
|
|
@@ -101,8 +103,6 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
101
103
|
// (undocumented)
|
|
102
104
|
getProcessTelContext(): IProcessTelemetryContext;
|
|
103
105
|
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
104
|
-
// (undocumented)
|
|
105
|
-
getTransmissionControls(): IChannelControls[][];
|
|
106
106
|
getWParam: () => number;
|
|
107
107
|
// (undocumented)
|
|
108
108
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
@@ -534,13 +534,13 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
534
534
|
config: IConfiguration;
|
|
535
535
|
evtNamespace(): string;
|
|
536
536
|
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
|
|
537
|
+
// (undocumented)
|
|
538
|
+
getChannels(): IChannelControls[];
|
|
537
539
|
getCookieMgr(): ICookieMgr;
|
|
538
540
|
getNotifyMgr(): INotificationManager;
|
|
539
541
|
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
540
542
|
getProcessTelContext(): IProcessTelemetryContext;
|
|
541
543
|
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
542
|
-
// (undocumented)
|
|
543
|
-
getTransmissionControls(): IChannelControls[][];
|
|
544
544
|
getWParam: () => number;
|
|
545
545
|
// (undocumented)
|
|
546
546
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
@@ -580,10 +580,10 @@ export interface IBaseProcessingContext {
|
|
|
580
580
|
|
|
581
581
|
// @public
|
|
582
582
|
export interface IChannelControls extends ITelemetryPlugin {
|
|
583
|
-
flush(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
|
|
584
|
-
pause(): void;
|
|
585
|
-
resume(): void;
|
|
586
|
-
teardown
|
|
583
|
+
flush?(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
|
|
584
|
+
pause?(): void;
|
|
585
|
+
resume?(): void;
|
|
586
|
+
teardown?: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
// @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.
|
|
2
|
+
* Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.2212-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -151,7 +151,7 @@ declare namespace ApplicationInsights {
|
|
|
151
151
|
getWParam: () => number;
|
|
152
152
|
constructor();
|
|
153
153
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
154
|
-
|
|
154
|
+
getChannels(): IChannelControls[];
|
|
155
155
|
track(telemetryItem: ITelemetryItem): void;
|
|
156
156
|
getProcessTelContext(): IProcessTelemetryContext;
|
|
157
157
|
getNotifyMgr(): INotificationManager;
|
|
@@ -854,7 +854,7 @@ declare namespace ApplicationInsights {
|
|
|
854
854
|
*/
|
|
855
855
|
isInitialized?: () => boolean;
|
|
856
856
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
857
|
-
|
|
857
|
+
getChannels(): IChannelControls[];
|
|
858
858
|
track(telemetryItem: ITelemetryItem): void;
|
|
859
859
|
/**
|
|
860
860
|
* Get the current notification manager
|
|
@@ -1040,11 +1040,11 @@ declare namespace ApplicationInsights {
|
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Pause sending data
|
|
1042
1042
|
*/
|
|
1043
|
-
pause(): void;
|
|
1043
|
+
pause?(): void;
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Resume sending data
|
|
1046
1046
|
*/
|
|
1047
|
-
resume(): void;
|
|
1047
|
+
resume?(): void;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and
|
|
1050
1050
|
* therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further
|
|
@@ -1053,7 +1053,7 @@ declare namespace ApplicationInsights {
|
|
|
1053
1053
|
* @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.
|
|
1054
1054
|
* @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.
|
|
1055
1055
|
*/
|
|
1056
|
-
teardown
|
|
1056
|
+
teardown?: (unloadCtx?: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Flush to send data immediately; channel should default to sending data asynchronously
|
|
1059
1059
|
* @param async - send data asynchronously when true
|
|
@@ -1062,7 +1062,7 @@ declare namespace ApplicationInsights {
|
|
|
1062
1062
|
* @param sendReason - specify the reason that you are calling "flush" defaults to ManualFlush (1) if not specified
|
|
1063
1063
|
* @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
|
|
1064
1064
|
*/
|
|
1065
|
-
flush(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
|
|
1065
|
+
flush?(async: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): boolean | void;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
1068
|
/**
|