@microsoft/applicationinsights-web-basic 3.0.0-beta.2210-01 → 3.0.0-beta.2210-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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-01
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-03
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-01
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -7,6 +7,7 @@
7
7
  import dynamicProto from "@microsoft/dynamicproto-js";
8
8
  import { Sender } from "@microsoft/applicationinsights-channel-js";
9
9
  import { AppInsightsCore, isNullOrUndefined, proxyFunctions, throwError } from "@microsoft/applicationinsights-core-js";
10
+ import { objDefineProp } from "@nevware21/ts-utils";
10
11
  import { _DYN_DIAGNOSTIC_LOG_INTER0, _DYN_INITIALIZE } from "./__DynamicConstants";
11
12
  /**
12
13
  * @export
@@ -15,7 +16,7 @@ import { _DYN_DIAGNOSTIC_LOG_INTER0, _DYN_INITIALIZE } from "./__DynamicConstant
15
16
  var ApplicationInsights = /** @class */ (function () {
16
17
  /**
17
18
  * Creates an instance of ApplicationInsights.
18
- * @param {IConfiguration & IConfig} config
19
+ * @param config
19
20
  * @memberof ApplicationInsights
20
21
  */
21
22
  function ApplicationInsights(config) {
@@ -26,7 +27,12 @@ var ApplicationInsights = /** @class */ (function () {
26
27
  throwError("Invalid input configuration");
27
28
  }
28
29
  dynamicProto(ApplicationInsights, this, function (_self) {
29
- _self.config = config;
30
+ // Define _self.config
31
+ objDefineProp(_self, "config", {
32
+ configurable: true,
33
+ enumerable: true,
34
+ get: function () { return config; }
35
+ });
30
36
  _initialize();
31
37
  _self[_DYN_INITIALIZE /* @min:%2einitialize */] = _initialize;
32
38
  _self.getSKUDefaults = function () {
@@ -68,15 +74,14 @@ var ApplicationInsights = /** @class */ (function () {
68
74
  // Removed Stub for ApplicationInsights.prototype.addPlugin.
69
75
  // Removed Stub for ApplicationInsights.prototype.evtNamespace.
70
76
  // Removed Stub for ApplicationInsights.prototype.addUnloadCb.
71
- // This is a workaround for an IE8 bug when using dynamicProto() with classes that don't have any
77
+ // This is a workaround for an IE bug when using dynamicProto() with classes that don't have any
72
78
  // non-dynamic functions or static properties/functions when using uglify-js to minify the resulting code.
73
- // this will be removed when ES3 support is dropped.
74
79
  ApplicationInsights.__ieDyn=1;
75
80
 
76
81
  return ApplicationInsights;
77
82
  }());
78
83
  export { ApplicationInsights };
79
- export { AppInsightsCore, arrForEach, _InternalMessageId, isNullOrUndefined, throwError, proxyFunctions } from "@microsoft/applicationinsights-core-js";
84
+ export { AppInsightsCore, arrForEach, isNullOrUndefined, throwError, proxyFunctions } from "@microsoft/applicationinsights-core-js";
80
85
  export { SeverityLevel } from "@microsoft/applicationinsights-common";
81
86
  export { Sender } from "@microsoft/applicationinsights-channel-js";
82
87
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js.map","sources":["index.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { Sender } from \"@microsoft/applicationinsights-channel-js\";\r\nimport { AppInsightsCore, isNullOrUndefined, proxyFunctions, throwError } from \"@microsoft/applicationinsights-core-js\";\r\nimport { _DYN_DIAGNOSTIC_LOG_INTER0, _DYN_INITIALIZE } from \"./__DynamicConstants\";\r\n/**\r\n * @export\r\n * @class ApplicationInsights\r\n */\r\nvar ApplicationInsights = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ApplicationInsights.\r\n * @param {IConfiguration & IConfig} config\r\n * @memberof ApplicationInsights\r\n */\r\n function ApplicationInsights(config) {\r\n var core = new AppInsightsCore();\r\n // initialize the queue and config in case they are undefined\r\n if (isNullOrUndefined(config) ||\r\n isNullOrUndefined(config.instrumentationKey)) {\r\n throwError(\"Invalid input configuration\");\r\n }\r\n dynamicProto(ApplicationInsights, this, function (_self) {\r\n _self.config = config;\r\n _initialize();\r\n _self[_DYN_INITIALIZE /* @min:%2einitialize */] = _initialize;\r\n _self.getSKUDefaults = function () {\r\n _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] =\r\n _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] && _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] > 0 ? _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] : 10000;\r\n };\r\n _self.getSKUDefaults();\r\n proxyFunctions(_self, core, [\r\n \"track\",\r\n \"flush\",\r\n \"pollInternalLogs\",\r\n \"stopPollingInternalLogs\",\r\n \"unload\",\r\n \"getPlugin\",\r\n \"addPlugin\",\r\n \"evtNamespace\",\r\n \"addUnloadCb\"\r\n ]);\r\n function _initialize() {\r\n var extensions = [];\r\n var appInsightsChannel = new Sender();\r\n extensions.push(appInsightsChannel);\r\n // initialize core\r\n core[_DYN_INITIALIZE /* @min:%2einitialize */](_self.config, extensions);\r\n // initialize extensions\r\n appInsightsChannel[_DYN_INITIALIZE /* @min:%2einitialize */](_self.config, core, extensions);\r\n core.pollInternalLogs();\r\n }\r\n });\r\n }\r\n /**\r\n * Initialize this instance of ApplicationInsights\r\n *\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.initialize = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Send a manually constructed custom event\r\n *\r\n * @param {ITelemetryItem} item\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.track = function (item) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Immediately send all batched telemetry\r\n * @param {boolean} [async=true]\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.flush = function (async) {\r\n if (async === void 0) { async = true; }\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.pollInternalLogs = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.stopPollingInternalLogs = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.getSKUDefaults = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered\r\n * to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous\r\n * unload call return `true` stating that all plugins reported that they also unloaded, the recommended\r\n * approach is to create a new instance and initialize that instance.\r\n * This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable\r\n * to successfully remove any global references or they may just be completing the unload process asynchronously.\r\n */\r\n ApplicationInsights.prototype.unload = function (isAsync, unloadComplete) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Find and return the (first) plugin with the specified identifier if present\r\n * @param pluginIdentifier\r\n */\r\n ApplicationInsights.prototype.getPlugin = function (pluginIdentifier) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Add a new plugin to the installation\r\n * @param plugin - The new plugin to add\r\n * @param replaceExisting - should any existing plugin be replaced\r\n * @param doAsync - Should the add be performed asynchronously\r\n */\r\n ApplicationInsights.prototype.addPlugin = function (plugin, replaceExisting, doAsync, addCb) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Returns the unique event namespace that should be used\r\n */\r\n ApplicationInsights.prototype.evtNamespace = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Add an unload handler that will be called when the SDK is being unloaded\r\n * @param handler - the handler\r\n */\r\n ApplicationInsights.prototype.addUnloadCb = function (handler) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n return ApplicationInsights;\r\n}());\r\nexport { ApplicationInsights };\r\nexport { AppInsightsCore, arrForEach, _InternalMessageId, isNullOrUndefined, throwError, proxyFunctions } from \"@microsoft/applicationinsights-core-js\";\r\nexport { SeverityLevel } from \"@microsoft/applicationinsights-common\";\r\nexport { Sender } from \"@microsoft/applicationinsights-channel-js\";\r\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;8DA6EM,CAAC;;;;;;+BACwB;AAC/B;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"index.js.map","sources":["index.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { Sender } from \"@microsoft/applicationinsights-channel-js\";\r\nimport { AppInsightsCore, isNullOrUndefined, proxyFunctions, throwError } from \"@microsoft/applicationinsights-core-js\";\r\nimport { objDefineProp } from \"@nevware21/ts-utils\";\r\nimport { _DYN_DIAGNOSTIC_LOG_INTER0, _DYN_INITIALIZE } from \"./__DynamicConstants\";\r\n/**\r\n * @export\r\n * @class ApplicationInsights\r\n */\r\nvar ApplicationInsights = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ApplicationInsights.\r\n * @param config\r\n * @memberof ApplicationInsights\r\n */\r\n function ApplicationInsights(config) {\r\n var core = new AppInsightsCore();\r\n // initialize the queue and config in case they are undefined\r\n if (isNullOrUndefined(config) ||\r\n isNullOrUndefined(config.instrumentationKey)) {\r\n throwError(\"Invalid input configuration\");\r\n }\r\n dynamicProto(ApplicationInsights, this, function (_self) {\r\n // Define _self.config\r\n objDefineProp(_self, \"config\", {\r\n configurable: true,\r\n enumerable: true,\r\n get: function () { return config; }\r\n });\r\n _initialize();\r\n _self[_DYN_INITIALIZE /* @min:%2einitialize */] = _initialize;\r\n _self.getSKUDefaults = function () {\r\n _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] =\r\n _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] && _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] > 0 ? _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] : 10000;\r\n };\r\n _self.getSKUDefaults();\r\n proxyFunctions(_self, core, [\r\n \"track\",\r\n \"flush\",\r\n \"pollInternalLogs\",\r\n \"stopPollingInternalLogs\",\r\n \"unload\",\r\n \"getPlugin\",\r\n \"addPlugin\",\r\n \"evtNamespace\",\r\n \"addUnloadCb\"\r\n ]);\r\n function _initialize() {\r\n var extensions = [];\r\n var appInsightsChannel = new Sender();\r\n extensions.push(appInsightsChannel);\r\n // initialize core\r\n core[_DYN_INITIALIZE /* @min:%2einitialize */](_self.config, extensions);\r\n // initialize extensions\r\n appInsightsChannel[_DYN_INITIALIZE /* @min:%2einitialize */](_self.config, core, extensions);\r\n core.pollInternalLogs();\r\n }\r\n });\r\n }\r\n /**\r\n * Initialize this instance of ApplicationInsights\r\n *\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.initialize = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Send a manually constructed custom event\r\n *\r\n * @param item\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.track = function (item) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Immediately send all batched telemetry\r\n * @param [async=true]\r\n * @memberof ApplicationInsights\r\n */\r\n ApplicationInsights.prototype.flush = function (async) {\r\n if (async === void 0) { async = true; }\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.pollInternalLogs = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.stopPollingInternalLogs = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n ApplicationInsights.prototype.getSKUDefaults = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Unload and Tear down the SDK and any initialized plugins, after calling this the SDK will be considered\r\n * to be un-initialized and non-operational, re-initializing the SDK should only be attempted if the previous\r\n * unload call return `true` stating that all plugins reported that they also unloaded, the recommended\r\n * approach is to create a new instance and initialize that instance.\r\n * This is due to possible unexpected side effects caused by plugins not supporting unload / teardown, unable\r\n * to successfully remove any global references or they may just be completing the unload process asynchronously.\r\n */\r\n ApplicationInsights.prototype.unload = function (isAsync, unloadComplete) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Find and return the (first) plugin with the specified identifier if present\r\n * @param pluginIdentifier\r\n */\r\n ApplicationInsights.prototype.getPlugin = function (pluginIdentifier) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Add a new plugin to the installation\r\n * @param plugin - The new plugin to add\r\n * @param replaceExisting - should any existing plugin be replaced\r\n * @param doAsync - Should the add be performed asynchronously\r\n */\r\n ApplicationInsights.prototype.addPlugin = function (plugin, replaceExisting, doAsync, addCb) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Returns the unique event namespace that should be used\r\n */\r\n ApplicationInsights.prototype.evtNamespace = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n /**\r\n * Add an unload handler that will be called when the SDK is being unloaded\r\n * @param handler - the handler\r\n */\r\n ApplicationInsights.prototype.addUnloadCb = function (handler) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n return ApplicationInsights;\r\n}());\r\nexport { ApplicationInsights };\r\nexport { AppInsightsCore, arrForEach, isNullOrUndefined, throwError, proxyFunctions } from \"@microsoft/applicationinsights-core-js\";\r\nexport { SeverityLevel } from \"@microsoft/applicationinsights-common\";\r\nexport { Sender } from \"@microsoft/applicationinsights-channel-js\";\r\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;8DA6EM,CAAC;;;;;+BACwB;AAC/B;AACA;AACA;AACA;AACA;AACA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-web-basic",
3
- "version": "3.0.0-beta.2210-01",
3
+ "version": "3.0.0-beta.2210-03",
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",
@@ -54,10 +54,10 @@
54
54
  "dependencies": {
55
55
  "@microsoft/dynamicproto-js": "^1.1.6",
56
56
  "@microsoft/applicationinsights-shims": "2.0.1",
57
- "@microsoft/applicationinsights-common": "3.0.0-beta.2210-01",
58
- "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2210-01",
59
- "@microsoft/applicationinsights-core-js": "3.0.0-beta.2210-01",
60
- "@nevware21/ts-utils": "^0.4.1"
57
+ "@microsoft/applicationinsights-common": "3.0.0-beta.2210-03",
58
+ "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2210-03",
59
+ "@microsoft/applicationinsights-core-js": "3.0.0-beta.2210-03",
60
+ "@nevware21/ts-utils": "^0.4.3"
61
61
  },
62
62
  "license": "MIT",
63
63
  "publishConfig": {
package/src/index.ts CHANGED
@@ -5,20 +5,21 @@ import dynamicProto from "@microsoft/dynamicproto-js";
5
5
  import { Sender } from "@microsoft/applicationinsights-channel-js";
6
6
  import { IConfig } from "@microsoft/applicationinsights-common";
7
7
  import {
8
- AppInsightsCore, IConfiguration, ILoadedPlugin, IPlugin, ITelemetryItem, ITelemetryPlugin, UnloadHandler, _InternalMessageId,
9
- _eInternalMessageId, isNullOrUndefined, proxyFunctions, throwError
8
+ AppInsightsCore, IConfiguration, ILoadedPlugin, IPlugin, ITelemetryItem, ITelemetryPlugin, UnloadHandler, _eInternalMessageId,
9
+ isNullOrUndefined, proxyFunctions, throwError
10
10
  } from "@microsoft/applicationinsights-core-js";
11
+ import { objDefineProp } from "@nevware21/ts-utils";
11
12
 
12
13
  /**
13
14
  * @export
14
15
  * @class ApplicationInsights
15
16
  */
16
17
  export class ApplicationInsights {
17
- public config: IConfiguration & IConfig;
18
+ public readonly config: IConfiguration & IConfig;
18
19
 
19
20
  /**
20
21
  * Creates an instance of ApplicationInsights.
21
- * @param {IConfiguration & IConfig} config
22
+ * @param config
22
23
  * @memberof ApplicationInsights
23
24
  */
24
25
  constructor(config: IConfiguration & IConfig) {
@@ -33,7 +34,13 @@ export class ApplicationInsights {
33
34
  }
34
35
 
35
36
  dynamicProto(ApplicationInsights, this, (_self) => {
36
- _self.config = config;
37
+
38
+ // Define _self.config
39
+ objDefineProp(_self, "config", {
40
+ configurable: true,
41
+ enumerable: true,
42
+ get: () => config
43
+ });
37
44
 
38
45
  _initialize();
39
46
 
@@ -86,7 +93,7 @@ export class ApplicationInsights {
86
93
  /**
87
94
  * Send a manually constructed custom event
88
95
  *
89
- * @param {ITelemetryItem} item
96
+ * @param item
90
97
  * @memberof ApplicationInsights
91
98
  */
92
99
  public track(item: ITelemetryItem) {
@@ -95,7 +102,7 @@ export class ApplicationInsights {
95
102
 
96
103
  /**
97
104
  * Immediately send all batched telemetry
98
- * @param {boolean} [async=true]
105
+ * @param [async=true]
99
106
  * @memberof ApplicationInsights
100
107
  */
101
108
  public flush(async: boolean = true) {
@@ -172,7 +179,6 @@ export {
172
179
  arrForEach,
173
180
  SendRequestReason,
174
181
  _eInternalMessageId,
175
- _InternalMessageId,
176
182
  isNullOrUndefined,
177
183
  throwError,
178
184
  proxyFunctions,
package/types/index.d.ts CHANGED
@@ -5,10 +5,10 @@ import { IConfiguration, ILoadedPlugin, IPlugin, ITelemetryItem, ITelemetryPlugi
5
5
  * @class ApplicationInsights
6
6
  */
7
7
  export declare class ApplicationInsights {
8
- config: IConfiguration & IConfig;
8
+ readonly config: IConfiguration & IConfig;
9
9
  /**
10
10
  * Creates an instance of ApplicationInsights.
11
- * @param {IConfiguration & IConfig} config
11
+ * @param config
12
12
  * @memberof ApplicationInsights
13
13
  */
14
14
  constructor(config: IConfiguration & IConfig);
@@ -21,13 +21,13 @@ export declare class ApplicationInsights {
21
21
  /**
22
22
  * Send a manually constructed custom event
23
23
  *
24
- * @param {ITelemetryItem} item
24
+ * @param item
25
25
  * @memberof ApplicationInsights
26
26
  */
27
27
  track(item: ITelemetryItem): void;
28
28
  /**
29
29
  * Immediately send all batched telemetry
30
- * @param {boolean} [async=true]
30
+ * @param [async=true]
31
31
  * @memberof ApplicationInsights
32
32
  */
33
33
  flush(async?: boolean): void;
@@ -65,6 +65,6 @@ export declare class ApplicationInsights {
65
65
  */
66
66
  addUnloadCb(handler: UnloadHandler): void;
67
67
  }
68
- export { IConfiguration, AppInsightsCore, IAppInsightsCore, ITelemetryItem, ILoadedPlugin, arrForEach, SendRequestReason, _eInternalMessageId, _InternalMessageId, isNullOrUndefined, throwError, proxyFunctions, IPlugin, ITelemetryPlugin } from "@microsoft/applicationinsights-core-js";
68
+ export { IConfiguration, AppInsightsCore, IAppInsightsCore, ITelemetryItem, ILoadedPlugin, arrForEach, SendRequestReason, _eInternalMessageId, isNullOrUndefined, throwError, proxyFunctions, IPlugin, ITelemetryPlugin } from "@microsoft/applicationinsights-core-js";
69
69
  export { SeverityLevel, eSeverityLevel, IPageViewTelemetry, IDependencyTelemetry, IAutoExceptionTelemetry, IEventTelemetry, IMetricTelemetry, IPageViewPerformanceTelemetry, ITraceTelemetry } from "@microsoft/applicationinsights-common";
70
70
  export { Sender } from "@microsoft/applicationinsights-channel-js";
@@ -1,26 +0,0 @@
1
- {
2
- "name": "aib",
3
- "version": "3.0.0-beta.2210-01",
4
- "ext": {
5
- "@js": {
6
- "file": "aib.3.0.0-beta.2210-01.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-ZsI1w7i0H39PkBk1cebibOdSeXbpZbGQFAFzPTI7ufs= sha384-rq58tZ5WyX51BCPjaRKLh9dlFvT9iU03d5SlA/vpOOk5yvguTxfTUTcvaqC2+U6R sha512-etlBhuL0gNTlmBSOI3txnToHuUKsZNK0Qw450p67cYgiZT0ybW/jNTpDXC+PXeka/27eGMS2Aj9iN/qnihVb+A==",
9
- "hashes": {
10
- "sha256": "ZsI1w7i0H39PkBk1cebibOdSeXbpZbGQFAFzPTI7ufs=",
11
- "sha384": "rq58tZ5WyX51BCPjaRKLh9dlFvT9iU03d5SlA/vpOOk5yvguTxfTUTcvaqC2+U6R",
12
- "sha512": "etlBhuL0gNTlmBSOI3txnToHuUKsZNK0Qw450p67cYgiZT0ybW/jNTpDXC+PXeka/27eGMS2Aj9iN/qnihVb+A=="
13
- }
14
- },
15
- "@min.js": {
16
- "file": "aib.3.0.0-beta.2210-01.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-tgV+I8kG6zg5PN1ARH67KCpx/cWMmCVyX5G7UhcA3Jk= sha384-3jK9icYyfF0FqsY/evIqwpbnJs0Q5m52XkGuPIwtIGckdJs1m/AmcUy7xoK+Au6B sha512-1TMFD9j6COOGeNtKK23fACvVgZARlA2WYqYj6ipbNclhEDr/Hh0lzQs5ncQm5rGCS6D+sr/C3VDZKc1FQsR1gg==",
19
- "hashes": {
20
- "sha256": "tgV+I8kG6zg5PN1ARH67KCpx/cWMmCVyX5G7UhcA3Jk=",
21
- "sha384": "3jK9icYyfF0FqsY/evIqwpbnJs0Q5m52XkGuPIwtIGckdJs1m/AmcUy7xoK+Au6B",
22
- "sha512": "1TMFD9j6COOGeNtKK23fACvVgZARlA2WYqYj6ipbNclhEDr/Hh0lzQs5ncQm5rGCS6D+sr/C3VDZKc1FQsR1gg=="
23
- }
24
- }
25
- }
26
- }