@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-21 → 3.0.0-beta.2211-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/aib.2.js +131 -46
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/browser/aib.3.0.0-beta.2211-03.integrity.json +26 -0
- package/browser/{aib.3.0.0-beta.2210-21.js → aib.3.0.0-beta.2211-03.js} +132 -47
- package/browser/aib.3.0.0-beta.2211-03.js.map +1 -0
- package/browser/aib.3.0.0-beta.2211-03.min.js +6 -0
- package/browser/aib.3.0.0-beta.2211-03.min.js.map +1 -0
- package/dist/applicationinsights-web-basic.api.json +203 -40
- package/dist/applicationinsights-web-basic.api.md +10 -5
- package/dist/applicationinsights-web-basic.d.ts +36 -4
- package/dist/applicationinsights-web-basic.js +131 -46
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +36 -4
- package/dist-esm/__DynamicConstants.js +1 -2
- package/dist-esm/__DynamicConstants.js.map +1 -1
- package/dist-esm/index.js +4 -10
- package/dist-esm/index.js.map +1 -1
- package/package.json +4 -4
- package/src/__DynamicConstants.ts +0 -1
- package/src/index.ts +1 -11
- package/types/__DynamicConstants.d.ts +0 -1
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.3.0.0-beta.2210-21.integrity.json +0 -26
- package/browser/aib.3.0.0-beta.2210-21.js.map +0 -1
- package/browser/aib.3.0.0-beta.2210-21.min.js +0 -6
- package/browser/aib.3.0.0-beta.2210-21.min.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.33.
|
|
4
|
+
"toolVersion": "7.33.6",
|
|
5
5
|
"schemaVersion": 1010,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -1998,40 +1998,6 @@
|
|
|
1998
1998
|
"name": "AppInsightsCore",
|
|
1999
1999
|
"preserveMemberOrder": false,
|
|
2000
2000
|
"members": [
|
|
2001
|
-
{
|
|
2002
|
-
"kind": "Property",
|
|
2003
|
-
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#_extensions:member",
|
|
2004
|
-
"docComment": "",
|
|
2005
|
-
"excerptTokens": [
|
|
2006
|
-
{
|
|
2007
|
-
"kind": "Content",
|
|
2008
|
-
"text": "_extensions: "
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"kind": "Reference",
|
|
2012
|
-
"text": "IPlugin",
|
|
2013
|
-
"canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin:interface"
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"kind": "Content",
|
|
2017
|
-
"text": "[]"
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "Content",
|
|
2021
|
-
"text": ";"
|
|
2022
|
-
}
|
|
2023
|
-
],
|
|
2024
|
-
"isReadonly": false,
|
|
2025
|
-
"isOptional": false,
|
|
2026
|
-
"releaseTag": "Public",
|
|
2027
|
-
"name": "_extensions",
|
|
2028
|
-
"propertyTypeTokenRange": {
|
|
2029
|
-
"startIndex": 1,
|
|
2030
|
-
"endIndex": 3
|
|
2031
|
-
},
|
|
2032
|
-
"isStatic": false,
|
|
2033
|
-
"isProtected": false
|
|
2034
|
-
},
|
|
2035
2001
|
{
|
|
2036
2002
|
"kind": "Method",
|
|
2037
2003
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#_updateHook:member(1)",
|
|
@@ -2992,6 +2958,35 @@
|
|
|
2992
2958
|
"isOptional": false,
|
|
2993
2959
|
"name": "getTransmissionControls"
|
|
2994
2960
|
},
|
|
2961
|
+
{
|
|
2962
|
+
"kind": "Property",
|
|
2963
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#getWParam:member",
|
|
2964
|
+
"docComment": "/**\n * Function used to identify the get w parameter used to identify status bit to some channels\n */\n",
|
|
2965
|
+
"excerptTokens": [
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "Content",
|
|
2968
|
+
"text": "getWParam: "
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"kind": "Content",
|
|
2972
|
+
"text": "() => number"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "Content",
|
|
2976
|
+
"text": ";"
|
|
2977
|
+
}
|
|
2978
|
+
],
|
|
2979
|
+
"isReadonly": false,
|
|
2980
|
+
"isOptional": false,
|
|
2981
|
+
"releaseTag": "Public",
|
|
2982
|
+
"name": "getWParam",
|
|
2983
|
+
"propertyTypeTokenRange": {
|
|
2984
|
+
"startIndex": 1,
|
|
2985
|
+
"endIndex": 2
|
|
2986
|
+
},
|
|
2987
|
+
"isStatic": false,
|
|
2988
|
+
"isProtected": false
|
|
2989
|
+
},
|
|
2995
2990
|
{
|
|
2996
2991
|
"kind": "Method",
|
|
2997
2992
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#initialize:member(1)",
|
|
@@ -3098,7 +3093,7 @@
|
|
|
3098
3093
|
{
|
|
3099
3094
|
"kind": "Property",
|
|
3100
3095
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#isInitialized:member",
|
|
3101
|
-
"docComment": "",
|
|
3096
|
+
"docComment": "/**\n * Returns a value that indicates whether the instance has already been previously initialized.\n */\n",
|
|
3102
3097
|
"excerptTokens": [
|
|
3103
3098
|
{
|
|
3104
3099
|
"kind": "Content",
|
|
@@ -3238,6 +3233,64 @@
|
|
|
3238
3233
|
"isOptional": false,
|
|
3239
3234
|
"name": "onCfgChange"
|
|
3240
3235
|
},
|
|
3236
|
+
{
|
|
3237
|
+
"kind": "Property",
|
|
3238
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#pluginVersionString:member",
|
|
3239
|
+
"docComment": "/**\n * The formatted string of the installed plugins that contain a version number\n */\n",
|
|
3240
|
+
"excerptTokens": [
|
|
3241
|
+
{
|
|
3242
|
+
"kind": "Content",
|
|
3243
|
+
"text": "readonly pluginVersionString: "
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"kind": "Content",
|
|
3247
|
+
"text": "string"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "Content",
|
|
3251
|
+
"text": ";"
|
|
3252
|
+
}
|
|
3253
|
+
],
|
|
3254
|
+
"isReadonly": true,
|
|
3255
|
+
"isOptional": false,
|
|
3256
|
+
"releaseTag": "Public",
|
|
3257
|
+
"name": "pluginVersionString",
|
|
3258
|
+
"propertyTypeTokenRange": {
|
|
3259
|
+
"startIndex": 1,
|
|
3260
|
+
"endIndex": 2
|
|
3261
|
+
},
|
|
3262
|
+
"isStatic": false,
|
|
3263
|
+
"isProtected": false
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
"kind": "Property",
|
|
3267
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#pluginVersionStringArr:member",
|
|
3268
|
+
"docComment": "/**\n * An array of the installed plugins that provide a version\n */\n",
|
|
3269
|
+
"excerptTokens": [
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "Content",
|
|
3272
|
+
"text": "readonly pluginVersionStringArr: "
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "Content",
|
|
3276
|
+
"text": "string[]"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"kind": "Content",
|
|
3280
|
+
"text": ";"
|
|
3281
|
+
}
|
|
3282
|
+
],
|
|
3283
|
+
"isReadonly": true,
|
|
3284
|
+
"isOptional": false,
|
|
3285
|
+
"releaseTag": "Public",
|
|
3286
|
+
"name": "pluginVersionStringArr",
|
|
3287
|
+
"propertyTypeTokenRange": {
|
|
3288
|
+
"startIndex": 1,
|
|
3289
|
+
"endIndex": 2
|
|
3290
|
+
},
|
|
3291
|
+
"isStatic": false,
|
|
3292
|
+
"isProtected": false
|
|
3293
|
+
},
|
|
3241
3294
|
{
|
|
3242
3295
|
"kind": "Method",
|
|
3243
3296
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!AppInsightsCore#pollInternalLogs:member(1)",
|
|
@@ -3256,8 +3309,9 @@
|
|
|
3256
3309
|
"text": "): "
|
|
3257
3310
|
},
|
|
3258
3311
|
{
|
|
3259
|
-
"kind": "
|
|
3260
|
-
"text": "
|
|
3312
|
+
"kind": "Reference",
|
|
3313
|
+
"text": "ITimerHandler",
|
|
3314
|
+
"canonicalReference": "@nevware21/ts-utils!ITimerHandler:interface"
|
|
3261
3315
|
},
|
|
3262
3316
|
{
|
|
3263
3317
|
"kind": "Content",
|
|
@@ -5362,6 +5416,33 @@
|
|
|
5362
5416
|
"parameters": [],
|
|
5363
5417
|
"name": "getTransmissionControls"
|
|
5364
5418
|
},
|
|
5419
|
+
{
|
|
5420
|
+
"kind": "PropertySignature",
|
|
5421
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getWParam:member",
|
|
5422
|
+
"docComment": "/**\n * Function used to identify the get w parameter used to identify status bit to some channels\n */\n",
|
|
5423
|
+
"excerptTokens": [
|
|
5424
|
+
{
|
|
5425
|
+
"kind": "Content",
|
|
5426
|
+
"text": "getWParam: "
|
|
5427
|
+
},
|
|
5428
|
+
{
|
|
5429
|
+
"kind": "Content",
|
|
5430
|
+
"text": "() => number"
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"kind": "Content",
|
|
5434
|
+
"text": ";"
|
|
5435
|
+
}
|
|
5436
|
+
],
|
|
5437
|
+
"isReadonly": false,
|
|
5438
|
+
"isOptional": false,
|
|
5439
|
+
"releaseTag": "Public",
|
|
5440
|
+
"name": "getWParam",
|
|
5441
|
+
"propertyTypeTokenRange": {
|
|
5442
|
+
"startIndex": 1,
|
|
5443
|
+
"endIndex": 2
|
|
5444
|
+
}
|
|
5445
|
+
},
|
|
5365
5446
|
{
|
|
5366
5447
|
"kind": "MethodSignature",
|
|
5367
5448
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#initialize:member(1)",
|
|
@@ -5600,6 +5681,60 @@
|
|
|
5600
5681
|
],
|
|
5601
5682
|
"name": "onCfgChange"
|
|
5602
5683
|
},
|
|
5684
|
+
{
|
|
5685
|
+
"kind": "PropertySignature",
|
|
5686
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pluginVersionString:member",
|
|
5687
|
+
"docComment": "/**\n * The formatted string of the installed plugins that contain a version number\n */\n",
|
|
5688
|
+
"excerptTokens": [
|
|
5689
|
+
{
|
|
5690
|
+
"kind": "Content",
|
|
5691
|
+
"text": "readonly pluginVersionString: "
|
|
5692
|
+
},
|
|
5693
|
+
{
|
|
5694
|
+
"kind": "Content",
|
|
5695
|
+
"text": "string"
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
"kind": "Content",
|
|
5699
|
+
"text": ";"
|
|
5700
|
+
}
|
|
5701
|
+
],
|
|
5702
|
+
"isReadonly": true,
|
|
5703
|
+
"isOptional": false,
|
|
5704
|
+
"releaseTag": "Public",
|
|
5705
|
+
"name": "pluginVersionString",
|
|
5706
|
+
"propertyTypeTokenRange": {
|
|
5707
|
+
"startIndex": 1,
|
|
5708
|
+
"endIndex": 2
|
|
5709
|
+
}
|
|
5710
|
+
},
|
|
5711
|
+
{
|
|
5712
|
+
"kind": "PropertySignature",
|
|
5713
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pluginVersionStringArr:member",
|
|
5714
|
+
"docComment": "/**\n * An array of the installed plugins that provide a version\n */\n",
|
|
5715
|
+
"excerptTokens": [
|
|
5716
|
+
{
|
|
5717
|
+
"kind": "Content",
|
|
5718
|
+
"text": "readonly pluginVersionStringArr: "
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"kind": "Content",
|
|
5722
|
+
"text": "string[]"
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
"kind": "Content",
|
|
5726
|
+
"text": ";"
|
|
5727
|
+
}
|
|
5728
|
+
],
|
|
5729
|
+
"isReadonly": true,
|
|
5730
|
+
"isOptional": false,
|
|
5731
|
+
"releaseTag": "Public",
|
|
5732
|
+
"name": "pluginVersionStringArr",
|
|
5733
|
+
"propertyTypeTokenRange": {
|
|
5734
|
+
"startIndex": 1,
|
|
5735
|
+
"endIndex": 2
|
|
5736
|
+
}
|
|
5737
|
+
},
|
|
5603
5738
|
{
|
|
5604
5739
|
"kind": "MethodSignature",
|
|
5605
5740
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pollInternalLogs:member(1)",
|
|
@@ -5618,8 +5753,9 @@
|
|
|
5618
5753
|
"text": "): "
|
|
5619
5754
|
},
|
|
5620
5755
|
{
|
|
5621
|
-
"kind": "
|
|
5622
|
-
"text": "
|
|
5756
|
+
"kind": "Reference",
|
|
5757
|
+
"text": "ITimerHandler",
|
|
5758
|
+
"canonicalReference": "@nevware21/ts-utils!ITimerHandler:interface"
|
|
5623
5759
|
},
|
|
5624
5760
|
{
|
|
5625
5761
|
"kind": "Content",
|
|
@@ -6736,6 +6872,33 @@
|
|
|
6736
6872
|
"endIndex": 2
|
|
6737
6873
|
}
|
|
6738
6874
|
},
|
|
6875
|
+
{
|
|
6876
|
+
"kind": "PropertySignature",
|
|
6877
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#enableWParam:member",
|
|
6878
|
+
"docComment": "/**\n * Add \"&w=0\" parameter to support UA Parsing when web-workers don't have access to Document. Default is false\n */\n",
|
|
6879
|
+
"excerptTokens": [
|
|
6880
|
+
{
|
|
6881
|
+
"kind": "Content",
|
|
6882
|
+
"text": "enableWParam?: "
|
|
6883
|
+
},
|
|
6884
|
+
{
|
|
6885
|
+
"kind": "Content",
|
|
6886
|
+
"text": "boolean"
|
|
6887
|
+
},
|
|
6888
|
+
{
|
|
6889
|
+
"kind": "Content",
|
|
6890
|
+
"text": ";"
|
|
6891
|
+
}
|
|
6892
|
+
],
|
|
6893
|
+
"isReadonly": false,
|
|
6894
|
+
"isOptional": true,
|
|
6895
|
+
"releaseTag": "Public",
|
|
6896
|
+
"name": "enableWParam",
|
|
6897
|
+
"propertyTypeTokenRange": {
|
|
6898
|
+
"startIndex": 1,
|
|
6899
|
+
"endIndex": 2
|
|
6900
|
+
}
|
|
6901
|
+
},
|
|
6739
6902
|
{
|
|
6740
6903
|
"kind": "PropertySignature",
|
|
6741
6904
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#endpointUrl:member",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { arrForEach } from '@nevware21/ts-utils';
|
|
8
8
|
import { EnumCls } from '@nevware21/ts-utils';
|
|
9
9
|
import { isNullOrUndefined } from '@nevware21/ts-utils';
|
|
10
|
+
import { ITimerHandler } from '@nevware21/ts-utils';
|
|
10
11
|
import { throwError } from '@nevware21/ts-utils';
|
|
11
12
|
|
|
12
13
|
// @public (undocumented)
|
|
@@ -30,8 +31,6 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
30
31
|
// (undocumented)
|
|
31
32
|
eventCnt(): number;
|
|
32
33
|
evtNamespace(): string;
|
|
33
|
-
// (undocumented)
|
|
34
|
-
_extensions: IPlugin[];
|
|
35
34
|
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
|
|
36
35
|
// Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point index.d.ts
|
|
37
36
|
getCookieMgr(): ICookieMgr;
|
|
@@ -53,11 +52,11 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
53
52
|
//
|
|
54
53
|
// (undocumented)
|
|
55
54
|
getTransmissionControls(): IChannelControls[][];
|
|
55
|
+
getWParam: () => number;
|
|
56
56
|
// Warning: (ae-forgotten-export) The symbol "INotificationManager" needs to be exported by the entry point index.d.ts
|
|
57
57
|
//
|
|
58
58
|
// (undocumented)
|
|
59
59
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
60
|
-
// (undocumented)
|
|
61
60
|
isInitialized: () => boolean;
|
|
62
61
|
// Warning: (ae-forgotten-export) The symbol "IDiagnosticLogger" needs to be exported by the entry point index.d.ts
|
|
63
62
|
//
|
|
@@ -65,7 +64,9 @@ export class AppInsightsCore implements IAppInsightsCore {
|
|
|
65
64
|
logger: IDiagnosticLogger;
|
|
66
65
|
// Warning: (ae-forgotten-export) The symbol "WatcherFunction" needs to be exported by the entry point index.d.ts
|
|
67
66
|
onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
|
|
68
|
-
|
|
67
|
+
readonly pluginVersionString: string;
|
|
68
|
+
readonly pluginVersionStringArr: string[];
|
|
69
|
+
pollInternalLogs(eventName?: string): ITimerHandler;
|
|
69
70
|
// (undocumented)
|
|
70
71
|
protected releaseQueue(): void;
|
|
71
72
|
removeNotificationListener(listener: INotificationListener): void;
|
|
@@ -317,14 +318,17 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
|
|
|
317
318
|
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
318
319
|
// (undocumented)
|
|
319
320
|
getTransmissionControls(): IChannelControls[][];
|
|
321
|
+
getWParam: () => number;
|
|
320
322
|
// (undocumented)
|
|
321
323
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
322
324
|
isInitialized?: () => boolean;
|
|
323
325
|
// (undocumented)
|
|
324
326
|
logger: IDiagnosticLogger;
|
|
325
327
|
onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
|
|
328
|
+
readonly pluginVersionString: string;
|
|
329
|
+
readonly pluginVersionStringArr: string[];
|
|
326
330
|
// (undocumented)
|
|
327
|
-
pollInternalLogs?(eventName?: string):
|
|
331
|
+
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
328
332
|
removeNotificationListener?(listener: INotificationListener): void;
|
|
329
333
|
setCookieMgr(cookieMgr: ICookieMgr): void;
|
|
330
334
|
setTraceCtx(newTraceCtx: IDistributedTraceContext | null | undefined): void;
|
|
@@ -367,6 +371,7 @@ export interface IConfiguration {
|
|
|
367
371
|
disablePageUnloadEvents?: string[];
|
|
368
372
|
enableDebugExceptions?: boolean;
|
|
369
373
|
enablePerfMgr?: boolean;
|
|
374
|
+
enableWParam?: boolean;
|
|
370
375
|
endpointUrl?: string;
|
|
371
376
|
extensionConfig?: {
|
|
372
377
|
[key: string]: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.0.0-beta.
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.0.0-beta.2211-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -10,14 +10,29 @@ declare namespace ApplicationInsights {
|
|
|
10
10
|
import { arrForEach } from '@nevware21/ts-utils';
|
|
11
11
|
import { EnumCls } from '@nevware21/ts-utils';
|
|
12
12
|
import { isNullOrUndefined } from '@nevware21/ts-utils';
|
|
13
|
+
import { ITimerHandler } from '@nevware21/ts-utils';
|
|
13
14
|
import { throwError } from '@nevware21/ts-utils';
|
|
14
15
|
|
|
15
16
|
class AppInsightsCore implements IAppInsightsCore {
|
|
16
17
|
static defaultConfig: IConfiguration;
|
|
17
18
|
config: IConfiguration;
|
|
18
19
|
logger: IDiagnosticLogger;
|
|
19
|
-
|
|
20
|
+
/**
|
|
21
|
+
* An array of the installed plugins that provide a version
|
|
22
|
+
*/
|
|
23
|
+
readonly pluginVersionStringArr: string[];
|
|
24
|
+
/**
|
|
25
|
+
* The formatted string of the installed plugins that contain a version number
|
|
26
|
+
*/
|
|
27
|
+
readonly pluginVersionString: string;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a value that indicates whether the instance has already been previously initialized.
|
|
30
|
+
*/
|
|
20
31
|
isInitialized: () => boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Function used to identify the get w parameter used to identify status bit to some channels
|
|
34
|
+
*/
|
|
35
|
+
getWParam: () => number;
|
|
21
36
|
constructor();
|
|
22
37
|
initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
23
38
|
getTransmissionControls(): IChannelControls[][];
|
|
@@ -51,7 +66,7 @@ declare namespace ApplicationInsights {
|
|
|
51
66
|
/**
|
|
52
67
|
* Periodically check logger.queue for
|
|
53
68
|
*/
|
|
54
|
-
pollInternalLogs(eventName?: string):
|
|
69
|
+
pollInternalLogs(eventName?: string): ITimerHandler;
|
|
55
70
|
/**
|
|
56
71
|
* Periodically check logger.queue for
|
|
57
72
|
*/
|
|
@@ -437,6 +452,14 @@ declare namespace ApplicationInsights {
|
|
|
437
452
|
interface IAppInsightsCore extends IPerfManagerProvider {
|
|
438
453
|
config: IConfiguration;
|
|
439
454
|
logger: IDiagnosticLogger;
|
|
455
|
+
/**
|
|
456
|
+
* An array of the installed plugins that provide a version
|
|
457
|
+
*/
|
|
458
|
+
readonly pluginVersionStringArr: string[];
|
|
459
|
+
/**
|
|
460
|
+
* The formatted string of the installed plugins that contain a version number
|
|
461
|
+
*/
|
|
462
|
+
readonly pluginVersionString: string;
|
|
440
463
|
/**
|
|
441
464
|
* Returns a value that indicates whether the instance has already been previously initialized.
|
|
442
465
|
*/
|
|
@@ -475,7 +498,7 @@ declare namespace ApplicationInsights {
|
|
|
475
498
|
* @returns - A ITelemetryInitializerHandler to enable the initializer to be removed
|
|
476
499
|
*/
|
|
477
500
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
478
|
-
pollInternalLogs?(eventName?: string):
|
|
501
|
+
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
479
502
|
stopPollingInternalLogs?(): void;
|
|
480
503
|
/**
|
|
481
504
|
* Return a new instance of the IProcessTelemetryContext for processing events
|
|
@@ -554,6 +577,10 @@ declare namespace ApplicationInsights {
|
|
|
554
577
|
* @returns A watcher handler instance that can be used to remove itself when being unloaded
|
|
555
578
|
*/
|
|
556
579
|
onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
|
|
580
|
+
/**
|
|
581
|
+
* Function used to identify the get w parameter used to identify status bit to some channels
|
|
582
|
+
*/
|
|
583
|
+
getWParam: () => number;
|
|
557
584
|
}
|
|
558
585
|
|
|
559
586
|
/**
|
|
@@ -1234,6 +1261,11 @@ declare namespace ApplicationInsights {
|
|
|
1234
1261
|
* this will not send any notifications.
|
|
1235
1262
|
*/
|
|
1236
1263
|
disableDbgExt?: boolean;
|
|
1264
|
+
/**
|
|
1265
|
+
* Add "&w=0" parameter to support UA Parsing when web-workers don't have access to Document.
|
|
1266
|
+
* Default is false
|
|
1267
|
+
*/
|
|
1268
|
+
enableWParam?: boolean;
|
|
1237
1269
|
}
|
|
1238
1270
|
|
|
1239
1271
|
interface ICookieMgr {
|