@microsoft/applicationinsights-core-js 2.8.7-nightly.2208-05 → 2.8.7-nightly.2208-08

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 (69) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +2 -2
  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 +29 -1
  7. package/dist/applicationinsights-core-js.api.md +1 -0
  8. package/dist/applicationinsights-core-js.d.ts +7 -1
  9. package/dist/applicationinsights-core-js.js +2 -2
  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 +7 -1
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
  15. package/dist-esm/JavaScriptSDK/BaseCore.js +1 -1
  16. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  17. package/dist-esm/JavaScriptSDK/ChannelController.js +1 -1
  18. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  19. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  20. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  21. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  22. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  23. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  24. package/dist-esm/JavaScriptSDK/EnvUtils.js +1 -1
  25. package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
  26. package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
  27. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  28. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  29. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  30. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  31. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  32. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  33. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  34. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  35. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  36. package/dist-esm/JavaScriptSDK/W3cTraceParent.js +1 -1
  37. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  38. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  39. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  40. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  41. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  42. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  43. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  44. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  45. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  46. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  47. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  49. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  50. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  64. package/dist-esm/__DynamicConstants.js +1 -1
  65. package/dist-esm/applicationinsights-core-js.js +1 -1
  66. package/package.json +1 -1
  67. package/src/JavaScriptSDK.Interfaces/ITelemetryPlugin.ts +7 -0
  68. package/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts +6 -0
  69. 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.28.7",
4
+ "toolVersion": "7.29.0",
5
5
  "schemaVersion": 1009,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -17559,6 +17559,34 @@
17559
17559
  "name": "IPlugin",
17560
17560
  "preserveMemberOrder": false,
17561
17561
  "members": [
17562
+ {
17563
+ "kind": "PropertySignature",
17564
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin#core:member",
17565
+ "docComment": "/**\n * The App Insights core to use for backward compatibility. Therefore the interface will be able to access the core without needing to cast to \"any\". [optional] any 3rd party plugins which are already implementing this interface don't fail to compile.\n */\n",
17566
+ "excerptTokens": [
17567
+ {
17568
+ "kind": "Content",
17569
+ "text": "core?: "
17570
+ },
17571
+ {
17572
+ "kind": "Reference",
17573
+ "text": "IAppInsightsCore",
17574
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
17575
+ },
17576
+ {
17577
+ "kind": "Content",
17578
+ "text": ";"
17579
+ }
17580
+ ],
17581
+ "isReadonly": false,
17582
+ "isOptional": true,
17583
+ "releaseTag": "Public",
17584
+ "name": "core",
17585
+ "propertyTypeTokenRange": {
17586
+ "startIndex": 1,
17587
+ "endIndex": 2
17588
+ }
17589
+ },
17562
17590
  {
17563
17591
  "kind": "PropertySignature",
17564
17592
  "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin#identifier:member",
@@ -876,6 +876,7 @@ export interface IPerfManagerProvider {
876
876
 
877
877
  // @public (undocumented)
878
878
  export interface IPlugin {
879
+ core?: IAppInsightsCore;
879
880
  readonly identifier: string;
880
881
  initialize: (config: IConfiguration, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain) => void;
881
882
  isInitialized?: () => boolean;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 2.8.7-nightly.2208-05
2
+ * Microsoft Application Insights Core Javascript SDK, 2.8.7-nightly.2208-08
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -2022,6 +2022,12 @@ declare namespace ApplicationInsights {
2022
2022
  * Plugin version (available in data.properties.version in common schema)
2023
2023
  */
2024
2024
  readonly version?: string;
2025
+ /**
2026
+ * The App Insights core to use for backward compatibility.
2027
+ * Therefore the interface will be able to access the core without needing to cast to "any".
2028
+ * [optional] any 3rd party plugins which are already implementing this interface don't fail to compile.
2029
+ */
2030
+ core?: IAppInsightsCore;
2025
2031
  }
2026
2032
 
2027
2033
  /**
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Core, 2.8.7-nightly.2208-05
2
+ * Application Insights JavaScript SDK - Core, 2.8.7-nightly.2208-08
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -1672,7 +1672,7 @@
1672
1672
  }
1673
1673
 
1674
1674
  var _objDefineProperty = ObjDefineProperty;
1675
- var version = "2.8.7-nightly.2208-05";
1675
+ var version = "2.8.7-nightly.2208-08";
1676
1676
  var instanceName = "." + newId(6);
1677
1677
  var _dataUid = 0;
1678
1678
  function _createAccessor(target, prop, value) {