@microsoft/applicationinsights-channel-js 3.4.0-nightlybeta3.2504-20 → 3.4.0-nightlybeta3.2505-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 (57) hide show
  1. package/browser/es5/{applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.js → applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.cjs.js} +149 -123
  2. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.gbl.js → applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.gbl.js} +151 -98
  6. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.cjs.js → applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.js} +176 -96
  11. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.js.map +1 -0
  12. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.min.js +6 -0
  13. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2505-13.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-channel-js.3.cjs.js +148 -95
  15. package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-channel-js.3.gbl.js +150 -97
  19. package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-channel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-channel-js.3.js +150 -97
  24. package/browser/es5/applicationinsights-channel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-channel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-channel-js.js +148 -95
  28. package/dist/es5/applicationinsights-channel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-channel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-channel-js.min.js.map +1 -1
  31. package/dist-es5/EnvelopeCreator.js +2 -2
  32. package/dist-es5/EnvelopeCreator.js.map +1 -1
  33. package/dist-es5/Interfaces.js +1 -1
  34. package/dist-es5/InternalConstants.js +1 -1
  35. package/dist-es5/SendBuffer.js +1 -1
  36. package/dist-es5/Sender.js +61 -53
  37. package/dist-es5/Sender.js.map +1 -1
  38. package/dist-es5/Serializer.js +1 -1
  39. package/dist-es5/TelemetryProcessors/Sample.js +1 -1
  40. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
  41. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
  42. package/dist-es5/__DynamicConstants.js +5 -5
  43. package/dist-es5/__DynamicConstants.js.map +1 -1
  44. package/dist-es5/applicationinsights-channel-js.js +1 -1
  45. package/package.json +3 -3
  46. package/types/applicationinsights-channel-js.d.ts +1 -1
  47. package/types/applicationinsights-channel-js.namespaced.d.ts +4 -34
  48. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.cjs.js.map +0 -1
  49. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.cjs.min.js +0 -6
  50. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.cjs.min.js.map +0 -1
  51. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.gbl.js.map +0 -1
  52. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.gbl.min.js +0 -6
  53. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.gbl.min.js.map +0 -1
  54. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.integrity.json +0 -66
  55. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.js.map +0 -1
  56. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.min.js +0 -6
  57. package/browser/es5/applicationinsights-channel-js.3.4.0-nightlybeta3.2504-20.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Channel, 3.4.0-nightlybeta3.2504-20
2
+ * Microsoft Application Insights JavaScript SDK Channel, 3.4.0-nightlybeta3.2505-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -251,7 +251,9 @@ declare namespace ApplicationInsights {
251
251
  DefaultThrottleMsgKey = 109,
252
252
  CdnDeprecation = 110,
253
253
  SdkLdrUpdate = 111,
254
- InitPromiseException = 112
254
+ InitPromiseException = 112,
255
+ StatsBeatManagerException = 113,
256
+ StatsBeatException = 114
255
257
  }
256
258
 
257
259
  const enum eLoggingSeverity {
@@ -371,7 +373,6 @@ declare namespace ApplicationInsights {
371
373
  */
372
374
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
373
375
  pollInternalLogs?(eventName?: string): ITimerHandler;
374
- getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
375
376
  stopPollingInternalLogs?(): void;
376
377
  /**
377
378
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1170,11 +1171,6 @@ declare namespace ApplicationInsights {
1170
1171
  * @since 3.3.2
1171
1172
  */
1172
1173
  expCfg?: IExceptionConfig;
1173
- /**
1174
- * [Optional] Internal SDK configuration for developers
1175
- * @internal
1176
- */
1177
- _sdk?: IInternalSdkConfiguration;
1178
1174
  }
1179
1175
 
1180
1176
  interface ICookieMgr {
@@ -1556,18 +1552,6 @@ declare namespace ApplicationInsights {
1556
1552
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
1557
1553
  }
1558
1554
 
1559
- /**
1560
- * Internal SDK configuration options
1561
- * @internal
1562
- */
1563
- interface IInternalSdkConfiguration {
1564
- /**
1565
- * [Optional] Enable Internal StatsBeat
1566
- * @internal
1567
- */
1568
- stats?: boolean;
1569
- }
1570
-
1571
1555
  /**
1572
1556
  * Internal interface for sendBuffer, do not export it
1573
1557
  * @internal
@@ -2387,20 +2371,6 @@ declare namespace ApplicationInsights {
2387
2371
  aiDataContract: any;
2388
2372
  }
2389
2373
 
2390
- interface IStatsBeat {
2391
- initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2392
- isInitialized(): boolean;
2393
- count(status: number, payloadData: IPayloadData, endpoint: string): void;
2394
- countException(endpoint: string, exceptionType: string): void;
2395
- getEndpoint(): string;
2396
- }
2397
-
2398
- interface IStatsBeatConfig {
2399
- ikey: string;
2400
- endpoint: string;
2401
- version?: string;
2402
- }
2403
-
2404
2374
  /**
2405
2375
  * Identifies a simple interface to allow you to override the storage mechanism used
2406
2376
  * to track unsent and unacknowledged events. When provided it must provide both