@microsoft/applicationinsights-dependencies-js 3.3.7-nightly3.2504-11 → 3.3.7-nightly3.2504-13

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 (28) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +47 -121
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +49 -123
  6. package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-dependencies-js.js +49 -123
  11. package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-dependencies-js.js +47 -121
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  18. package/dist-es5/DependencyInitializer.js +1 -1
  19. package/dist-es5/DependencyListener.js +1 -1
  20. package/dist-es5/InternalConstants.js +1 -1
  21. package/dist-es5/__DynamicConstants.js +1 -1
  22. package/dist-es5/ajax.js +1 -1
  23. package/dist-es5/ajaxRecord.js +1 -1
  24. package/dist-es5/ajaxUtils.js +1 -1
  25. package/dist-es5/applicationinsights-dependencies-js.js +1 -1
  26. package/package.json +3 -3
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +33 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-es5/ajax.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-13
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-dependencies-js",
3
- "version": "3.3.7-nightly3.2504-11",
3
+ "version": "3.3.7-nightly3.2504-13",
4
4
  "description": "Microsoft Application Insights XHR dependencies plugin",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -58,8 +58,8 @@
58
58
  "dependencies": {
59
59
  "@microsoft/dynamicproto-js": "^2.0.3",
60
60
  "@microsoft/applicationinsights-shims": "3.0.1",
61
- "@microsoft/applicationinsights-core-js": "3.3.7-nightly3.2504-11",
62
- "@microsoft/applicationinsights-common": "3.3.7-nightly3.2504-11",
61
+ "@microsoft/applicationinsights-core-js": "3.3.7-nightly3.2504-13",
62
+ "@microsoft/applicationinsights-common": "3.3.7-nightly3.2504-13",
63
63
  "@nevware21/ts-utils": ">= 0.11.8 < 2.x",
64
64
  "@nevware21/ts-async": ">= 0.5.4 < 2.x"
65
65
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.3.7-nightly3.2504-11
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.3.7-nightly3.2504-11
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.7-nightly3.2504-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -467,6 +467,7 @@ declare namespace ApplicationInsights {
467
467
  */
468
468
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
469
469
  pollInternalLogs?(eventName?: string): ITimerHandler;
470
+ getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
470
471
  stopPollingInternalLogs?(): void;
471
472
  /**
472
473
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1246,6 +1247,11 @@ declare namespace ApplicationInsights {
1246
1247
  * @since 3.3.2
1247
1248
  */
1248
1249
  expCfg?: IExceptionConfig;
1250
+ /**
1251
+ * [Optional] Internal SDK configuration for developers
1252
+ * @internal
1253
+ */
1254
+ _sdk?: IInternalSdkConfiguration;
1249
1255
  }
1250
1256
 
1251
1257
  interface ICookieMgr {
@@ -1719,6 +1725,18 @@ declare namespace ApplicationInsights {
1719
1725
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
1720
1726
  }
1721
1727
 
1728
+ /**
1729
+ * Internal SDK configuration options
1730
+ * @internal
1731
+ */
1732
+ interface IInternalSdkConfiguration {
1733
+ /**
1734
+ * [Optional] Enable Internal StatsBeat
1735
+ * @internal
1736
+ */
1737
+ stats?: boolean;
1738
+ }
1739
+
1722
1740
  /**
1723
1741
  * An alternate interface which provides automatic removal during unloading of the component
1724
1742
  */
@@ -2310,6 +2328,20 @@ declare namespace ApplicationInsights {
2310
2328
  response?: Response | string;
2311
2329
  }
2312
2330
 
2331
+ interface IStatsBeat {
2332
+ initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2333
+ isInitialized(): boolean;
2334
+ count(status: number, payloadData: IPayloadData, endpoint: string): void;
2335
+ countException(endpoint: string, exceptionType: string): void;
2336
+ getEndpoint(): string;
2337
+ }
2338
+
2339
+ interface IStatsBeatConfig {
2340
+ ikey: string;
2341
+ endpoint: string;
2342
+ version?: string;
2343
+ }
2344
+
2313
2345
  /**
2314
2346
  * Identifies a simple interface to allow you to override the storage mechanism used
2315
2347
  * to track unsent and unacknowledged events. When provided it must provide both