@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-19 → 3.0.0-beta.2211-01

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.
@@ -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": {
@@ -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)",
@@ -5362,6 +5415,33 @@
5362
5415
  "parameters": [],
5363
5416
  "name": "getTransmissionControls"
5364
5417
  },
5418
+ {
5419
+ "kind": "PropertySignature",
5420
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#getWParam:member",
5421
+ "docComment": "/**\n * Function used to identify the get w parameter used to identify status bit to some channels\n */\n",
5422
+ "excerptTokens": [
5423
+ {
5424
+ "kind": "Content",
5425
+ "text": "getWParam: "
5426
+ },
5427
+ {
5428
+ "kind": "Content",
5429
+ "text": "() => number"
5430
+ },
5431
+ {
5432
+ "kind": "Content",
5433
+ "text": ";"
5434
+ }
5435
+ ],
5436
+ "isReadonly": false,
5437
+ "isOptional": false,
5438
+ "releaseTag": "Public",
5439
+ "name": "getWParam",
5440
+ "propertyTypeTokenRange": {
5441
+ "startIndex": 1,
5442
+ "endIndex": 2
5443
+ }
5444
+ },
5365
5445
  {
5366
5446
  "kind": "MethodSignature",
5367
5447
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#initialize:member(1)",
@@ -5600,6 +5680,60 @@
5600
5680
  ],
5601
5681
  "name": "onCfgChange"
5602
5682
  },
5683
+ {
5684
+ "kind": "PropertySignature",
5685
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pluginVersionString:member",
5686
+ "docComment": "/**\n * The formatted string of the installed plugins that contain a version number\n */\n",
5687
+ "excerptTokens": [
5688
+ {
5689
+ "kind": "Content",
5690
+ "text": "readonly pluginVersionString: "
5691
+ },
5692
+ {
5693
+ "kind": "Content",
5694
+ "text": "string"
5695
+ },
5696
+ {
5697
+ "kind": "Content",
5698
+ "text": ";"
5699
+ }
5700
+ ],
5701
+ "isReadonly": true,
5702
+ "isOptional": false,
5703
+ "releaseTag": "Public",
5704
+ "name": "pluginVersionString",
5705
+ "propertyTypeTokenRange": {
5706
+ "startIndex": 1,
5707
+ "endIndex": 2
5708
+ }
5709
+ },
5710
+ {
5711
+ "kind": "PropertySignature",
5712
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pluginVersionStringArr:member",
5713
+ "docComment": "/**\n * An array of the installed plugins that provide a version\n */\n",
5714
+ "excerptTokens": [
5715
+ {
5716
+ "kind": "Content",
5717
+ "text": "readonly pluginVersionStringArr: "
5718
+ },
5719
+ {
5720
+ "kind": "Content",
5721
+ "text": "string[]"
5722
+ },
5723
+ {
5724
+ "kind": "Content",
5725
+ "text": ";"
5726
+ }
5727
+ ],
5728
+ "isReadonly": true,
5729
+ "isOptional": false,
5730
+ "releaseTag": "Public",
5731
+ "name": "pluginVersionStringArr",
5732
+ "propertyTypeTokenRange": {
5733
+ "startIndex": 1,
5734
+ "endIndex": 2
5735
+ }
5736
+ },
5603
5737
  {
5604
5738
  "kind": "MethodSignature",
5605
5739
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore#pollInternalLogs:member(1)",
@@ -6736,6 +6870,33 @@
6736
6870
  "endIndex": 2
6737
6871
  }
6738
6872
  },
6873
+ {
6874
+ "kind": "PropertySignature",
6875
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#enableWParam:member",
6876
+ "docComment": "/**\n * Add \"&w=0\" parameter to support UA Parsing when web-workers don't have access to Document. Default is false\n */\n",
6877
+ "excerptTokens": [
6878
+ {
6879
+ "kind": "Content",
6880
+ "text": "enableWParam?: "
6881
+ },
6882
+ {
6883
+ "kind": "Content",
6884
+ "text": "boolean"
6885
+ },
6886
+ {
6887
+ "kind": "Content",
6888
+ "text": ";"
6889
+ }
6890
+ ],
6891
+ "isReadonly": false,
6892
+ "isOptional": true,
6893
+ "releaseTag": "Public",
6894
+ "name": "enableWParam",
6895
+ "propertyTypeTokenRange": {
6896
+ "startIndex": 1,
6897
+ "endIndex": 2
6898
+ }
6899
+ },
6739
6900
  {
6740
6901
  "kind": "PropertySignature",
6741
6902
  "canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#endpointUrl:member",
@@ -30,8 +30,6 @@ export class AppInsightsCore implements IAppInsightsCore {
30
30
  // (undocumented)
31
31
  eventCnt(): number;
32
32
  evtNamespace(): string;
33
- // (undocumented)
34
- _extensions: IPlugin[];
35
33
  flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
36
34
  // Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point index.d.ts
37
35
  getCookieMgr(): ICookieMgr;
@@ -53,11 +51,11 @@ export class AppInsightsCore implements IAppInsightsCore {
53
51
  //
54
52
  // (undocumented)
55
53
  getTransmissionControls(): IChannelControls[][];
54
+ getWParam: () => number;
56
55
  // Warning: (ae-forgotten-export) The symbol "INotificationManager" needs to be exported by the entry point index.d.ts
57
56
  //
58
57
  // (undocumented)
59
58
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
60
- // (undocumented)
61
59
  isInitialized: () => boolean;
62
60
  // Warning: (ae-forgotten-export) The symbol "IDiagnosticLogger" needs to be exported by the entry point index.d.ts
63
61
  //
@@ -65,6 +63,8 @@ export class AppInsightsCore implements IAppInsightsCore {
65
63
  logger: IDiagnosticLogger;
66
64
  // Warning: (ae-forgotten-export) The symbol "WatcherFunction" needs to be exported by the entry point index.d.ts
67
65
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
66
+ readonly pluginVersionString: string;
67
+ readonly pluginVersionStringArr: string[];
68
68
  pollInternalLogs(eventName?: string): number;
69
69
  // (undocumented)
70
70
  protected releaseQueue(): void;
@@ -317,12 +317,15 @@ export interface IAppInsightsCore extends IPerfManagerProvider {
317
317
  getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
318
318
  // (undocumented)
319
319
  getTransmissionControls(): IChannelControls[][];
320
+ getWParam: () => number;
320
321
  // (undocumented)
321
322
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
322
323
  isInitialized?: () => boolean;
323
324
  // (undocumented)
324
325
  logger: IDiagnosticLogger;
325
326
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
327
+ readonly pluginVersionString: string;
328
+ readonly pluginVersionStringArr: string[];
326
329
  // (undocumented)
327
330
  pollInternalLogs?(eventName?: string): number;
328
331
  removeNotificationListener?(listener: INotificationListener): void;
@@ -367,6 +370,7 @@ export interface IConfiguration {
367
370
  disablePageUnloadEvents?: string[];
368
371
  enableDebugExceptions?: boolean;
369
372
  enablePerfMgr?: boolean;
373
+ enableWParam?: boolean;
370
374
  endpointUrl?: string;
371
375
  extensionConfig?: {
372
376
  [key: string]: any;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2210-19
2
+ * Microsoft.ApplicationInsights, 3.0.0-beta.2211-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -16,8 +16,22 @@ declare namespace ApplicationInsights {
16
16
  static defaultConfig: IConfiguration;
17
17
  config: IConfiguration;
18
18
  logger: IDiagnosticLogger;
19
- _extensions: IPlugin[];
19
+ /**
20
+ * An array of the installed plugins that provide a version
21
+ */
22
+ readonly pluginVersionStringArr: string[];
23
+ /**
24
+ * The formatted string of the installed plugins that contain a version number
25
+ */
26
+ readonly pluginVersionString: string;
27
+ /**
28
+ * Returns a value that indicates whether the instance has already been previously initialized.
29
+ */
20
30
  isInitialized: () => boolean;
31
+ /**
32
+ * Function used to identify the get w parameter used to identify status bit to some channels
33
+ */
34
+ getWParam: () => number;
21
35
  constructor();
22
36
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
23
37
  getTransmissionControls(): IChannelControls[][];
@@ -437,6 +451,14 @@ declare namespace ApplicationInsights {
437
451
  interface IAppInsightsCore extends IPerfManagerProvider {
438
452
  config: IConfiguration;
439
453
  logger: IDiagnosticLogger;
454
+ /**
455
+ * An array of the installed plugins that provide a version
456
+ */
457
+ readonly pluginVersionStringArr: string[];
458
+ /**
459
+ * The formatted string of the installed plugins that contain a version number
460
+ */
461
+ readonly pluginVersionString: string;
440
462
  /**
441
463
  * Returns a value that indicates whether the instance has already been previously initialized.
442
464
  */
@@ -554,6 +576,10 @@ declare namespace ApplicationInsights {
554
576
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
555
577
  */
556
578
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
579
+ /**
580
+ * Function used to identify the get w parameter used to identify status bit to some channels
581
+ */
582
+ getWParam: () => number;
557
583
  }
558
584
 
559
585
  /**
@@ -1234,6 +1260,11 @@ declare namespace ApplicationInsights {
1234
1260
  * this will not send any notifications.
1235
1261
  */
1236
1262
  disableDbgExt?: boolean;
1263
+ /**
1264
+ * Add "&w=0" parameter to support UA Parsing when web-workers don't have access to Document.
1265
+ * Default is false
1266
+ */
1267
+ enableWParam?: boolean;
1237
1268
  }
1238
1269
 
1239
1270
  interface ICookieMgr {