@microsoft/applicationinsights-core-js 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.
Files changed (90) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +113 -27
  3. package/browser/applicationinsights-core-js.js.map +1 -1
  4. package/browser/applicationinsights-core-js.min.js +2 -2
  5. package/browser/applicationinsights-core-js.min.js.map +1 -1
  6. package/dist/applicationinsights-core-js.api.json +203 -40
  7. package/dist/applicationinsights-core-js.api.md +10 -5
  8. package/dist/applicationinsights-core-js.d.ts +36 -4
  9. package/dist/applicationinsights-core-js.js +113 -27
  10. package/dist/applicationinsights-core-js.js.map +1 -1
  11. package/dist/applicationinsights-core-js.min.js +2 -2
  12. package/dist/applicationinsights-core-js.min.js.map +1 -1
  13. package/dist/applicationinsights-core-js.rollup.d.ts +36 -4
  14. package/dist-esm/Config/ConfigDefaults.js +1 -1
  15. package/dist-esm/Config/DynamicConfig.js +1 -1
  16. package/dist-esm/Config/DynamicProperty.js +1 -1
  17. package/dist-esm/Config/DynamicState.js +3 -3
  18. package/dist-esm/Config/DynamicState.js.map +1 -1
  19. package/dist-esm/Config/DynamicSupport.js +1 -1
  20. package/dist-esm/Config/IConfigDefaults.js +1 -1
  21. package/dist-esm/Config/IDynamicConfigHandler.js +1 -1
  22. package/dist-esm/Config/IDynamicPropertyHandler.js +1 -1
  23. package/dist-esm/Config/IDynamicWatcher.js +1 -1
  24. package/dist-esm/Config/_IDynamicConfigHandlerState.js +1 -1
  25. package/dist-esm/JavaScriptSDK/AggregationError.js +1 -1
  26. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +93 -20
  27. package/dist-esm/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  28. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  29. package/dist-esm/JavaScriptSDK/ChannelController.js +3 -3
  30. package/dist-esm/JavaScriptSDK/ChannelController.js.map +1 -1
  31. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  32. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  33. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  34. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  35. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  36. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  37. package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
  38. package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
  39. package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
  40. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  41. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  42. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  43. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  44. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  45. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  46. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  47. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  48. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  49. package/dist-esm/JavaScriptSDK/W3cTraceParent.js +5 -6
  50. package/dist-esm/JavaScriptSDK/W3cTraceParent.js.map +1 -1
  51. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  65. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  66. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  67. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  68. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  69. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  70. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  71. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  72. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  73. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  74. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  75. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  76. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  77. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
  78. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  79. package/dist-esm/__DynamicConstants.js +8 -7
  80. package/dist-esm/__DynamicConstants.js.map +1 -1
  81. package/dist-esm/applicationinsights-core-js.js +1 -1
  82. package/package.json +1 -1
  83. package/src/JavaScriptSDK/AppInsightsCore.ts +126 -24
  84. package/src/JavaScriptSDK.Interfaces/IAppInsightsCore.ts +17 -1
  85. package/src/JavaScriptSDK.Interfaces/IConfiguration.ts +6 -0
  86. package/types/JavaScriptSDK/AppInsightsCore.d.ts +17 -2
  87. package/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts +14 -1
  88. package/types/JavaScriptSDK.Interfaces/IConfiguration.d.ts +5 -0
  89. package/types/__DynamicConstants.d.ts +3 -2
  90. package/types/tsdoc-metadata.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.33.4",
4
+ "toolVersion": "7.33.6",
5
5
  "schemaVersion": 1010,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -3043,40 +3043,6 @@
3043
3043
  "name": "AppInsightsCore",
3044
3044
  "preserveMemberOrder": false,
3045
3045
  "members": [
3046
- {
3047
- "kind": "Property",
3048
- "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#_extensions:member",
3049
- "docComment": "",
3050
- "excerptTokens": [
3051
- {
3052
- "kind": "Content",
3053
- "text": "_extensions: "
3054
- },
3055
- {
3056
- "kind": "Reference",
3057
- "text": "IPlugin",
3058
- "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
3059
- },
3060
- {
3061
- "kind": "Content",
3062
- "text": "[]"
3063
- },
3064
- {
3065
- "kind": "Content",
3066
- "text": ";"
3067
- }
3068
- ],
3069
- "isReadonly": false,
3070
- "isOptional": false,
3071
- "releaseTag": "Public",
3072
- "name": "_extensions",
3073
- "propertyTypeTokenRange": {
3074
- "startIndex": 1,
3075
- "endIndex": 3
3076
- },
3077
- "isStatic": false,
3078
- "isProtected": false
3079
- },
3080
3046
  {
3081
3047
  "kind": "Method",
3082
3048
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#_updateHook:member(1)",
@@ -4037,6 +4003,35 @@
4037
4003
  "isOptional": false,
4038
4004
  "name": "getTransmissionControls"
4039
4005
  },
4006
+ {
4007
+ "kind": "Property",
4008
+ "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#getWParam:member",
4009
+ "docComment": "/**\n * Function used to identify the get w parameter used to identify status bit to some channels\n */\n",
4010
+ "excerptTokens": [
4011
+ {
4012
+ "kind": "Content",
4013
+ "text": "getWParam: "
4014
+ },
4015
+ {
4016
+ "kind": "Content",
4017
+ "text": "() => number"
4018
+ },
4019
+ {
4020
+ "kind": "Content",
4021
+ "text": ";"
4022
+ }
4023
+ ],
4024
+ "isReadonly": false,
4025
+ "isOptional": false,
4026
+ "releaseTag": "Public",
4027
+ "name": "getWParam",
4028
+ "propertyTypeTokenRange": {
4029
+ "startIndex": 1,
4030
+ "endIndex": 2
4031
+ },
4032
+ "isStatic": false,
4033
+ "isProtected": false
4034
+ },
4040
4035
  {
4041
4036
  "kind": "Method",
4042
4037
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#initialize:member(1)",
@@ -4143,7 +4138,7 @@
4143
4138
  {
4144
4139
  "kind": "Property",
4145
4140
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#isInitialized:member",
4146
- "docComment": "",
4141
+ "docComment": "/**\n * Returns a value that indicates whether the instance has already been previously initialized.\n */\n",
4147
4142
  "excerptTokens": [
4148
4143
  {
4149
4144
  "kind": "Content",
@@ -4283,6 +4278,64 @@
4283
4278
  "isOptional": false,
4284
4279
  "name": "onCfgChange"
4285
4280
  },
4281
+ {
4282
+ "kind": "Property",
4283
+ "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#pluginVersionString:member",
4284
+ "docComment": "/**\n * The formatted string of the installed plugins that contain a version number\n */\n",
4285
+ "excerptTokens": [
4286
+ {
4287
+ "kind": "Content",
4288
+ "text": "readonly pluginVersionString: "
4289
+ },
4290
+ {
4291
+ "kind": "Content",
4292
+ "text": "string"
4293
+ },
4294
+ {
4295
+ "kind": "Content",
4296
+ "text": ";"
4297
+ }
4298
+ ],
4299
+ "isReadonly": true,
4300
+ "isOptional": false,
4301
+ "releaseTag": "Public",
4302
+ "name": "pluginVersionString",
4303
+ "propertyTypeTokenRange": {
4304
+ "startIndex": 1,
4305
+ "endIndex": 2
4306
+ },
4307
+ "isStatic": false,
4308
+ "isProtected": false
4309
+ },
4310
+ {
4311
+ "kind": "Property",
4312
+ "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#pluginVersionStringArr:member",
4313
+ "docComment": "/**\n * An array of the installed plugins that provide a version\n */\n",
4314
+ "excerptTokens": [
4315
+ {
4316
+ "kind": "Content",
4317
+ "text": "readonly pluginVersionStringArr: "
4318
+ },
4319
+ {
4320
+ "kind": "Content",
4321
+ "text": "string[]"
4322
+ },
4323
+ {
4324
+ "kind": "Content",
4325
+ "text": ";"
4326
+ }
4327
+ ],
4328
+ "isReadonly": true,
4329
+ "isOptional": false,
4330
+ "releaseTag": "Public",
4331
+ "name": "pluginVersionStringArr",
4332
+ "propertyTypeTokenRange": {
4333
+ "startIndex": 1,
4334
+ "endIndex": 2
4335
+ },
4336
+ "isStatic": false,
4337
+ "isProtected": false
4338
+ },
4286
4339
  {
4287
4340
  "kind": "Method",
4288
4341
  "canonicalReference": "@microsoft/applicationinsights-core-js!AppInsightsCore#pollInternalLogs:member(1)",
@@ -4301,8 +4354,9 @@
4301
4354
  "text": "): "
4302
4355
  },
4303
4356
  {
4304
- "kind": "Content",
4305
- "text": "number"
4357
+ "kind": "Reference",
4358
+ "text": "ITimerHandler",
4359
+ "canonicalReference": "@nevware21/ts-utils!ITimerHandler:interface"
4306
4360
  },
4307
4361
  {
4308
4362
  "kind": "Content",
@@ -9445,6 +9499,33 @@
9445
9499
  "parameters": [],
9446
9500
  "name": "getTransmissionControls"
9447
9501
  },
9502
+ {
9503
+ "kind": "PropertySignature",
9504
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#getWParam:member",
9505
+ "docComment": "/**\n * Function used to identify the get w parameter used to identify status bit to some channels\n */\n",
9506
+ "excerptTokens": [
9507
+ {
9508
+ "kind": "Content",
9509
+ "text": "getWParam: "
9510
+ },
9511
+ {
9512
+ "kind": "Content",
9513
+ "text": "() => number"
9514
+ },
9515
+ {
9516
+ "kind": "Content",
9517
+ "text": ";"
9518
+ }
9519
+ ],
9520
+ "isReadonly": false,
9521
+ "isOptional": false,
9522
+ "releaseTag": "Public",
9523
+ "name": "getWParam",
9524
+ "propertyTypeTokenRange": {
9525
+ "startIndex": 1,
9526
+ "endIndex": 2
9527
+ }
9528
+ },
9448
9529
  {
9449
9530
  "kind": "MethodSignature",
9450
9531
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#initialize:member(1)",
@@ -9683,6 +9764,60 @@
9683
9764
  ],
9684
9765
  "name": "onCfgChange"
9685
9766
  },
9767
+ {
9768
+ "kind": "PropertySignature",
9769
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#pluginVersionString:member",
9770
+ "docComment": "/**\n * The formatted string of the installed plugins that contain a version number\n */\n",
9771
+ "excerptTokens": [
9772
+ {
9773
+ "kind": "Content",
9774
+ "text": "readonly pluginVersionString: "
9775
+ },
9776
+ {
9777
+ "kind": "Content",
9778
+ "text": "string"
9779
+ },
9780
+ {
9781
+ "kind": "Content",
9782
+ "text": ";"
9783
+ }
9784
+ ],
9785
+ "isReadonly": true,
9786
+ "isOptional": false,
9787
+ "releaseTag": "Public",
9788
+ "name": "pluginVersionString",
9789
+ "propertyTypeTokenRange": {
9790
+ "startIndex": 1,
9791
+ "endIndex": 2
9792
+ }
9793
+ },
9794
+ {
9795
+ "kind": "PropertySignature",
9796
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#pluginVersionStringArr:member",
9797
+ "docComment": "/**\n * An array of the installed plugins that provide a version\n */\n",
9798
+ "excerptTokens": [
9799
+ {
9800
+ "kind": "Content",
9801
+ "text": "readonly pluginVersionStringArr: "
9802
+ },
9803
+ {
9804
+ "kind": "Content",
9805
+ "text": "string[]"
9806
+ },
9807
+ {
9808
+ "kind": "Content",
9809
+ "text": ";"
9810
+ }
9811
+ ],
9812
+ "isReadonly": true,
9813
+ "isOptional": false,
9814
+ "releaseTag": "Public",
9815
+ "name": "pluginVersionStringArr",
9816
+ "propertyTypeTokenRange": {
9817
+ "startIndex": 1,
9818
+ "endIndex": 2
9819
+ }
9820
+ },
9686
9821
  {
9687
9822
  "kind": "MethodSignature",
9688
9823
  "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore#pollInternalLogs:member(1)",
@@ -9701,8 +9836,9 @@
9701
9836
  "text": "): "
9702
9837
  },
9703
9838
  {
9704
- "kind": "Content",
9705
- "text": "number"
9839
+ "kind": "Reference",
9840
+ "text": "ITimerHandler",
9841
+ "canonicalReference": "@nevware21/ts-utils!ITimerHandler:interface"
9706
9842
  },
9707
9843
  {
9708
9844
  "kind": "Content",
@@ -11589,6 +11725,33 @@
11589
11725
  "endIndex": 2
11590
11726
  }
11591
11727
  },
11728
+ {
11729
+ "kind": "PropertySignature",
11730
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration#enableWParam:member",
11731
+ "docComment": "/**\n * Add \"&w=0\" parameter to support UA Parsing when web-workers don't have access to Document. Default is false\n */\n",
11732
+ "excerptTokens": [
11733
+ {
11734
+ "kind": "Content",
11735
+ "text": "enableWParam?: "
11736
+ },
11737
+ {
11738
+ "kind": "Content",
11739
+ "text": "boolean"
11740
+ },
11741
+ {
11742
+ "kind": "Content",
11743
+ "text": ";"
11744
+ }
11745
+ ],
11746
+ "isReadonly": false,
11747
+ "isOptional": true,
11748
+ "releaseTag": "Public",
11749
+ "name": "enableWParam",
11750
+ "propertyTypeTokenRange": {
11751
+ "startIndex": 1,
11752
+ "endIndex": 2
11753
+ }
11754
+ },
11592
11755
  {
11593
11756
  "kind": "PropertySignature",
11594
11757
  "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration#endpointUrl:member",
@@ -39,6 +39,7 @@ import { isSymbol } from '@nevware21/ts-utils';
39
39
  import { isTruthy } from '@nevware21/ts-utils';
40
40
  import { isTypeof } from '@nevware21/ts-utils';
41
41
  import { isUndefined } from '@nevware21/ts-utils';
42
+ import { ITimerHandler } from '@nevware21/ts-utils';
42
43
  import { objCreateFn as objCreate } from '@microsoft/applicationinsights-shims';
43
44
  import { objDefineAccessors } from '@nevware21/ts-utils';
44
45
  import { objForEachKey } from '@nevware21/ts-utils';
@@ -89,8 +90,6 @@ export class AppInsightsCore implements IAppInsightsCore {
89
90
  // (undocumented)
90
91
  eventCnt(): number;
91
92
  evtNamespace(): string;
92
- // (undocumented)
93
- _extensions: IPlugin[];
94
93
  flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
95
94
  getCookieMgr(): ICookieMgr;
96
95
  // (undocumented)
@@ -104,14 +103,16 @@ export class AppInsightsCore implements IAppInsightsCore {
104
103
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
105
104
  // (undocumented)
106
105
  getTransmissionControls(): IChannelControls[][];
106
+ getWParam: () => number;
107
107
  // (undocumented)
108
108
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
109
- // (undocumented)
110
109
  isInitialized: () => boolean;
111
110
  // (undocumented)
112
111
  logger: IDiagnosticLogger;
113
112
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
114
- pollInternalLogs(eventName?: string): number;
113
+ readonly pluginVersionString: string;
114
+ readonly pluginVersionStringArr: string[];
115
+ pollInternalLogs(eventName?: string): ITimerHandler;
115
116
  // (undocumented)
116
117
  protected releaseQueue(): void;
117
118
  removeNotificationListener(listener: INotificationListener): void;
@@ -540,14 +541,17 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
540
541
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
541
542
  // (undocumented)
542
543
  getTransmissionControls(): IChannelControls[][];
544
+ getWParam: () => number;
543
545
  // (undocumented)
544
546
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
545
547
  isInitialized?: () => boolean;
546
548
  // (undocumented)
547
549
  logger: IDiagnosticLogger;
548
550
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
551
+ readonly pluginVersionString: string;
552
+ readonly pluginVersionStringArr: string[];
549
553
  // (undocumented)
550
- pollInternalLogs?(eventName?: string): number;
554
+ pollInternalLogs?(eventName?: string): ITimerHandler;
551
555
  removeNotificationListener?(listener: INotificationListener): void;
552
556
  setCookieMgr(cookieMgr: ICookieMgr): void;
553
557
  setTraceCtx(newTraceCtx: IDistributedTraceContext | null | undefined): void;
@@ -618,6 +622,7 @@ export interface IConfiguration {
618
622
  disablePageUnloadEvents?: string[];
619
623
  enableDebugExceptions?: boolean;
620
624
  enablePerfMgr?: boolean;
625
+ enableWParam?: boolean;
621
626
  endpointUrl?: string;
622
627
  extensionConfig?: {
623
628
  [key: string]: any;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.2210-21
2
+ * Microsoft Application Insights Core Javascript SDK, 3.0.0-beta.2211-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -42,6 +42,7 @@ declare namespace ApplicationInsights {
42
42
  import { isTruthy } from '@nevware21/ts-utils';
43
43
  import { isTypeof } from '@nevware21/ts-utils';
44
44
  import { isUndefined } from '@nevware21/ts-utils';
45
+ import { ITimerHandler } from '@nevware21/ts-utils';
45
46
  import { objCreateFn as objCreate } from '@microsoft/applicationinsights-shims';
46
47
  import { objDefineAccessors } from '@nevware21/ts-utils';
47
48
  import { objForEachKey } from '@nevware21/ts-utils';
@@ -132,8 +133,22 @@ declare namespace ApplicationInsights {
132
133
  static defaultConfig: IConfiguration;
133
134
  config: IConfiguration;
134
135
  logger: IDiagnosticLogger;
135
- _extensions: IPlugin[];
136
+ /**
137
+ * An array of the installed plugins that provide a version
138
+ */
139
+ readonly pluginVersionStringArr: string[];
140
+ /**
141
+ * The formatted string of the installed plugins that contain a version number
142
+ */
143
+ readonly pluginVersionString: string;
144
+ /**
145
+ * Returns a value that indicates whether the instance has already been previously initialized.
146
+ */
136
147
  isInitialized: () => boolean;
148
+ /**
149
+ * Function used to identify the get w parameter used to identify status bit to some channels
150
+ */
151
+ getWParam: () => number;
137
152
  constructor();
138
153
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
139
154
  getTransmissionControls(): IChannelControls[][];
@@ -167,7 +182,7 @@ declare namespace ApplicationInsights {
167
182
  /**
168
183
  * Periodically check logger.queue for
169
184
  */
170
- pollInternalLogs(eventName?: string): number;
185
+ pollInternalLogs(eventName?: string): ITimerHandler;
171
186
  /**
172
187
  * Periodically check logger.queue for
173
188
  */
@@ -826,6 +841,14 @@ declare namespace ApplicationInsights {
826
841
  interface IAppInsightsCore extends IPerfManagerProvider {
827
842
  config: IConfiguration;
828
843
  logger: IDiagnosticLogger;
844
+ /**
845
+ * An array of the installed plugins that provide a version
846
+ */
847
+ readonly pluginVersionStringArr: string[];
848
+ /**
849
+ * The formatted string of the installed plugins that contain a version number
850
+ */
851
+ readonly pluginVersionString: string;
829
852
  /**
830
853
  * Returns a value that indicates whether the instance has already been previously initialized.
831
854
  */
@@ -864,7 +887,7 @@ declare namespace ApplicationInsights {
864
887
  * @returns - A ITelemetryInitializerHandler to enable the initializer to be removed
865
888
  */
866
889
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
867
- pollInternalLogs?(eventName?: string): number;
890
+ pollInternalLogs?(eventName?: string): ITimerHandler;
868
891
  stopPollingInternalLogs?(): void;
869
892
  /**
870
893
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -943,6 +966,10 @@ declare namespace ApplicationInsights {
943
966
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
944
967
  */
945
968
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
969
+ /**
970
+ * Function used to identify the get w parameter used to identify status bit to some channels
971
+ */
972
+ getWParam: () => number;
946
973
  }
947
974
 
948
975
  interface IBaseProcessingContext {
@@ -1221,6 +1248,11 @@ declare namespace ApplicationInsights {
1221
1248
  * this will not send any notifications.
1222
1249
  */
1223
1250
  disableDbgExt?: boolean;
1251
+ /**
1252
+ * Add "&w=0" parameter to support UA Parsing when web-workers don't have access to Document.
1253
+ * Default is false
1254
+ */
1255
+ enableWParam?: boolean;
1224
1256
  }
1225
1257
 
1226
1258
  interface ICookieMgr {