@microsoft/applicationinsights-teechannel-js 3.4.0-nightlybeta.2504-03 → 3.4.0-nightlybeta3.2504-17

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 (48) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js} +210 -145
  2. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js} +212 -120
  6. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js} +237 -118
  11. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +209 -117
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +211 -119
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-teechannel-js.3.js +211 -119
  24. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-teechannel-js.js +209 -117
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  31. package/dist-es5/ChannelController.js +1 -1
  32. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  33. package/dist-es5/TeeChannel.js +1 -1
  34. package/dist-es5/__DynamicConstants.js +1 -1
  35. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  36. package/package.json +3 -3
  37. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  38. package/types/applicationinsights-teechannel-js.namespaced.d.ts +33 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
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 - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
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 - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
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 - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
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 - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
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-teechannel-js",
3
- "version": "3.4.0-nightlybeta.2504-03",
3
+ "version": "3.4.0-nightlybeta3.2504-17",
4
4
  "description": "Microsoft Application Insights JavaScript SDK Tee Channel",
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.4.0-nightlybeta.2504-03",
62
- "@microsoft/applicationinsights-common": "3.4.0-nightlybeta.2504-03",
61
+ "@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2504-17",
62
+ "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2504-17",
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 JavaScript SDK Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 3.4.0-nightlybeta3.2504-17
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 JavaScript SDK Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -343,6 +343,7 @@ declare namespace ApplicationInsights {
343
343
  */
344
344
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
345
345
  pollInternalLogs?(eventName?: string): ITimerHandler;
346
+ getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
346
347
  stopPollingInternalLogs?(): void;
347
348
  /**
348
349
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1130,6 +1131,11 @@ declare namespace ApplicationInsights {
1130
1131
  * @since 3.3.2
1131
1132
  */
1132
1133
  expCfg?: IExceptionConfig;
1134
+ /**
1135
+ * [Optional] Internal SDK configuration for developers
1136
+ * @internal
1137
+ */
1138
+ _sdk?: IInternalSdkConfiguration;
1133
1139
  }
1134
1140
 
1135
1141
  interface ICookieMgr {
@@ -1474,6 +1480,18 @@ declare namespace ApplicationInsights {
1474
1480
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
1475
1481
  }
1476
1482
 
1483
+ /**
1484
+ * Internal SDK configuration options
1485
+ * @internal
1486
+ */
1487
+ interface IInternalSdkConfiguration {
1488
+ /**
1489
+ * [Optional] Enable Internal StatsBeat
1490
+ * @internal
1491
+ */
1492
+ stats?: boolean;
1493
+ }
1494
+
1477
1495
  /**
1478
1496
  * An alternate interface which provides automatic removal during unloading of the component
1479
1497
  */
@@ -2046,6 +2064,20 @@ declare namespace ApplicationInsights {
2046
2064
  response?: Response | string;
2047
2065
  }
2048
2066
 
2067
+ interface IStatsBeat {
2068
+ initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2069
+ isInitialized(): boolean;
2070
+ count(status: number, payloadData: IPayloadData, endpoint: string): void;
2071
+ countException(endpoint: string, exceptionType: string): void;
2072
+ getEndpoint(): string;
2073
+ }
2074
+
2075
+ interface IStatsBeatConfig {
2076
+ ikey: string;
2077
+ endpoint: string;
2078
+ version?: string;
2079
+ }
2080
+
2049
2081
  /**
2050
2082
  * Identifies a simple interface to allow you to override the storage mechanism used
2051
2083
  * to track unsent and unacknowledged events. When provided it must provide both