@microsoft/applicationinsights-dependencies-js 3.3.2-nightly3.2408-08 → 3.3.2-nightly3.2408-10

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 +2 -2
  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 +4 -4
  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 +4 -4
  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 +2 -2
  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 +4 -4
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +22 -5
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08",
3
+ "version": "3.3.2-nightly3.2408-10",
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",
@@ -47,7 +47,7 @@
47
47
  "@rollup/plugin-replace": "^5.0.2",
48
48
  "rollup-plugin-cleanup": "^3.2.1",
49
49
  "rollup": "^3.20.0",
50
- "typedoc": "^0.24.8",
50
+ "typedoc": "^0.26.6",
51
51
  "qunit": "^2.11.2",
52
52
  "sinon": "^7.3.1"
53
53
  },
@@ -57,8 +57,8 @@
57
57
  "dependencies": {
58
58
  "@microsoft/dynamicproto-js": "^2.0.3",
59
59
  "@microsoft/applicationinsights-shims": "3.0.1",
60
- "@microsoft/applicationinsights-core-js": "3.3.2-nightly3.2408-08",
61
- "@microsoft/applicationinsights-common": "3.3.2-nightly3.2408-08",
60
+ "@microsoft/applicationinsights-core-js": "3.3.2-nightly3.2408-10",
61
+ "@microsoft/applicationinsights-common": "3.3.2-nightly3.2408-10",
62
62
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
63
63
  "@nevware21/ts-async": ">= 0.5.2 < 2.x"
64
64
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.3.2-nightly3.2408-08
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.2-nightly3.2408-10
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.2-nightly3.2408-08
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.2-nightly3.2408-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1003,10 +1003,6 @@ declare namespace ApplicationInsights {
1003
1003
  * This URL takes precedence over the 'config.endpointUrl' and any endpoint in the connection string.
1004
1004
  */
1005
1005
  userOverrideEndpointUrl?: string;
1006
- /**
1007
- * [Optional] Set additional configuration for exceptions, such as more scripts to include in the exception telemetry.
1008
- */
1009
- expCfg?: IExceptionConfig;
1010
1006
  }
1011
1007
 
1012
1008
  /**
@@ -1252,6 +1248,11 @@ declare namespace ApplicationInsights {
1252
1248
  * @since 3.3.0
1253
1249
  */
1254
1250
  initInMemoMaxSize?: number;
1251
+ /**
1252
+ * [Optional] Set additional configuration for exceptions, such as more scripts to include in the exception telemetry.
1253
+ * @since 3.3.2
1254
+ */
1255
+ expCfg?: IExceptionConfig;
1255
1256
  }
1256
1257
 
1257
1258
  interface ICookieMgr {
@@ -1601,6 +1602,22 @@ declare namespace ApplicationInsights {
1601
1602
  * Notice: This would increase the size of the exception telemetry.
1602
1603
  */
1603
1604
  inclScripts?: boolean;
1605
+ /**
1606
+ * Callback function for collecting logs to be included in telemetry data.
1607
+ *
1608
+ * The length of logs to generate is controlled by the `maxLogs` parameter.
1609
+ *
1610
+ * This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
1611
+ *
1612
+ * @returns {Object} An object with the following property:
1613
+ * - logs: An array of strings, where each string represents a log entry to be included in the telemetry.
1614
+ *
1615
+ * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1616
+ */
1617
+ expLog: () => {
1618
+ logs: string[];
1619
+ };
1620
+ maxLogs: number;
1604
1621
  }
1605
1622
 
1606
1623
  interface IFeatureOptIn {