@microsoft/applicationinsights-cfgsync-js 3.4.0-nightlybeta3.2504-05 → 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 (50) hide show
  1. package/browser/es5/{ai.cfgsync.3.4.0-nightlybeta3.2504-05.js → ai.cfgsync.3.4.0-nightlybeta3.2504-17.cjs.js} +190 -125
  2. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.cjs.js.map +1 -0
  3. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.cjs.min.js +6 -0
  4. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.cfgsync.3.4.0-nightlybeta3.2504-05.gbl.js → ai.cfgsync.3.4.0-nightlybeta3.2504-17.gbl.js} +192 -100
  6. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
  7. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.gbl.min.js +6 -0
  8. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.integrity.json +66 -0
  10. package/browser/es5/{ai.cfgsync.3.4.0-nightlybeta3.2504-05.cjs.js → ai.cfgsync.3.4.0-nightlybeta3.2504-17.js} +217 -98
  11. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.js.map +1 -0
  12. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.min.js +6 -0
  13. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-17.min.js.map +1 -0
  14. package/browser/es5/ai.cfgsync.3.cjs.js +189 -97
  15. package/browser/es5/ai.cfgsync.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.cfgsync.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.cfgsync.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.cfgsync.3.gbl.js +191 -99
  19. package/browser/es5/ai.cfgsync.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.cfgsync.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.cfgsync.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.cfgsync.3.integrity.json +25 -25
  23. package/browser/es5/ai.cfgsync.3.js +191 -99
  24. package/browser/es5/ai.cfgsync.3.js.map +1 -1
  25. package/browser/es5/ai.cfgsync.3.min.js +2 -2
  26. package/browser/es5/ai.cfgsync.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-cfgsync-js.js +189 -97
  28. package/dist/es5/applicationinsights-cfgsync-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-cfgsync-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-cfgsync-js.min.js.map +1 -1
  31. package/dist-es5/CfgSyncHelperFuncs.js +1 -1
  32. package/dist-es5/CfgSyncPlugin.js +1 -1
  33. package/dist-es5/Interfaces/ICfgSyncCdnConfig.js +1 -1
  34. package/dist-es5/Interfaces/ICfgSyncConfig.js +1 -1
  35. package/dist-es5/Interfaces/ICfgSyncPlugin.js +1 -1
  36. package/dist-es5/__DynamicConstants.js +1 -1
  37. package/dist-es5/applicationinsights-cfgsync-js.js +1 -1
  38. package/package.json +3 -3
  39. package/types/applicationinsights-cfgsync-js.d.ts +1 -1
  40. package/types/applicationinsights-cfgsync-js.namespaced.d.ts +33 -1
  41. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.cjs.js.map +0 -1
  42. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.cjs.min.js +0 -6
  43. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.cjs.min.js.map +0 -1
  44. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.gbl.js.map +0 -1
  45. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.gbl.min.js +0 -6
  46. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.gbl.min.js.map +0 -1
  47. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.integrity.json +0 -66
  48. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.js.map +0 -1
  49. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.min.js +0 -6
  50. package/browser/es5/ai.cfgsync.3.4.0-nightlybeta3.2504-05.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { isNullOrUndefined, isObject, objExtend, objForEachKey, setValueByKey } from "@nevware21/ts-utils";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 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 - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
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 - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
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 - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
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 - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 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 - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { CfgSyncPlugin } from "./CfgSyncPlugin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-cfgsync-js",
3
- "version": "3.4.0-nightlybeta3.2504-05",
3
+ "version": "3.4.0-nightlybeta3.2504-17",
4
4
  "description": "Microsoft Application Insights CfgSync 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.4.0-nightlybeta3.2504-05",
62
- "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2504-05",
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 idsync plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Microsoft Application Insights idsync plugin, 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 idsync plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Microsoft Application Insights idsync plugin, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -381,6 +381,7 @@ declare namespace ApplicationInsights {
381
381
  */
382
382
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
383
383
  pollInternalLogs?(eventName?: string): ITimerHandler;
384
+ getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
384
385
  stopPollingInternalLogs?(): void;
385
386
  /**
386
387
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1277,6 +1278,11 @@ declare namespace ApplicationInsights {
1277
1278
  * @since 3.3.2
1278
1279
  */
1279
1280
  expCfg?: IExceptionConfig;
1281
+ /**
1282
+ * [Optional] Internal SDK configuration for developers
1283
+ * @internal
1284
+ */
1285
+ _sdk?: IInternalSdkConfiguration;
1280
1286
  }
1281
1287
 
1282
1288
  interface ICookieMgr {
@@ -1621,6 +1627,18 @@ declare namespace ApplicationInsights {
1621
1627
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
1622
1628
  }
1623
1629
 
1630
+ /**
1631
+ * Internal SDK configuration options
1632
+ * @internal
1633
+ */
1634
+ interface IInternalSdkConfiguration {
1635
+ /**
1636
+ * [Optional] Enable Internal StatsBeat
1637
+ * @internal
1638
+ */
1639
+ stats?: boolean;
1640
+ }
1641
+
1624
1642
  /**
1625
1643
  * An alternate interface which provides automatic removal during unloading of the component
1626
1644
  */
@@ -2193,6 +2211,20 @@ declare namespace ApplicationInsights {
2193
2211
  response?: Response | string;
2194
2212
  }
2195
2213
 
2214
+ interface IStatsBeat {
2215
+ initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2216
+ isInitialized(): boolean;
2217
+ count(status: number, payloadData: IPayloadData, endpoint: string): void;
2218
+ countException(endpoint: string, exceptionType: string): void;
2219
+ getEndpoint(): string;
2220
+ }
2221
+
2222
+ interface IStatsBeatConfig {
2223
+ ikey: string;
2224
+ endpoint: string;
2225
+ version?: string;
2226
+ }
2227
+
2196
2228
  /**
2197
2229
  * Identifies a simple interface to allow you to override the storage mechanism used
2198
2230
  * to track unsent and unacknowledged events. When provided it must provide both