@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-21 → 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,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2210-21
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
@@ -22,8 +22,22 @@ export declare class AppInsightsCore implements IAppInsightsCore {
22
22
  static defaultConfig: IConfiguration;
23
23
  config: IConfiguration;
24
24
  logger: IDiagnosticLogger;
25
- _extensions: IPlugin[];
25
+ /**
26
+ * An array of the installed plugins that provide a version
27
+ */
28
+ readonly pluginVersionStringArr: string[];
29
+ /**
30
+ * The formatted string of the installed plugins that contain a version number
31
+ */
32
+ readonly pluginVersionString: string;
33
+ /**
34
+ * Returns a value that indicates whether the instance has already been previously initialized.
35
+ */
26
36
  isInitialized: () => boolean;
37
+ /**
38
+ * Function used to identify the get w parameter used to identify status bit to some channels
39
+ */
40
+ getWParam: () => number;
27
41
  constructor();
28
42
  initialize(config: IConfiguration, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
29
43
  getTransmissionControls(): IChannelControls[][];
@@ -443,6 +457,14 @@ export declare const enum eSeverityLevel {
443
457
  export declare interface IAppInsightsCore extends IPerfManagerProvider {
444
458
  config: IConfiguration;
445
459
  logger: IDiagnosticLogger;
460
+ /**
461
+ * An array of the installed plugins that provide a version
462
+ */
463
+ readonly pluginVersionStringArr: string[];
464
+ /**
465
+ * The formatted string of the installed plugins that contain a version number
466
+ */
467
+ readonly pluginVersionString: string;
446
468
  /**
447
469
  * Returns a value that indicates whether the instance has already been previously initialized.
448
470
  */
@@ -560,6 +582,10 @@ export declare interface IAppInsightsCore extends IPerfManagerProvider {
560
582
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
561
583
  */
562
584
  onCfgChange<T extends IConfiguration = IConfiguration>(handler: WatcherFunction<T>): IUnloadHook;
585
+ /**
586
+ * Function used to identify the get w parameter used to identify status bit to some channels
587
+ */
588
+ getWParam: () => number;
563
589
  }
564
590
 
565
591
  /**
@@ -1240,6 +1266,11 @@ export declare interface IConfiguration {
1240
1266
  * this will not send any notifications.
1241
1267
  */
1242
1268
  disableDbgExt?: boolean;
1269
+ /**
1270
+ * Add "&w=0" parameter to support UA Parsing when web-workers don't have access to Document.
1271
+ * Default is false
1272
+ */
1273
+ enableWParam?: boolean;
1243
1274
  }
1244
1275
 
1245
1276
  declare interface ICookieMgr {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-21
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2211-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-21
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2211-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-web-basic",
3
- "version": "3.0.0-beta.2210-21",
3
+ "version": "3.0.0-beta.2211-01",
4
4
  "description": "Microsoft Application Insights Javascript SDK core and channel",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -53,9 +53,9 @@
53
53
  "dependencies": {
54
54
  "@microsoft/dynamicproto-js": "^1.1.7",
55
55
  "@microsoft/applicationinsights-shims": "2.0.2",
56
- "@microsoft/applicationinsights-common": "3.0.0-beta.2210-21",
57
- "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2210-21",
58
- "@microsoft/applicationinsights-core-js": "3.0.0-beta.2210-21",
56
+ "@microsoft/applicationinsights-common": "3.0.0-beta.2211-01",
57
+ "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2211-01",
58
+ "@microsoft/applicationinsights-core-js": "3.0.0-beta.2211-01",
59
59
  "@nevware21/ts-utils": "^0.5.0"
60
60
  },
61
61
  "license": "MIT",
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.33.4"
8
+ "packageVersion": "7.33.6"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "aib",
3
- "version": "3.0.0-beta.2210-21",
4
- "ext": {
5
- "@js": {
6
- "file": "aib.3.0.0-beta.2210-21.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-bjUZZY9gxH7F+ELlBMBDmhNVK2Qg9N5cy5Ntgkx4V58= sha384-zHnlU+sDl2/du1O0AitcUXXdNcDqg4ustbWSbgN+derBkVC6sghcdwYcgPhouvpP sha512-3cKwFWb7TVWQg98pfyc78Gw0YivNc4aI/pRS4xP+nX5aselI5ou4D0fluGf4k4+8E4FeMXbv2KmPgxGHsTRsVw==",
9
- "hashes": {
10
- "sha256": "bjUZZY9gxH7F+ELlBMBDmhNVK2Qg9N5cy5Ntgkx4V58=",
11
- "sha384": "zHnlU+sDl2/du1O0AitcUXXdNcDqg4ustbWSbgN+derBkVC6sghcdwYcgPhouvpP",
12
- "sha512": "3cKwFWb7TVWQg98pfyc78Gw0YivNc4aI/pRS4xP+nX5aselI5ou4D0fluGf4k4+8E4FeMXbv2KmPgxGHsTRsVw=="
13
- }
14
- },
15
- "@min.js": {
16
- "file": "aib.3.0.0-beta.2210-21.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-ybUjr14SA651oYGN1/cbz0L76arNGv5uya13/lYDHmc= sha384-JHa54SfkpuNANF7bdyOqBiKodVv8rQVOS93IO1Wr79y/UDxsy6wNbtdArsFNNc9w sha512-0Tlj1wDaoXUGDUr0SpifNW9UMXvdL/4bY7dEF9r/QznjEiYjCNORm96oadoTImrhm5zv+h5kpDqzUIog+tC3ug==",
19
- "hashes": {
20
- "sha256": "ybUjr14SA651oYGN1/cbz0L76arNGv5uya13/lYDHmc=",
21
- "sha384": "JHa54SfkpuNANF7bdyOqBiKodVv8rQVOS93IO1Wr79y/UDxsy6wNbtdArsFNNc9w",
22
- "sha512": "0Tlj1wDaoXUGDUr0SpifNW9UMXvdL/4bY7dEF9r/QznjEiYjCNORm96oadoTImrhm5zv+h5kpDqzUIog+tC3ug=="
23
- }
24
- }
25
- }
26
- }