@microsoft/applicationinsights-debugplugin-js 3.3.3-nightly3.2408-12 → 3.3.3-nightly3.2409-02

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 (44) hide show
  1. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.cjs.js → ai.dbg.3.3.3-nightly3.2409-02.cjs.js} +3 -3
  2. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.cjs.js.map → ai.dbg.3.3.3-nightly3.2409-02.cjs.js.map} +1 -1
  3. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.cjs.min.js → ai.dbg.3.3.3-nightly3.2409-02.cjs.min.js} +3 -3
  4. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.cjs.min.js.map → ai.dbg.3.3.3-nightly3.2409-02.cjs.min.js.map} +1 -1
  5. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.gbl.js → ai.dbg.3.3.3-nightly3.2409-02.gbl.js} +5 -5
  6. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.gbl.js.map → ai.dbg.3.3.3-nightly3.2409-02.gbl.js.map} +1 -1
  7. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.gbl.min.js → ai.dbg.3.3.3-nightly3.2409-02.gbl.min.js} +3 -3
  8. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.gbl.min.js.map → ai.dbg.3.3.3-nightly3.2409-02.gbl.min.js.map} +1 -1
  9. package/browser/es5/ai.dbg.3.3.3-nightly3.2409-02.integrity.json +66 -0
  10. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.js → ai.dbg.3.3.3-nightly3.2409-02.js} +5 -5
  11. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.js.map → ai.dbg.3.3.3-nightly3.2409-02.js.map} +1 -1
  12. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.min.js → ai.dbg.3.3.3-nightly3.2409-02.min.js} +3 -3
  13. package/browser/es5/{ai.dbg.3.3.3-nightly3.2408-12.min.js.map → ai.dbg.3.3.3-nightly3.2409-02.min.js.map} +1 -1
  14. package/browser/es5/ai.dbg.3.cjs.js +2 -2
  15. package/browser/es5/ai.dbg.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.dbg.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.dbg.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.dbg.3.gbl.js +4 -4
  19. package/browser/es5/ai.dbg.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.dbg.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.dbg.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.dbg.3.integrity.json +25 -25
  23. package/browser/es5/ai.dbg.3.js +4 -4
  24. package/browser/es5/ai.dbg.3.js.map +1 -1
  25. package/browser/es5/ai.dbg.3.min.js +2 -2
  26. package/browser/es5/ai.dbg.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-debugplugin-js.js +2 -2
  28. package/dist/es5/applicationinsights-debugplugin-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-debugplugin-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-debugplugin-js.min.js.map +1 -1
  31. package/dist-es5/DebugPlugin.js +1 -1
  32. package/dist-es5/__DynamicConstants.js +1 -1
  33. package/dist-es5/applicationinsights-debugplugin-js.js +1 -1
  34. package/dist-es5/components/Dashboard.js +1 -1
  35. package/dist-es5/components/LogEntry.js +1 -1
  36. package/dist-es5/components/debugBins.js +1 -1
  37. package/dist-es5/components/filterList.js +1 -1
  38. package/dist-es5/components/helpers.js +1 -1
  39. package/dist-es5/components/styleNodeSrc.js +1 -1
  40. package/dist-es5/interfaces/IDebugPluginConfig.js +1 -1
  41. package/package.json +3 -3
  42. package/types/applicationinsights-debugplugin-js.d.ts +1 -1
  43. package/types/applicationinsights-debugplugin-js.namespaced.d.ts +29 -3
  44. package/browser/es5/ai.dbg.3.3.3-nightly3.2408-12.integrity.json +0 -66
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import dynamicProto from "@microsoft/dynamicproto-js";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { isArray, isBoolean, isError, isNumber, isObject, isString, objToString } from "@microsoft/applicationinsights-core-js";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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 - Debug Plugin, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-02
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-debugplugin-js",
3
- "version": "3.3.3-nightly3.2408-12",
3
+ "version": "3.3.3-nightly3.2409-02",
4
4
  "description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@microsoft/dynamicproto-js": "^2.0.3",
55
- "@microsoft/applicationinsights-common": "3.3.3-nightly3.2408-12",
56
- "@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2408-12",
55
+ "@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-02",
56
+ "@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-02",
57
57
  "@microsoft/applicationinsights-shims": "3.0.1",
58
58
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x"
59
59
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.3.3-nightly3.2408-12
2
+ * Microsoft.ApplicationInsights, 3.3.3-nightly3.2409-02
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.ApplicationInsights, 3.3.3-nightly3.2408-12
2
+ * Microsoft.ApplicationInsights, 3.3.3-nightly3.2409-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1037,10 +1037,31 @@ declare namespace ApplicationInsights {
1037
1037
  setTraceFlags(newValue?: number): void;
1038
1038
  }
1039
1039
 
1040
+ /**
1041
+ * Configuration for extra exceptions information sent with the exception telemetry.
1042
+ * @example
1043
+ * ```js
1044
+ * const appInsights = new ApplicationInsights({
1045
+ config: {
1046
+ connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
1047
+ expCfg: {
1048
+ inclScripts: true,
1049
+ expLog : () => {
1050
+ return {logs: ["log info 1", "log info 2"]};
1051
+ },
1052
+ maxLogs : 100
1053
+ }
1054
+ }
1055
+ });
1056
+ appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
1057
+ * ```
1058
+ * @interface IExceptionConfig
1059
+ */
1040
1060
  interface IExceptionConfig {
1041
1061
  /**
1042
1062
  * If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
1043
1063
  * Notice: This would increase the size of the exception telemetry.
1064
+ * @defaultvalue true
1044
1065
  */
1045
1066
  inclScripts?: boolean;
1046
1067
  /**
@@ -1055,10 +1076,15 @@ declare namespace ApplicationInsights {
1055
1076
  *
1056
1077
  * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1057
1078
  */
1058
- expLog: () => {
1079
+ expLog?: () => {
1059
1080
  logs: string[];
1060
1081
  };
1061
- maxLogs: number;
1082
+ /**
1083
+ * The maximum number of logs to include in the telemetry data.
1084
+ * If not explicitly set, it defaults to 50.
1085
+ * This is used in conjunction with the `expLog` callback.
1086
+ */
1087
+ maxLogs?: number;
1062
1088
  }
1063
1089
 
1064
1090
  interface IFeatureOptIn {
@@ -1,66 +0,0 @@
1
- {
2
- "name": "ai.dbg",
3
- "version": "3.3.3-nightly3.2408-12",
4
- "ext": {
5
- "@cjs.js": {
6
- "file": "ai.dbg.3.3.3-nightly3.2408-12.cjs.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-dLbDmYNcfJB41Gj/LzM5g7+mh+IeGVMFfWejtrONT0U= sha384-aVDaRckLKELiGreS3MEvh2kV/AFnQ3VVZCCwVjeS/1wsjExGka918L67li8pfQaO sha512-pBJaWhiH2eioRVNWOljyDIVZDNbEby/J7U75y3GPqkeKU4tcA2UuZOpPUDLcb4P2rk65eSShOSmc1Yq7czEpCw==",
9
- "hashes": {
10
- "sha256": "dLbDmYNcfJB41Gj/LzM5g7+mh+IeGVMFfWejtrONT0U=",
11
- "sha384": "aVDaRckLKELiGreS3MEvh2kV/AFnQ3VVZCCwVjeS/1wsjExGka918L67li8pfQaO",
12
- "sha512": "pBJaWhiH2eioRVNWOljyDIVZDNbEby/J7U75y3GPqkeKU4tcA2UuZOpPUDLcb4P2rk65eSShOSmc1Yq7czEpCw=="
13
- }
14
- },
15
- "@cjs.min.js": {
16
- "file": "ai.dbg.3.3.3-nightly3.2408-12.cjs.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-tGX5l+uFm83/L58zdrIopySjHPoGjPINSjkkerik1Ic= sha384-m5Dltn7z84hW/jq1NcS05wZGcCU16Fg8XERBFsOGpPHpcUqQAxjJP0+BlIObncpN sha512-XBGvLhA+VTovLVtIfTcebOdZsdaWL7beXVIB10LIUZOAPbpk1vBGsDUbZtk2wEK+OmzVKc3CmCTnmY6HxVjO2w==",
19
- "hashes": {
20
- "sha256": "tGX5l+uFm83/L58zdrIopySjHPoGjPINSjkkerik1Ic=",
21
- "sha384": "m5Dltn7z84hW/jq1NcS05wZGcCU16Fg8XERBFsOGpPHpcUqQAxjJP0+BlIObncpN",
22
- "sha512": "XBGvLhA+VTovLVtIfTcebOdZsdaWL7beXVIB10LIUZOAPbpk1vBGsDUbZtk2wEK+OmzVKc3CmCTnmY6HxVjO2w=="
23
- }
24
- },
25
- "@gbl.js": {
26
- "file": "ai.dbg.3.3.3-nightly3.2408-12.gbl.js",
27
- "type": "text/javascript; charset=utf-8",
28
- "integrity": "sha256-87H8aF9vc+LD15Y2FhGGq95TXzZqET8T2KSc7b4otaM= sha384-nfpAvEGT0smIkxPR1gfxZXtZY1QerkkBv0wP8IXtfQwxWAeDsfLoexyx2Ber4UsO sha512-Qy6pjqTT7y5Zj4YFf81gCY3xi/24XOp+wjjtR9ksZDT+3SKwIabODRQJpDWuHa0szJHof5ErxSTjjr1ytft/nQ==",
29
- "hashes": {
30
- "sha256": "87H8aF9vc+LD15Y2FhGGq95TXzZqET8T2KSc7b4otaM=",
31
- "sha384": "nfpAvEGT0smIkxPR1gfxZXtZY1QerkkBv0wP8IXtfQwxWAeDsfLoexyx2Ber4UsO",
32
- "sha512": "Qy6pjqTT7y5Zj4YFf81gCY3xi/24XOp+wjjtR9ksZDT+3SKwIabODRQJpDWuHa0szJHof5ErxSTjjr1ytft/nQ=="
33
- }
34
- },
35
- "@gbl.min.js": {
36
- "file": "ai.dbg.3.3.3-nightly3.2408-12.gbl.min.js",
37
- "type": "text/javascript; charset=utf-8",
38
- "integrity": "sha256-aW94NS/mwR9NvhZud842U6APdOrRyyRH/AnBV/KHvTU= sha384-nUsYAalD3miOk1tBrtiSJBXkvNtQ3iyeAWeZSTAgRE8g3xOTiMAAU+mbxXR88Y9M sha512-DHzLdoD0jcE7KeDKqikw8/ASbbc5cu3yPNoWCty02h6xcsUrkeyNX4Gp4l4jwWU+i5Ohdo+glmTZaaJST+CLmA==",
39
- "hashes": {
40
- "sha256": "aW94NS/mwR9NvhZud842U6APdOrRyyRH/AnBV/KHvTU=",
41
- "sha384": "nUsYAalD3miOk1tBrtiSJBXkvNtQ3iyeAWeZSTAgRE8g3xOTiMAAU+mbxXR88Y9M",
42
- "sha512": "DHzLdoD0jcE7KeDKqikw8/ASbbc5cu3yPNoWCty02h6xcsUrkeyNX4Gp4l4jwWU+i5Ohdo+glmTZaaJST+CLmA=="
43
- }
44
- },
45
- "@js": {
46
- "file": "ai.dbg.3.3.3-nightly3.2408-12.js",
47
- "type": "text/javascript; charset=utf-8",
48
- "integrity": "sha256-Ly3JdIiVyN6YM7FdBcqYsr9VLTLcDqNO9fXJFVnMIBc= sha384-Lw0pc1PSpjKroiDrkZQBdvqbN6IcgegRgBIFvp4A953MRMBTEycDuqnAe3RjGmyL sha512-HWT38oYdUlzdwZoO+zRMdnRq+hZoyNyRARQZjFSANYQ4WEAwHrperNjAk5U3w84jtlFpOsM2JPtCAW3PVrTWDg==",
49
- "hashes": {
50
- "sha256": "Ly3JdIiVyN6YM7FdBcqYsr9VLTLcDqNO9fXJFVnMIBc=",
51
- "sha384": "Lw0pc1PSpjKroiDrkZQBdvqbN6IcgegRgBIFvp4A953MRMBTEycDuqnAe3RjGmyL",
52
- "sha512": "HWT38oYdUlzdwZoO+zRMdnRq+hZoyNyRARQZjFSANYQ4WEAwHrperNjAk5U3w84jtlFpOsM2JPtCAW3PVrTWDg=="
53
- }
54
- },
55
- "@min.js": {
56
- "file": "ai.dbg.3.3.3-nightly3.2408-12.min.js",
57
- "type": "text/javascript; charset=utf-8",
58
- "integrity": "sha256-PZVKyXf5RNNuCpbx3ZC356lzD7te8riOxg/45oJkL0k= sha384-HADsmTyc9C65zkYCjTvpYvsKCUJCJ900OwSiF2Fh6Qcg4vYsTLatL4fBLj5zAS/T sha512-ETf2uQy91CYJetQdUpZNWltZFyUCzEfDwj4gQWzWkRmBds4GUfTk9v6e10NGp2MOxDWBAy9ERQDPtNf+VzoGHQ==",
59
- "hashes": {
60
- "sha256": "PZVKyXf5RNNuCpbx3ZC356lzD7te8riOxg/45oJkL0k=",
61
- "sha384": "HADsmTyc9C65zkYCjTvpYvsKCUJCJ900OwSiF2Fh6Qcg4vYsTLatL4fBLj5zAS/T",
62
- "sha512": "ETf2uQy91CYJetQdUpZNWltZFyUCzEfDwj4gQWzWkRmBds4GUfTk9v6e10NGp2MOxDWBAy9ERQDPtNf+VzoGHQ=="
63
- }
64
- }
65
- }
66
- }