@microsoft/applicationinsights-properties-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/{ai.props.3.4.0-nightlybeta3.2504-20.cjs.js → ai.props.3.4.0-nightlybeta3.2505-13.cjs.js} +56 -31
  2. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.cjs.js.map +1 -0
  3. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.cjs.min.js +6 -0
  4. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.props.3.4.0-nightlybeta3.2504-20.gbl.js → ai.props.3.4.0-nightlybeta3.2505-13.gbl.js} +58 -33
  6. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.gbl.js.map +1 -0
  7. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.gbl.min.js +6 -0
  8. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.integrity.json +66 -0
  10. package/browser/es5/{ai.props.3.4.0-nightlybeta3.2504-20.js → ai.props.3.4.0-nightlybeta3.2505-13.js} +58 -33
  11. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.js.map +1 -0
  12. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.min.js +6 -0
  13. package/browser/es5/ai.props.3.4.0-nightlybeta3.2505-13.min.js.map +1 -0
  14. package/browser/es5/ai.props.3.cjs.js +55 -30
  15. package/browser/es5/ai.props.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.props.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.props.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.props.3.gbl.js +57 -32
  19. package/browser/es5/ai.props.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.props.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.props.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.props.3.integrity.json +25 -25
  23. package/browser/es5/ai.props.3.js +57 -32
  24. package/browser/es5/ai.props.3.js.map +1 -1
  25. package/browser/es5/ai.props.3.min.js +2 -2
  26. package/browser/es5/ai.props.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-properties-js.js +55 -30
  28. package/dist/es5/applicationinsights-properties-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-properties-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-properties-js.min.js.map +1 -1
  31. package/dist-es5/Context/Application.js +1 -1
  32. package/dist-es5/Context/Device.js +1 -1
  33. package/dist-es5/Context/Internal.js +2 -2
  34. package/dist-es5/Context/Internal.js.map +1 -1
  35. package/dist-es5/Context/Location.js +1 -1
  36. package/dist-es5/Context/Session.js +1 -1
  37. package/dist-es5/Context/TelemetryTrace.js +1 -1
  38. package/dist-es5/Context/User.js +1 -1
  39. package/dist-es5/Interfaces/IPropTelemetryContext.js +1 -1
  40. package/dist-es5/Interfaces/IPropertiesConfig.js +1 -1
  41. package/dist-es5/PropertiesPlugin.js +1 -1
  42. package/dist-es5/TelemetryContext.js +1 -1
  43. package/dist-es5/__DynamicConstants.js +1 -1
  44. package/dist-es5/applicationinsights-properties-js.js +1 -1
  45. package/package.json +3 -3
  46. package/types/applicationinsights-properties-js.d.ts +1 -1
  47. package/types/applicationinsights-properties-js.namespaced.d.ts +4 -34
  48. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.js.map +0 -1
  49. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.min.js +0 -6
  50. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.min.js.map +0 -1
  51. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.js.map +0 -1
  52. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.min.js +0 -6
  53. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.min.js.map +0 -1
  54. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.integrity.json +0 -66
  55. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.js.map +0 -1
  56. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.min.js +0 -6
  57. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,11 +1,11 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
7
  import { onConfigChange } from "@microsoft/applicationinsights-core-js";
8
- var Version = '3.4.0-nightlybeta3.2504-20';
8
+ var Version = '3.4.0-nightlybeta3.2505-13';
9
9
  var Internal = /** @class */ (function () {
10
10
  /**
11
11
  * Constructs a new instance of the internal telemetry data class.
@@ -1 +1 @@
1
- {"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.4.0-nightlybeta3.2504-20';\r\nvar Internal = /** @class */ (function () {\r\n /**\r\n * Constructs a new instance of the internal telemetry data class.\r\n */\r\n function Internal(config, unloadHookContainer) {\r\n var _this = this;\r\n var unloadHook = onConfigChange((config), function () {\r\n var prefix = config.sdkExtension;\r\n _this.sdkVersion = (prefix ? prefix + \"_\" : \"\") + \"javascript:\" + Version;\r\n });\r\n unloadHookContainer && unloadHookContainer.add(unloadHook);\r\n }\r\n return Internal;\r\n}());\r\nexport { Internal };\r\n//# sourceMappingURL=Internal.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.4.0-nightlybeta3.2505-13';\r\nvar Internal = /** @class */ (function () {\r\n /**\r\n * Constructs a new instance of the internal telemetry data class.\r\n */\r\n function Internal(config, unloadHookContainer) {\r\n var _this = this;\r\n var unloadHook = onConfigChange((config), function () {\r\n var prefix = config.sdkExtension;\r\n _this.sdkVersion = (prefix ? prefix + \"_\" : \"\") + \"javascript:\" + Version;\r\n });\r\n unloadHookContainer && unloadHookContainer.add(unloadHook);\r\n }\r\n return Internal;\r\n}());\r\nexport { Internal };\r\n//# sourceMappingURL=Internal.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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 - Properties Plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2505-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-properties-js",
3
- "version": "3.4.0-nightlybeta3.2504-20",
3
+ "version": "3.4.0-nightlybeta3.2505-13",
4
4
  "description": "Microsoft Application Insights properties (Part A) plugin",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -59,8 +59,8 @@
59
59
  "dependencies": {
60
60
  "@microsoft/dynamicproto-js": "^2.0.3",
61
61
  "@microsoft/applicationinsights-shims": "3.0.1",
62
- "@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2504-20",
63
- "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2504-20",
62
+ "@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2505-13",
63
+ "@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2505-13",
64
64
  "@nevware21/ts-utils": ">= 0.11.8 < 2.x"
65
65
  },
66
66
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights properties plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Microsoft Application Insights properties plugin, 3.4.0-nightlybeta3.2505-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 properties plugin, 3.4.0-nightlybeta3.2504-20
2
+ * Microsoft Application Insights properties plugin, 3.4.0-nightlybeta3.2505-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -232,7 +232,9 @@ declare namespace ApplicationInsights {
232
232
  DefaultThrottleMsgKey = 109,
233
233
  CdnDeprecation = 110,
234
234
  SdkLdrUpdate = 111,
235
- InitPromiseException = 112
235
+ InitPromiseException = 112,
236
+ StatsBeatManagerException = 113,
237
+ StatsBeatException = 114
236
238
  }
237
239
 
238
240
  const enum eLoggingSeverity {
@@ -343,7 +345,6 @@ declare namespace ApplicationInsights {
343
345
  */
344
346
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
345
347
  pollInternalLogs?(eventName?: string): ITimerHandler;
346
- getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
347
348
  stopPollingInternalLogs?(): void;
348
349
  /**
349
350
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1134,11 +1135,6 @@ declare namespace ApplicationInsights {
1134
1135
  * @since 3.3.2
1135
1136
  */
1136
1137
  expCfg?: IExceptionConfig;
1137
- /**
1138
- * [Optional] Internal SDK configuration for developers
1139
- * @internal
1140
- */
1141
- _sdk?: IInternalSdkConfiguration;
1142
1138
  }
1143
1139
 
1144
1140
  interface ICookieMgr {
@@ -1530,18 +1526,6 @@ declare namespace ApplicationInsights {
1530
1526
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
1531
1527
  }
1532
1528
 
1533
- /**
1534
- * Internal SDK configuration options
1535
- * @internal
1536
- */
1537
- interface IInternalSdkConfiguration {
1538
- /**
1539
- * [Optional] Enable Internal StatsBeat
1540
- * @internal
1541
- */
1542
- stats?: boolean;
1543
- }
1544
-
1545
1529
  /**
1546
1530
  * An alternate interface which provides automatic removal during unloading of the component
1547
1531
  */
@@ -2213,20 +2197,6 @@ declare namespace ApplicationInsights {
2213
2197
  backup: () => void;
2214
2198
  }
2215
2199
 
2216
- interface IStatsBeat {
2217
- initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2218
- isInitialized(): boolean;
2219
- count(status: number, payloadData: IPayloadData, endpoint: string): void;
2220
- countException(endpoint: string, exceptionType: string): void;
2221
- getEndpoint(): string;
2222
- }
2223
-
2224
- interface IStatsBeatConfig {
2225
- ikey: string;
2226
- endpoint: string;
2227
- version?: string;
2228
- }
2229
-
2230
2200
  /**
2231
2201
  * Identifies a simple interface to allow you to override the storage mechanism used
2232
2202
  * to track unsent and unacknowledged events. When provided it must provide both