@microsoft/applicationinsights-web-basic 2.8.5-nightly.2206-03 → 2.8.5-nightly.2207-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.
Files changed (30) hide show
  1. package/browser/aib.2.8.5-nightly.2207-01.integrity.json +26 -0
  2. package/browser/{aib.2.8.5-nightly.2206-03.js → aib.2.8.5-nightly.2207-01.js} +1635 -1415
  3. package/browser/aib.2.8.5-nightly.2207-01.js.map +1 -0
  4. package/browser/aib.2.8.5-nightly.2207-01.min.js +6 -0
  5. package/browser/aib.2.8.5-nightly.2207-01.min.js.map +1 -0
  6. package/browser/aib.2.js +1634 -1414
  7. package/browser/aib.2.js.map +1 -1
  8. package/browser/aib.2.min.js +2 -2
  9. package/browser/aib.2.min.js.map +1 -1
  10. package/dist/applicationinsights-web-basic.api.json +317 -296
  11. package/dist/applicationinsights-web-basic.d.ts +1 -1
  12. package/dist/applicationinsights-web-basic.js +1634 -1414
  13. package/dist/applicationinsights-web-basic.js.map +1 -1
  14. package/dist/applicationinsights-web-basic.min.js +2 -2
  15. package/dist/applicationinsights-web-basic.min.js.map +1 -1
  16. package/dist/applicationinsights-web-basic.rollup.d.ts +1 -1
  17. package/dist-esm/__DynamicConstants.js +16 -0
  18. package/dist-esm/__DynamicConstants.js.map +1 -0
  19. package/dist-esm/index.js +8 -7
  20. package/dist-esm/index.js.map +1 -1
  21. package/package.json +8 -5
  22. package/src/__DynamicConstants.ts +14 -0
  23. package/src/index.ts +12 -21
  24. package/types/__DynamicConstants.d.ts +2 -0
  25. package/types/index.d.ts +1 -1
  26. package/types/tsdoc-metadata.json +1 -1
  27. package/browser/aib.2.8.5-nightly.2206-03.integrity.json +0 -26
  28. package/browser/aib.2.8.5-nightly.2206-03.js.map +0 -1
  29. package/browser/aib.2.8.5-nightly.2206-03.min.js +0 -6
  30. package/browser/aib.2.8.5-nightly.2206-03.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 2.8.5-nightly.2206-03
2
+ * Microsoft.ApplicationInsights, 2.8.5-nightly.2207-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.5-nightly.2207-01
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ // @skip-file-minify
8
+ // ##############################################################
9
+ // AUTO GENERATED FILE: This file is Auto Generated during build.
10
+ // ##############################################################
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
13
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
+ export var _DYN_INITIALIZE = "initialize"; // Count: 3
15
+ export var _DYN_DIAGNOSTIC_LOG_INTER0 = "diagnosticLogInterval"; // Count: 4
16
+ //# sourceMappingURL=__DynamicConstants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 3\r\nexport var _DYN_DIAGNOSTIC_LOG_INTER0 = \"diagnosticLogInterval\"; // Count: 4\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
package/dist-esm/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.5-nightly.2206-03
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.5-nightly.2207-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
7
  import dynamicProto from "@microsoft/dynamicproto-js";
8
- import { AppInsightsCore, isNullOrUndefined, throwError, proxyFunctions } from "@microsoft/applicationinsights-core-js";
9
8
  import { Sender } from "@microsoft/applicationinsights-channel-js";
9
+ import { AppInsightsCore, isNullOrUndefined, proxyFunctions, throwError } from "@microsoft/applicationinsights-core-js";
10
+ import { _DYN_DIAGNOSTIC_LOG_INTER0, _DYN_INITIALIZE } from "./__DynamicConstants";
10
11
  /**
11
12
  * @export
12
13
  * @class ApplicationInsights
@@ -28,10 +29,10 @@ var ApplicationInsights = /** @class */ (function () {
28
29
  _self.config = config;
29
30
  _self.getSKUDefaults();
30
31
  _initialize();
31
- _self.initialize = _initialize;
32
+ _self[_DYN_INITIALIZE /* @min:%2einitialize */] = _initialize;
32
33
  _self.getSKUDefaults = function () {
33
- _self.config.diagnosticLogInterval =
34
- _self.config.diagnosticLogInterval && _self.config.diagnosticLogInterval > 0 ? _self.config.diagnosticLogInterval : 10000;
34
+ _self.config[_DYN_DIAGNOSTIC_LOG_INTER0 /* @min:%2ediagnosticLogInterval */] =
35
+ _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;
35
36
  };
36
37
  proxyFunctions(_self, core, [
37
38
  "track",
@@ -49,9 +50,9 @@ var ApplicationInsights = /** @class */ (function () {
49
50
  var appInsightsChannel = new Sender();
50
51
  extensions.push(appInsightsChannel);
51
52
  // initialize core
52
- core.initialize(this.config, extensions);
53
+ core[_DYN_INITIALIZE /* @min:%2einitialize */](this.config, extensions);
53
54
  // initialize extensions
54
- appInsightsChannel.initialize(this.config, core, extensions);
55
+ appInsightsChannel[_DYN_INITIALIZE /* @min:%2einitialize */](this.config, core, extensions);
55
56
  core.pollInternalLogs();
56
57
  }
57
58
  });
@@ -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 { AppInsightsCore, isNullOrUndefined, throwError, proxyFunctions } from \"@microsoft/applicationinsights-core-js\";\r\nimport { Sender } from \"@microsoft/applicationinsights-channel-js\";\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 _self.getSKUDefaults();\r\n _initialize();\r\n _self.initialize = _initialize;\r\n _self.getSKUDefaults = function () {\r\n _self.config.diagnosticLogInterval =\r\n _self.config.diagnosticLogInterval && _self.config.diagnosticLogInterval > 0 ? _self.config.diagnosticLogInterval : 10000;\r\n };\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.initialize(this.config, extensions);\r\n // initialize extensions\r\n appInsightsChannel.initialize(this.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, CoreUtils, 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;;;;;;;;;;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 { _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 _self.getSKUDefaults();\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 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 */](this.config, extensions);\r\n // initialize extensions\r\n appInsightsChannel[_DYN_INITIALIZE /* @min:%2einitialize */](this.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, CoreUtils, 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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-web-basic",
3
- "version": "2.8.5-nightly.2206-03",
3
+ "version": "2.8.5-nightly.2207-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",
@@ -14,9 +14,12 @@
14
14
  "build:browser": "rollup -c rollup.config.js",
15
15
  "rebuild": "npm run build",
16
16
  "test": "grunt aiskuliteunittests",
17
+ "mintest": "grunt aiskulite-mintests",
17
18
  "lint": "tslint -p tsconfig.json",
18
19
  "dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
19
- "sri": "node ../tools/subResourceIntegrity/generateIntegrityFile.js"
20
+ "sri": "node ../tools/subResourceIntegrity/generateIntegrityFile.js",
21
+ "ai-min": "grunt aiskulite-min",
22
+ "ai-restore": "grunt aiskulite-restore"
20
23
  },
21
24
  "repository": {
22
25
  "type": "git",
@@ -51,9 +54,9 @@
51
54
  "dependencies": {
52
55
  "@microsoft/dynamicproto-js": "^1.1.6",
53
56
  "@microsoft/applicationinsights-shims": "2.0.1",
54
- "@microsoft/applicationinsights-common": "2.8.5-nightly.2206-03",
55
- "@microsoft/applicationinsights-channel-js": "2.8.5-nightly.2206-03",
56
- "@microsoft/applicationinsights-core-js": "2.8.5-nightly.2206-03"
57
+ "@microsoft/applicationinsights-common": "2.8.5-nightly.2207-01",
58
+ "@microsoft/applicationinsights-channel-js": "2.8.5-nightly.2207-01",
59
+ "@microsoft/applicationinsights-core-js": "2.8.5-nightly.2207-01"
57
60
  },
58
61
  "license": "MIT",
59
62
  "publishConfig": {
@@ -0,0 +1,14 @@
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+ // @skip-file-minify
4
+
5
+ // ##############################################################
6
+ // AUTO GENERATED FILE: This file is Auto Generated during build.
7
+ // ##############################################################
8
+
9
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ export const _DYN_INITIALIZE = "initialize"; // Count: 3
14
+ export const _DYN_DIAGNOSTIC_LOG_INTER0 = "diagnosticLogInterval"; // Count: 4
package/src/index.ts CHANGED
@@ -1,23 +1,14 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import dynamicProto from "@microsoft/dynamicproto-js";
5
- import {
6
- IConfiguration,
7
- AppInsightsCore,
8
- _InternalMessageId,
9
- isNullOrUndefined,
10
- ITelemetryItem,
11
- throwError,
12
- proxyFunctions,
13
- UnloadHandler,
14
- IPlugin,
15
- ITelemetryPlugin,
16
- ILoadedPlugin
17
- } from "@microsoft/applicationinsights-core-js";
18
- import { IConfig } from "@microsoft/applicationinsights-common";
19
- import { Sender } from "@microsoft/applicationinsights-channel-js";
20
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import dynamicProto from "@microsoft/dynamicproto-js";
5
+ import { Sender } from "@microsoft/applicationinsights-channel-js";
6
+ import { IConfig } from "@microsoft/applicationinsights-common";
7
+ import {
8
+ AppInsightsCore, IConfiguration, ILoadedPlugin, IPlugin, ITelemetryItem, ITelemetryPlugin, UnloadHandler, _InternalMessageId,
9
+ _eInternalMessageId, isNullOrUndefined, proxyFunctions, throwError
10
+ } from "@microsoft/applicationinsights-core-js";
11
+
21
12
  /**
22
13
  * @export
23
14
  * @class ApplicationInsights
@@ -201,4 +192,4 @@ export {
201
192
  IPageViewPerformanceTelemetry,
202
193
  ITraceTelemetry
203
194
  } from "@microsoft/applicationinsights-common";
204
- export { Sender } from "@microsoft/applicationinsights-channel-js";
195
+ export { Sender } from "@microsoft/applicationinsights-channel-js";
@@ -0,0 +1,2 @@
1
+ export declare const _DYN_INITIALIZE = "initialize";
2
+ export declare const _DYN_DIAGNOSTIC_LOG_INTER0 = "diagnosticLogInterval";
package/types/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { IConfiguration, ITelemetryItem, UnloadHandler, IPlugin, ITelemetryPlugin, ILoadedPlugin } from "@microsoft/applicationinsights-core-js";
2
1
  import { IConfig } from "@microsoft/applicationinsights-common";
2
+ import { IConfiguration, ILoadedPlugin, IPlugin, ITelemetryItem, ITelemetryPlugin, UnloadHandler } from "@microsoft/applicationinsights-core-js";
3
3
  /**
4
4
  * @export
5
5
  * @class ApplicationInsights
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.25.0"
8
+ "packageVersion": "7.28.1"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "aib",
3
- "version": "2.8.5-nightly.2206-03",
4
- "ext": {
5
- "@js": {
6
- "file": "aib.2.8.5-nightly.2206-03.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-gIsyETOUWUbxxUsdYZ2TwkGGGc7dSPOw0u1+Wk8AvTY= sha384-3Bd1vi+mRoCDaQjKCzTj5+QPJ4hnN0rqAG80ZV86jg4vGZMGt9zpwxHrZxNvHiMf sha512-EcMrm61MWYk7QmVKHU6JuxEtz+M1IPanmfxwGf+X2iCcPeepuPw7aCJQrkgVoEmXANQFzIKPb0gT3AYPG+dsWg==",
9
- "hashes": {
10
- "sha256": "gIsyETOUWUbxxUsdYZ2TwkGGGc7dSPOw0u1+Wk8AvTY=",
11
- "sha384": "3Bd1vi+mRoCDaQjKCzTj5+QPJ4hnN0rqAG80ZV86jg4vGZMGt9zpwxHrZxNvHiMf",
12
- "sha512": "EcMrm61MWYk7QmVKHU6JuxEtz+M1IPanmfxwGf+X2iCcPeepuPw7aCJQrkgVoEmXANQFzIKPb0gT3AYPG+dsWg=="
13
- }
14
- },
15
- "@min.js": {
16
- "file": "aib.2.8.5-nightly.2206-03.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-ErJk7qOrRJWGHHgN6GAvS8kj/EuBy67rBG4l4B9pHVo= sha384-h9eZLh/RFVDIMNtmmigh0gO6EvGzf5pxjaIDpF8GuY8Lpe+YrNfKzxusiW5aJ1W8 sha512-qrijSkB+uAcSYhtgzrJUjonlXtFtg5uxsuDBTc7Q8wApwCm3bUXpmk/jo7/dvgX7VLO/8uxosFbC1pWg/j5CtQ==",
19
- "hashes": {
20
- "sha256": "ErJk7qOrRJWGHHgN6GAvS8kj/EuBy67rBG4l4B9pHVo=",
21
- "sha384": "h9eZLh/RFVDIMNtmmigh0gO6EvGzf5pxjaIDpF8GuY8Lpe+YrNfKzxusiW5aJ1W8",
22
- "sha512": "qrijSkB+uAcSYhtgzrJUjonlXtFtg5uxsuDBTc7Q8wApwCm3bUXpmk/jo7/dvgX7VLO/8uxosFbC1pWg/j5CtQ=="
23
- }
24
- }
25
- }
26
- }