@microsoft/applicationinsights-core-js 3.0.0-beta.2303-03 → 3.0.0-beta.2303-04
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 +2 -2
- 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 +113 -206
- package/dist/applicationinsights-core-js.api.md +11 -14
- package/dist/applicationinsights-core-js.d.ts +15 -13
- package/dist/applicationinsights-core-js.js +2 -2
- 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 +15 -13
- package/dist-esm/Config/ConfigDefaultHelpers.js +1 -1
- 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 +1 -1
- package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/Constants.js +1 -1
- 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 +1 -1
- package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
- package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-esm/JavaScriptSDK/UnloadHookContainer.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 +1 -1
- package/dist-esm/applicationinsights-core-js.js +1 -1
- package/package.json +1 -1
- package/types/JavaScriptSDK/AppInsightsCore.d.ts +5 -6
- package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +9 -6
- package/src/JavaScriptSDK/AggregationError.ts +0 -36
- package/src/JavaScriptSDK/AppInsightsCore.ts +0 -1322
- package/src/JavaScriptSDK/BaseTelemetryPlugin.ts +0 -343
- package/src/JavaScriptSDK/Constants.ts +0 -4
- package/src/JavaScriptSDK/CookieMgr.ts +0 -449
- package/src/JavaScriptSDK/CoreUtils.ts +0 -58
- package/src/JavaScriptSDK/DataCacheHelper.ts +0 -107
- package/src/JavaScriptSDK/DbgExtensionUtils.ts +0 -56
- package/src/JavaScriptSDK/DiagnosticLogger.ts +0 -380
- package/src/JavaScriptSDK/EnvUtils.ts +0 -312
- package/src/JavaScriptSDK/EventHelpers.ts +0 -550
- package/src/JavaScriptSDK/HelperFuncs.ts +0 -351
- package/src/JavaScriptSDK/InstrumentHooks.ts +0 -280
- package/src/JavaScriptSDK/InternalConstants.ts +0 -31
- package/src/JavaScriptSDK/NotificationManager.ts +0 -165
- package/src/JavaScriptSDK/PerfManager.ts +0 -288
- package/src/JavaScriptSDK/ProcessTelemetryContext.ts +0 -674
- package/src/JavaScriptSDK/RandomHelper.ts +0 -145
- package/src/JavaScriptSDK/TelemetryHelpers.ts +0 -184
- package/src/JavaScriptSDK/TelemetryInitializerPlugin.ts +0 -112
- package/src/JavaScriptSDK/UnloadHandlerContainer.ts +0 -45
- package/src/JavaScriptSDK/UnloadHookContainer.ts +0 -52
- package/src/JavaScriptSDK/W3cTraceParent.ts +0 -197
- package/src/JavaScriptSDK.Enums/EnumHelperFuncs.ts +0 -24
- package/src/JavaScriptSDK.Enums/EventsDiscardedReason.ts +0 -71
- package/src/JavaScriptSDK.Enums/LoggingEnums.ts +0 -121
- package/src/JavaScriptSDK.Enums/SendRequestReason.ts +0 -56
- package/src/JavaScriptSDK.Enums/TelemetryUnloadReason.ts +0 -27
- package/src/JavaScriptSDK.Enums/TelemetryUpdateReason.ts +0 -27
- package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +0 -216
- package/src/JavaScriptSDK.Interfaces/IChannelControls.ts +0 -46
- package/src/JavaScriptSDK.Interfaces/IConfiguration.ts +0 -176
- package/src/JavaScriptSDK.Interfaces/ICookieMgr.ts +0 -116
- package/src/JavaScriptSDK.Interfaces/IDbgExtension.ts +0 -14
- package/src/JavaScriptSDK.Interfaces/IDiagnosticLogger.ts +0 -75
- package/src/JavaScriptSDK.Interfaces/IDistributedTraceContext.ts +0 -54
- package/src/JavaScriptSDK.Interfaces/IInstrumentHooks.ts +0 -100
- package/src/JavaScriptSDK.Interfaces/INotificationListener.ts +0 -39
- package/src/JavaScriptSDK.Interfaces/INotificationManager.ts +0 -52
- package/src/JavaScriptSDK.Interfaces/IPerfEvent.ts +0 -69
- package/src/JavaScriptSDK.Interfaces/IPerfManager.ts +0 -53
- package/src/JavaScriptSDK.Interfaces/IProcessTelemetryContext.ts +0 -157
- package/src/JavaScriptSDK.Interfaces/ITelemetryInitializers.ts +0 -17
- package/src/JavaScriptSDK.Interfaces/ITelemetryItem.ts +0 -62
- package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +0 -94
- package/src/JavaScriptSDK.Interfaces/ITelemetryPluginChain.ts +0 -30
- package/src/JavaScriptSDK.Interfaces/ITelemetryUnloadState.ts +0 -10
- package/src/JavaScriptSDK.Interfaces/ITelemetryUpdateState.ts +0 -44
- package/src/JavaScriptSDK.Interfaces/ITraceParent.ts +0 -38
- package/src/JavaScriptSDK.Interfaces/IUnloadHook.ts +0 -22
- package/src/JavaScriptSDK.Interfaces/IUnloadableComponent.ts +0 -17
|
@@ -3030,13 +3030,35 @@
|
|
|
3030
3030
|
"excerptTokens": [
|
|
3031
3031
|
{
|
|
3032
3032
|
"kind": "Content",
|
|
3033
|
-
"text": "export declare class AppInsightsCore
|
|
3033
|
+
"text": "export declare class AppInsightsCore<CfgType extends "
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"kind": "Reference",
|
|
3037
|
+
"text": "IConfiguration",
|
|
3038
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"kind": "Content",
|
|
3042
|
+
"text": " = "
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"kind": "Reference",
|
|
3046
|
+
"text": "IConfiguration",
|
|
3047
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"kind": "Content",
|
|
3051
|
+
"text": "> implements "
|
|
3034
3052
|
},
|
|
3035
3053
|
{
|
|
3036
3054
|
"kind": "Reference",
|
|
3037
3055
|
"text": "IAppInsightsCore",
|
|
3038
3056
|
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
|
|
3039
3057
|
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "Content",
|
|
3060
|
+
"text": "<CfgType>"
|
|
3061
|
+
},
|
|
3040
3062
|
{
|
|
3041
3063
|
"kind": "Content",
|
|
3042
3064
|
"text": " "
|
|
@@ -3044,6 +3066,19 @@
|
|
|
3044
3066
|
],
|
|
3045
3067
|
"fileUrlPath": "types/JavaScriptSDK/AppInsightsCore.d.ts",
|
|
3046
3068
|
"releaseTag": "Public",
|
|
3069
|
+
"typeParameters": [
|
|
3070
|
+
{
|
|
3071
|
+
"typeParameterName": "CfgType",
|
|
3072
|
+
"constraintTokenRange": {
|
|
3073
|
+
"startIndex": 1,
|
|
3074
|
+
"endIndex": 2
|
|
3075
|
+
},
|
|
3076
|
+
"defaultTypeTokenRange": {
|
|
3077
|
+
"startIndex": 3,
|
|
3078
|
+
"endIndex": 4
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3047
3082
|
"isAbstract": false,
|
|
3048
3083
|
"name": "AppInsightsCore",
|
|
3049
3084
|
"preserveMemberOrder": false,
|
|
@@ -3530,9 +3565,8 @@
|
|
|
3530
3565
|
"text": "config: "
|
|
3531
3566
|
},
|
|
3532
3567
|
{
|
|
3533
|
-
"kind": "
|
|
3534
|
-
"text": "
|
|
3535
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
3568
|
+
"kind": "Content",
|
|
3569
|
+
"text": "CfgType"
|
|
3536
3570
|
},
|
|
3537
3571
|
{
|
|
3538
3572
|
"kind": "Content",
|
|
@@ -3551,37 +3585,6 @@
|
|
|
3551
3585
|
"isProtected": false,
|
|
3552
3586
|
"isAbstract": false
|
|
3553
3587
|
},
|
|
3554
|
-
{
|
|
3555
|
-
"kind": "Property",
|
|
3556
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore.defaultConfig:member",
|
|
3557
|
-
"docComment": "",
|
|
3558
|
-
"excerptTokens": [
|
|
3559
|
-
{
|
|
3560
|
-
"kind": "Content",
|
|
3561
|
-
"text": "static defaultConfig: "
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "Reference",
|
|
3565
|
-
"text": "IConfiguration",
|
|
3566
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
3567
|
-
},
|
|
3568
|
-
{
|
|
3569
|
-
"kind": "Content",
|
|
3570
|
-
"text": ";"
|
|
3571
|
-
}
|
|
3572
|
-
],
|
|
3573
|
-
"isReadonly": false,
|
|
3574
|
-
"isOptional": false,
|
|
3575
|
-
"releaseTag": "Public",
|
|
3576
|
-
"name": "defaultConfig",
|
|
3577
|
-
"propertyTypeTokenRange": {
|
|
3578
|
-
"startIndex": 1,
|
|
3579
|
-
"endIndex": 2
|
|
3580
|
-
},
|
|
3581
|
-
"isStatic": true,
|
|
3582
|
-
"isProtected": false,
|
|
3583
|
-
"isAbstract": false
|
|
3584
|
-
},
|
|
3585
3588
|
{
|
|
3586
3589
|
"kind": "Method",
|
|
3587
3590
|
"canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#eventCnt:member(1)",
|
|
@@ -4066,9 +4069,8 @@
|
|
|
4066
4069
|
"text": "initialize(config: "
|
|
4067
4070
|
},
|
|
4068
4071
|
{
|
|
4069
|
-
"kind": "
|
|
4070
|
-
"text": "
|
|
4071
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
4072
|
+
"kind": "Content",
|
|
4073
|
+
"text": "CfgType"
|
|
4072
4074
|
},
|
|
4073
4075
|
{
|
|
4074
4076
|
"kind": "Content",
|
|
@@ -4228,25 +4230,7 @@
|
|
|
4228
4230
|
"excerptTokens": [
|
|
4229
4231
|
{
|
|
4230
4232
|
"kind": "Content",
|
|
4231
|
-
"text": "onCfgChange
|
|
4232
|
-
},
|
|
4233
|
-
{
|
|
4234
|
-
"kind": "Reference",
|
|
4235
|
-
"text": "IConfiguration",
|
|
4236
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
4237
|
-
},
|
|
4238
|
-
{
|
|
4239
|
-
"kind": "Content",
|
|
4240
|
-
"text": " = "
|
|
4241
|
-
},
|
|
4242
|
-
{
|
|
4243
|
-
"kind": "Reference",
|
|
4244
|
-
"text": "IConfiguration",
|
|
4245
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
4246
|
-
},
|
|
4247
|
-
{
|
|
4248
|
-
"kind": "Content",
|
|
4249
|
-
"text": ">(handler: "
|
|
4233
|
+
"text": "onCfgChange(handler: "
|
|
4250
4234
|
},
|
|
4251
4235
|
{
|
|
4252
4236
|
"kind": "Reference",
|
|
@@ -4255,7 +4239,7 @@
|
|
|
4255
4239
|
},
|
|
4256
4240
|
{
|
|
4257
4241
|
"kind": "Content",
|
|
4258
|
-
"text": "<
|
|
4242
|
+
"text": "<CfgType>"
|
|
4259
4243
|
},
|
|
4260
4244
|
{
|
|
4261
4245
|
"kind": "Content",
|
|
@@ -4271,23 +4255,10 @@
|
|
|
4271
4255
|
"text": ";"
|
|
4272
4256
|
}
|
|
4273
4257
|
],
|
|
4274
|
-
"typeParameters": [
|
|
4275
|
-
{
|
|
4276
|
-
"typeParameterName": "T",
|
|
4277
|
-
"constraintTokenRange": {
|
|
4278
|
-
"startIndex": 1,
|
|
4279
|
-
"endIndex": 2
|
|
4280
|
-
},
|
|
4281
|
-
"defaultTypeTokenRange": {
|
|
4282
|
-
"startIndex": 3,
|
|
4283
|
-
"endIndex": 4
|
|
4284
|
-
}
|
|
4285
|
-
}
|
|
4286
|
-
],
|
|
4287
4258
|
"isStatic": false,
|
|
4288
4259
|
"returnTypeTokenRange": {
|
|
4289
|
-
"startIndex":
|
|
4290
|
-
"endIndex":
|
|
4260
|
+
"startIndex": 4,
|
|
4261
|
+
"endIndex": 5
|
|
4291
4262
|
},
|
|
4292
4263
|
"releaseTag": "Public",
|
|
4293
4264
|
"isProtected": false,
|
|
@@ -4296,8 +4267,8 @@
|
|
|
4296
4267
|
{
|
|
4297
4268
|
"parameterName": "handler",
|
|
4298
4269
|
"parameterTypeTokenRange": {
|
|
4299
|
-
"startIndex":
|
|
4300
|
-
"endIndex":
|
|
4270
|
+
"startIndex": 1,
|
|
4271
|
+
"endIndex": 3
|
|
4301
4272
|
},
|
|
4302
4273
|
"isOptional": false
|
|
4303
4274
|
}
|
|
@@ -4818,29 +4789,11 @@
|
|
|
4818
4789
|
"excerptTokens": [
|
|
4819
4790
|
{
|
|
4820
4791
|
"kind": "Content",
|
|
4821
|
-
"text": "updateCfg
|
|
4822
|
-
},
|
|
4823
|
-
{
|
|
4824
|
-
"kind": "Reference",
|
|
4825
|
-
"text": "IConfiguration",
|
|
4826
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
4827
|
-
},
|
|
4828
|
-
{
|
|
4829
|
-
"kind": "Content",
|
|
4830
|
-
"text": " = "
|
|
4831
|
-
},
|
|
4832
|
-
{
|
|
4833
|
-
"kind": "Reference",
|
|
4834
|
-
"text": "IConfiguration",
|
|
4835
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
4792
|
+
"text": "updateCfg(newConfig: "
|
|
4836
4793
|
},
|
|
4837
4794
|
{
|
|
4838
4795
|
"kind": "Content",
|
|
4839
|
-
"text": "
|
|
4840
|
-
},
|
|
4841
|
-
{
|
|
4842
|
-
"kind": "Content",
|
|
4843
|
-
"text": "T"
|
|
4796
|
+
"text": "CfgType"
|
|
4844
4797
|
},
|
|
4845
4798
|
{
|
|
4846
4799
|
"kind": "Content",
|
|
@@ -4863,23 +4816,10 @@
|
|
|
4863
4816
|
"text": ";"
|
|
4864
4817
|
}
|
|
4865
4818
|
],
|
|
4866
|
-
"typeParameters": [
|
|
4867
|
-
{
|
|
4868
|
-
"typeParameterName": "T",
|
|
4869
|
-
"constraintTokenRange": {
|
|
4870
|
-
"startIndex": 1,
|
|
4871
|
-
"endIndex": 2
|
|
4872
|
-
},
|
|
4873
|
-
"defaultTypeTokenRange": {
|
|
4874
|
-
"startIndex": 3,
|
|
4875
|
-
"endIndex": 4
|
|
4876
|
-
}
|
|
4877
|
-
}
|
|
4878
|
-
],
|
|
4879
4819
|
"isStatic": false,
|
|
4880
4820
|
"returnTypeTokenRange": {
|
|
4881
|
-
"startIndex":
|
|
4882
|
-
"endIndex":
|
|
4821
|
+
"startIndex": 5,
|
|
4822
|
+
"endIndex": 6
|
|
4883
4823
|
},
|
|
4884
4824
|
"releaseTag": "Public",
|
|
4885
4825
|
"isProtected": false,
|
|
@@ -4888,16 +4828,16 @@
|
|
|
4888
4828
|
{
|
|
4889
4829
|
"parameterName": "newConfig",
|
|
4890
4830
|
"parameterTypeTokenRange": {
|
|
4891
|
-
"startIndex":
|
|
4892
|
-
"endIndex":
|
|
4831
|
+
"startIndex": 1,
|
|
4832
|
+
"endIndex": 2
|
|
4893
4833
|
},
|
|
4894
4834
|
"isOptional": false
|
|
4895
4835
|
},
|
|
4896
4836
|
{
|
|
4897
4837
|
"parameterName": "mergeExisting",
|
|
4898
4838
|
"parameterTypeTokenRange": {
|
|
4899
|
-
"startIndex":
|
|
4900
|
-
"endIndex":
|
|
4839
|
+
"startIndex": 3,
|
|
4840
|
+
"endIndex": 4
|
|
4901
4841
|
},
|
|
4902
4842
|
"isOptional": true
|
|
4903
4843
|
}
|
|
@@ -4909,8 +4849,8 @@
|
|
|
4909
4849
|
],
|
|
4910
4850
|
"implementsTokenRanges": [
|
|
4911
4851
|
{
|
|
4912
|
-
"startIndex":
|
|
4913
|
-
"endIndex":
|
|
4852
|
+
"startIndex": 5,
|
|
4853
|
+
"endIndex": 7
|
|
4914
4854
|
}
|
|
4915
4855
|
]
|
|
4916
4856
|
},
|
|
@@ -9499,7 +9439,25 @@
|
|
|
9499
9439
|
"excerptTokens": [
|
|
9500
9440
|
{
|
|
9501
9441
|
"kind": "Content",
|
|
9502
|
-
"text": "export interface IAppInsightsCore extends "
|
|
9442
|
+
"text": "export interface IAppInsightsCore<CfgType extends "
|
|
9443
|
+
},
|
|
9444
|
+
{
|
|
9445
|
+
"kind": "Reference",
|
|
9446
|
+
"text": "IConfiguration",
|
|
9447
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"kind": "Content",
|
|
9451
|
+
"text": " = "
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"kind": "Reference",
|
|
9455
|
+
"text": "IConfiguration",
|
|
9456
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
9457
|
+
},
|
|
9458
|
+
{
|
|
9459
|
+
"kind": "Content",
|
|
9460
|
+
"text": "> extends "
|
|
9503
9461
|
},
|
|
9504
9462
|
{
|
|
9505
9463
|
"kind": "Reference",
|
|
@@ -9513,6 +9471,19 @@
|
|
|
9513
9471
|
],
|
|
9514
9472
|
"fileUrlPath": "types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts",
|
|
9515
9473
|
"releaseTag": "Public",
|
|
9474
|
+
"typeParameters": [
|
|
9475
|
+
{
|
|
9476
|
+
"typeParameterName": "CfgType",
|
|
9477
|
+
"constraintTokenRange": {
|
|
9478
|
+
"startIndex": 1,
|
|
9479
|
+
"endIndex": 2
|
|
9480
|
+
},
|
|
9481
|
+
"defaultTypeTokenRange": {
|
|
9482
|
+
"startIndex": 3,
|
|
9483
|
+
"endIndex": 4
|
|
9484
|
+
}
|
|
9485
|
+
}
|
|
9486
|
+
],
|
|
9516
9487
|
"name": "IAppInsightsCore",
|
|
9517
9488
|
"preserveMemberOrder": false,
|
|
9518
9489
|
"members": [
|
|
@@ -9899,19 +9870,18 @@
|
|
|
9899
9870
|
"excerptTokens": [
|
|
9900
9871
|
{
|
|
9901
9872
|
"kind": "Content",
|
|
9902
|
-
"text": "config: "
|
|
9873
|
+
"text": "readonly config: "
|
|
9903
9874
|
},
|
|
9904
9875
|
{
|
|
9905
|
-
"kind": "
|
|
9906
|
-
"text": "
|
|
9907
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
9876
|
+
"kind": "Content",
|
|
9877
|
+
"text": "CfgType"
|
|
9908
9878
|
},
|
|
9909
9879
|
{
|
|
9910
9880
|
"kind": "Content",
|
|
9911
9881
|
"text": ";"
|
|
9912
9882
|
}
|
|
9913
9883
|
],
|
|
9914
|
-
"isReadonly":
|
|
9884
|
+
"isReadonly": true,
|
|
9915
9885
|
"isOptional": false,
|
|
9916
9886
|
"releaseTag": "Public",
|
|
9917
9887
|
"name": "config",
|
|
@@ -10330,9 +10300,8 @@
|
|
|
10330
10300
|
"text": "initialize(config: "
|
|
10331
10301
|
},
|
|
10332
10302
|
{
|
|
10333
|
-
"kind": "
|
|
10334
|
-
"text": "
|
|
10335
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
10303
|
+
"kind": "Content",
|
|
10304
|
+
"text": "CfgType"
|
|
10336
10305
|
},
|
|
10337
10306
|
{
|
|
10338
10307
|
"kind": "Content",
|
|
@@ -10451,11 +10420,11 @@
|
|
|
10451
10420
|
{
|
|
10452
10421
|
"kind": "PropertySignature",
|
|
10453
10422
|
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#logger:member",
|
|
10454
|
-
"docComment": "",
|
|
10423
|
+
"docComment": "/**\n * The current logger instance for this instance.\n */\n",
|
|
10455
10424
|
"excerptTokens": [
|
|
10456
10425
|
{
|
|
10457
10426
|
"kind": "Content",
|
|
10458
|
-
"text": "logger: "
|
|
10427
|
+
"text": "readonly logger: "
|
|
10459
10428
|
},
|
|
10460
10429
|
{
|
|
10461
10430
|
"kind": "Reference",
|
|
@@ -10467,7 +10436,7 @@
|
|
|
10467
10436
|
"text": ";"
|
|
10468
10437
|
}
|
|
10469
10438
|
],
|
|
10470
|
-
"isReadonly":
|
|
10439
|
+
"isReadonly": true,
|
|
10471
10440
|
"isOptional": false,
|
|
10472
10441
|
"releaseTag": "Public",
|
|
10473
10442
|
"name": "logger",
|
|
@@ -10483,25 +10452,7 @@
|
|
|
10483
10452
|
"excerptTokens": [
|
|
10484
10453
|
{
|
|
10485
10454
|
"kind": "Content",
|
|
10486
|
-
"text": "onCfgChange
|
|
10487
|
-
},
|
|
10488
|
-
{
|
|
10489
|
-
"kind": "Reference",
|
|
10490
|
-
"text": "IConfiguration",
|
|
10491
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
10492
|
-
},
|
|
10493
|
-
{
|
|
10494
|
-
"kind": "Content",
|
|
10495
|
-
"text": " = "
|
|
10496
|
-
},
|
|
10497
|
-
{
|
|
10498
|
-
"kind": "Reference",
|
|
10499
|
-
"text": "IConfiguration",
|
|
10500
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
10501
|
-
},
|
|
10502
|
-
{
|
|
10503
|
-
"kind": "Content",
|
|
10504
|
-
"text": ">(handler: "
|
|
10455
|
+
"text": "onCfgChange(handler: "
|
|
10505
10456
|
},
|
|
10506
10457
|
{
|
|
10507
10458
|
"kind": "Reference",
|
|
@@ -10510,7 +10461,7 @@
|
|
|
10510
10461
|
},
|
|
10511
10462
|
{
|
|
10512
10463
|
"kind": "Content",
|
|
10513
|
-
"text": "<
|
|
10464
|
+
"text": "<CfgType>"
|
|
10514
10465
|
},
|
|
10515
10466
|
{
|
|
10516
10467
|
"kind": "Content",
|
|
@@ -10528,8 +10479,8 @@
|
|
|
10528
10479
|
],
|
|
10529
10480
|
"isOptional": false,
|
|
10530
10481
|
"returnTypeTokenRange": {
|
|
10531
|
-
"startIndex":
|
|
10532
|
-
"endIndex":
|
|
10482
|
+
"startIndex": 4,
|
|
10483
|
+
"endIndex": 5
|
|
10533
10484
|
},
|
|
10534
10485
|
"releaseTag": "Public",
|
|
10535
10486
|
"overloadIndex": 1,
|
|
@@ -10537,23 +10488,10 @@
|
|
|
10537
10488
|
{
|
|
10538
10489
|
"parameterName": "handler",
|
|
10539
10490
|
"parameterTypeTokenRange": {
|
|
10540
|
-
"startIndex": 5,
|
|
10541
|
-
"endIndex": 7
|
|
10542
|
-
},
|
|
10543
|
-
"isOptional": false
|
|
10544
|
-
}
|
|
10545
|
-
],
|
|
10546
|
-
"typeParameters": [
|
|
10547
|
-
{
|
|
10548
|
-
"typeParameterName": "T",
|
|
10549
|
-
"constraintTokenRange": {
|
|
10550
10491
|
"startIndex": 1,
|
|
10551
|
-
"endIndex":
|
|
10492
|
+
"endIndex": 3
|
|
10552
10493
|
},
|
|
10553
|
-
"
|
|
10554
|
-
"startIndex": 3,
|
|
10555
|
-
"endIndex": 4
|
|
10556
|
-
}
|
|
10494
|
+
"isOptional": false
|
|
10557
10495
|
}
|
|
10558
10496
|
],
|
|
10559
10497
|
"name": "onCfgChange"
|
|
@@ -10967,29 +10905,11 @@
|
|
|
10967
10905
|
"excerptTokens": [
|
|
10968
10906
|
{
|
|
10969
10907
|
"kind": "Content",
|
|
10970
|
-
"text": "updateCfg
|
|
10971
|
-
},
|
|
10972
|
-
{
|
|
10973
|
-
"kind": "Reference",
|
|
10974
|
-
"text": "IConfiguration",
|
|
10975
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
10908
|
+
"text": "updateCfg(newConfig: "
|
|
10976
10909
|
},
|
|
10977
10910
|
{
|
|
10978
10911
|
"kind": "Content",
|
|
10979
|
-
"text": "
|
|
10980
|
-
},
|
|
10981
|
-
{
|
|
10982
|
-
"kind": "Reference",
|
|
10983
|
-
"text": "IConfiguration",
|
|
10984
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
|
|
10985
|
-
},
|
|
10986
|
-
{
|
|
10987
|
-
"kind": "Content",
|
|
10988
|
-
"text": ">(newConfig: "
|
|
10989
|
-
},
|
|
10990
|
-
{
|
|
10991
|
-
"kind": "Content",
|
|
10992
|
-
"text": "T"
|
|
10912
|
+
"text": "CfgType"
|
|
10993
10913
|
},
|
|
10994
10914
|
{
|
|
10995
10915
|
"kind": "Content",
|
|
@@ -11014,8 +10934,8 @@
|
|
|
11014
10934
|
],
|
|
11015
10935
|
"isOptional": false,
|
|
11016
10936
|
"returnTypeTokenRange": {
|
|
11017
|
-
"startIndex":
|
|
11018
|
-
"endIndex":
|
|
10937
|
+
"startIndex": 5,
|
|
10938
|
+
"endIndex": 6
|
|
11019
10939
|
},
|
|
11020
10940
|
"releaseTag": "Public",
|
|
11021
10941
|
"overloadIndex": 1,
|
|
@@ -11023,31 +10943,18 @@
|
|
|
11023
10943
|
{
|
|
11024
10944
|
"parameterName": "newConfig",
|
|
11025
10945
|
"parameterTypeTokenRange": {
|
|
11026
|
-
"startIndex":
|
|
11027
|
-
"endIndex":
|
|
10946
|
+
"startIndex": 1,
|
|
10947
|
+
"endIndex": 2
|
|
11028
10948
|
},
|
|
11029
10949
|
"isOptional": false
|
|
11030
10950
|
},
|
|
11031
10951
|
{
|
|
11032
10952
|
"parameterName": "mergeExisting",
|
|
11033
10953
|
"parameterTypeTokenRange": {
|
|
11034
|
-
"startIndex": 7,
|
|
11035
|
-
"endIndex": 8
|
|
11036
|
-
},
|
|
11037
|
-
"isOptional": true
|
|
11038
|
-
}
|
|
11039
|
-
],
|
|
11040
|
-
"typeParameters": [
|
|
11041
|
-
{
|
|
11042
|
-
"typeParameterName": "T",
|
|
11043
|
-
"constraintTokenRange": {
|
|
11044
|
-
"startIndex": 1,
|
|
11045
|
-
"endIndex": 2
|
|
11046
|
-
},
|
|
11047
|
-
"defaultTypeTokenRange": {
|
|
11048
10954
|
"startIndex": 3,
|
|
11049
10955
|
"endIndex": 4
|
|
11050
|
-
}
|
|
10956
|
+
},
|
|
10957
|
+
"isOptional": true
|
|
11051
10958
|
}
|
|
11052
10959
|
],
|
|
11053
10960
|
"name": "updateCfg"
|
|
@@ -11055,8 +10962,8 @@
|
|
|
11055
10962
|
],
|
|
11056
10963
|
"extendsTokenRanges": [
|
|
11057
10964
|
{
|
|
11058
|
-
"startIndex":
|
|
11059
|
-
"endIndex":
|
|
10965
|
+
"startIndex": 5,
|
|
10966
|
+
"endIndex": 6
|
|
11060
10967
|
}
|
|
11061
10968
|
]
|
|
11062
10969
|
},
|
|
@@ -76,7 +76,7 @@ export function addPageShowEventListener(listener: any, excludeEvents?: string[]
|
|
|
76
76
|
export function addPageUnloadEventListener(listener: any, excludeEvents?: string[], evtNamespace?: string | string[]): boolean;
|
|
77
77
|
|
|
78
78
|
// @public (undocumented)
|
|
79
|
-
export class AppInsightsCore implements IAppInsightsCore {
|
|
79
|
+
export class AppInsightsCore<CfgType extends IConfiguration = IConfiguration> implements IAppInsightsCore<CfgType> {
|
|
80
80
|
constructor();
|
|
81
81
|
addNotificationListener(listener: INotificationListener): void;
|
|
82
82
|
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
|
|
@@ -84,9 +84,7 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
84
84
|
addUnloadCb(handler: UnloadHandler): void;
|
|
85
85
|
addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
|
|
86
86
|
// (undocumented)
|
|
87
|
-
config:
|
|
88
|
-
// (undocumented)
|
|
89
|
-
static defaultConfig: IConfiguration;
|
|
87
|
+
config: CfgType;
|
|
90
88
|
// (undocumented)
|
|
91
89
|
eventCnt(): number;
|
|
92
90
|
evtNamespace(): string;
|
|
@@ -105,11 +103,11 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
105
103
|
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
106
104
|
getWParam: () => number;
|
|
107
105
|
// (undocumented)
|
|
108
|
-
initialize(config:
|
|
106
|
+
initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
109
107
|
isInitialized: () => boolean;
|
|
110
108
|
// (undocumented)
|
|
111
109
|
logger: IDiagnosticLogger;
|
|
112
|
-
onCfgChange
|
|
110
|
+
onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
|
|
113
111
|
readonly pluginVersionString: string;
|
|
114
112
|
readonly pluginVersionStringArr: string[];
|
|
115
113
|
pollInternalLogs(eventName?: string): ITimerHandler;
|
|
@@ -124,7 +122,7 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
124
122
|
// (undocumented)
|
|
125
123
|
track(telemetryItem: ITelemetryItem): void;
|
|
126
124
|
unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
|
|
127
|
-
updateCfg
|
|
125
|
+
updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
|
|
128
126
|
protected _updateHook?(updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState): void | boolean;
|
|
129
127
|
}
|
|
130
128
|
|
|
@@ -543,14 +541,14 @@ export { hasOwnProperty }
|
|
|
543
541
|
export { hasWindow }
|
|
544
542
|
|
|
545
543
|
// @public (undocumented)
|
|
546
|
-
export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
544
|
+
export interface IAppInsightsCore<CfgType extends IConfiguration = IConfiguration> extends IPerfManagerProvider {
|
|
547
545
|
addNotificationListener?(listener: INotificationListener): void;
|
|
548
546
|
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
|
|
549
547
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
550
548
|
addUnloadCb(handler: UnloadHandler): void;
|
|
551
549
|
addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
|
|
552
550
|
// (undocumented)
|
|
553
|
-
config:
|
|
551
|
+
readonly config: CfgType;
|
|
554
552
|
evtNamespace(): string;
|
|
555
553
|
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
|
|
556
554
|
// (undocumented)
|
|
@@ -562,11 +560,10 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
562
560
|
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
563
561
|
getWParam: () => number;
|
|
564
562
|
// (undocumented)
|
|
565
|
-
initialize(config:
|
|
563
|
+
initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
566
564
|
isInitialized?: () => boolean;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
|
|
565
|
+
readonly logger: IDiagnosticLogger;
|
|
566
|
+
onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
|
|
570
567
|
readonly pluginVersionString: string;
|
|
571
568
|
readonly pluginVersionStringArr: string[];
|
|
572
569
|
// (undocumented)
|
|
@@ -579,7 +576,7 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
579
576
|
// (undocumented)
|
|
580
577
|
track(telemetryItem: ITelemetryItem): void;
|
|
581
578
|
unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
|
|
582
|
-
updateCfg
|
|
579
|
+
updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
|
|
583
580
|
}
|
|
584
581
|
|
|
585
582
|
// @public (undocumented)
|