@microsoft/applicationinsights-teechannel-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 (39) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.cjs.js} +3 -3
  2. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.cjs.js.map} +1 -1
  3. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.min.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.cjs.min.js} +3 -3
  4. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.min.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.cjs.min.js.map} +1 -1
  5. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.gbl.js} +5 -5
  6. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.gbl.js.map} +1 -1
  7. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.min.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.gbl.min.js} +3 -3
  8. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.min.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.gbl.min.js.map} +1 -1
  9. package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.js} +5 -5
  11. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.js.map} +1 -1
  12. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.min.js → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.min.js} +3 -3
  13. package/browser/es5/{applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.min.js.map → applicationinsights-teechannel-js.3.3.3-nightly3.2409-02.min.js.map} +1 -1
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +2 -2
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +4 -4
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-teechannel-js.3.js +4 -4
  24. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-teechannel-js.js +2 -2
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  31. package/dist-es5/ChannelController.js +1 -1
  32. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  33. package/dist-es5/TeeChannel.js +1 -1
  34. package/dist-es5/__DynamicConstants.js +1 -1
  35. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  36. package/package.json +3 -3
  37. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  38. package/types/applicationinsights-teechannel-js.namespaced.d.ts +29 -3
  39. package/browser/es5/applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.integrity.json +0 -66
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Tee Channel, 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 - Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Tee Channel, 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 - Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Tee Channel, 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 - Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Tee Channel, 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 - Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Application Insights JavaScript SDK - Tee Channel, 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-teechannel-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 Tee Channel",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -54,8 +54,8 @@
54
54
  "dependencies": {
55
55
  "@microsoft/dynamicproto-js": "^2.0.3",
56
56
  "@microsoft/applicationinsights-shims": "3.0.1",
57
- "@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2408-12",
58
- "@microsoft/applicationinsights-common": "3.3.3-nightly3.2408-12",
57
+ "@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-02",
58
+ "@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-02",
59
59
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
60
60
  "@nevware21/ts-async": ">= 0.5.2 < 2.x"
61
61
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 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 Application Insights JavaScript SDK Tee Channel, 3.3.3-nightly3.2408-12
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.3-nightly3.2409-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1353,10 +1353,31 @@ declare namespace ApplicationInsights {
1353
1353
  setTraceFlags(newValue?: number): void;
1354
1354
  }
1355
1355
 
1356
+ /**
1357
+ * Configuration for extra exceptions information sent with the exception telemetry.
1358
+ * @example
1359
+ * ```js
1360
+ * const appInsights = new ApplicationInsights({
1361
+ config: {
1362
+ connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
1363
+ expCfg: {
1364
+ inclScripts: true,
1365
+ expLog : () => {
1366
+ return {logs: ["log info 1", "log info 2"]};
1367
+ },
1368
+ maxLogs : 100
1369
+ }
1370
+ }
1371
+ });
1372
+ appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
1373
+ * ```
1374
+ * @interface IExceptionConfig
1375
+ */
1356
1376
  interface IExceptionConfig {
1357
1377
  /**
1358
1378
  * 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.
1359
1379
  * Notice: This would increase the size of the exception telemetry.
1380
+ * @defaultvalue true
1360
1381
  */
1361
1382
  inclScripts?: boolean;
1362
1383
  /**
@@ -1371,10 +1392,15 @@ declare namespace ApplicationInsights {
1371
1392
  *
1372
1393
  * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1373
1394
  */
1374
- expLog: () => {
1395
+ expLog?: () => {
1375
1396
  logs: string[];
1376
1397
  };
1377
- maxLogs: number;
1398
+ /**
1399
+ * The maximum number of logs to include in the telemetry data.
1400
+ * If not explicitly set, it defaults to 50.
1401
+ * This is used in conjunction with the `expLog` callback.
1402
+ */
1403
+ maxLogs?: number;
1378
1404
  }
1379
1405
 
1380
1406
  interface IFeatureOptIn {
@@ -1,66 +0,0 @@
1
- {
2
- "name": "applicationinsights-teechannel-js",
3
- "version": "3.3.3-nightly3.2408-12",
4
- "ext": {
5
- "@cjs.js": {
6
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-Xessi/6YH7SRabpeDgr3G1KOTIE7Hk4x0aY1bfnjvDU= sha384-YJZck8p77kJZ95mOk2i+FUIrdCjJnHCHWZNWgUNbB3LtOxrcC2aaBM77fhFWl9Mn sha512-0ni1S9lCjRmni+SukE4V8iPByk7e4UBIa24JOPsYX6djzoRwqoPeNUR+u3FgFZ5LYHGdjBv9LBgATE05xI7m7A==",
9
- "hashes": {
10
- "sha256": "Xessi/6YH7SRabpeDgr3G1KOTIE7Hk4x0aY1bfnjvDU=",
11
- "sha384": "YJZck8p77kJZ95mOk2i+FUIrdCjJnHCHWZNWgUNbB3LtOxrcC2aaBM77fhFWl9Mn",
12
- "sha512": "0ni1S9lCjRmni+SukE4V8iPByk7e4UBIa24JOPsYX6djzoRwqoPeNUR+u3FgFZ5LYHGdjBv9LBgATE05xI7m7A=="
13
- }
14
- },
15
- "@cjs.min.js": {
16
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.cjs.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-UY814UKKwAOUXeamJIZvc1H+3zG1DVucFYxr33KgQ5s= sha384-yd7e0vV3gjo9RiZ4ER4XYg7HMMyEhT8QHVVE1ShIOOwPLlisOXNx/Zfk+NTXozwi sha512-VGJdpM9OTwxCbAbMwDfcyxCcMbLVp5nhsOJm8I9yMMdL+/RspsF0BiKnD8YonuYauQoC8fDKp6qHv30JygWZaA==",
19
- "hashes": {
20
- "sha256": "UY814UKKwAOUXeamJIZvc1H+3zG1DVucFYxr33KgQ5s=",
21
- "sha384": "yd7e0vV3gjo9RiZ4ER4XYg7HMMyEhT8QHVVE1ShIOOwPLlisOXNx/Zfk+NTXozwi",
22
- "sha512": "VGJdpM9OTwxCbAbMwDfcyxCcMbLVp5nhsOJm8I9yMMdL+/RspsF0BiKnD8YonuYauQoC8fDKp6qHv30JygWZaA=="
23
- }
24
- },
25
- "@gbl.js": {
26
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.js",
27
- "type": "text/javascript; charset=utf-8",
28
- "integrity": "sha256-VnP4RzcHwtfdN8rTJQ99R/U3MR6zXlvfcMki3H3U4e8= sha384-mMwbOWdqg54apTl9ztp0PcDIrGQHdYx7MsTw18lqLnG2s+Y1qyzB1cBRZ/esvZM5 sha512-ags0OeaICGrr+6DQnejKhWEhgbZXrzmU4Isc5sziIUdJO7KlNU9pCjtpuTc/TrbpF88It/HiWtmOoSDResW1Xg==",
29
- "hashes": {
30
- "sha256": "VnP4RzcHwtfdN8rTJQ99R/U3MR6zXlvfcMki3H3U4e8=",
31
- "sha384": "mMwbOWdqg54apTl9ztp0PcDIrGQHdYx7MsTw18lqLnG2s+Y1qyzB1cBRZ/esvZM5",
32
- "sha512": "ags0OeaICGrr+6DQnejKhWEhgbZXrzmU4Isc5sziIUdJO7KlNU9pCjtpuTc/TrbpF88It/HiWtmOoSDResW1Xg=="
33
- }
34
- },
35
- "@gbl.min.js": {
36
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.gbl.min.js",
37
- "type": "text/javascript; charset=utf-8",
38
- "integrity": "sha256-wKpPjbCyCA6cV97JcLbpM/WEhqnjqDmn3zGJtOgV6cY= sha384-QTeROxd/nSn1E5S6e8r+aFnvAgbtoxUjZp5+qqPh2cCZkHSdBodz4FqjPh4vrc2O sha512-+ss27Fi4JSSFh+5MMR+2RrlN4kdWsIlKMl7kFPrSA0F2U5KMxW/ky0FFCFibYsnx+rLZ8Q0jrOmc1+wCzCmzAA==",
39
- "hashes": {
40
- "sha256": "wKpPjbCyCA6cV97JcLbpM/WEhqnjqDmn3zGJtOgV6cY=",
41
- "sha384": "QTeROxd/nSn1E5S6e8r+aFnvAgbtoxUjZp5+qqPh2cCZkHSdBodz4FqjPh4vrc2O",
42
- "sha512": "+ss27Fi4JSSFh+5MMR+2RrlN4kdWsIlKMl7kFPrSA0F2U5KMxW/ky0FFCFibYsnx+rLZ8Q0jrOmc1+wCzCmzAA=="
43
- }
44
- },
45
- "@js": {
46
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.js",
47
- "type": "text/javascript; charset=utf-8",
48
- "integrity": "sha256-0e8ELet8Dp8fAPIwskn62LVHWy6jpHXR6GLF746rwF4= sha384-W3EtMwKE0YrhN3yYEahebntEedQwAL+5NX+oW1upgP+UB1GnoSD9343frC6xNRO8 sha512-IqZ3mApU4rgmqXc2mcJluk1uUvSdIYs5dgs4sTow8KdpHqfKEL42qGJu67CGF3iyLVhAgdQhMbFdaYvGVF5cSg==",
49
- "hashes": {
50
- "sha256": "0e8ELet8Dp8fAPIwskn62LVHWy6jpHXR6GLF746rwF4=",
51
- "sha384": "W3EtMwKE0YrhN3yYEahebntEedQwAL+5NX+oW1upgP+UB1GnoSD9343frC6xNRO8",
52
- "sha512": "IqZ3mApU4rgmqXc2mcJluk1uUvSdIYs5dgs4sTow8KdpHqfKEL42qGJu67CGF3iyLVhAgdQhMbFdaYvGVF5cSg=="
53
- }
54
- },
55
- "@min.js": {
56
- "file": "applicationinsights-teechannel-js.3.3.3-nightly3.2408-12.min.js",
57
- "type": "text/javascript; charset=utf-8",
58
- "integrity": "sha256-61+mXj56YS8LnT2Y3gPWVlCnJT/i8IOCiELK5OQs7s4= sha384-+MgGEHJpUQqSlSZgmmhnC8BwUnt6XNIHmZDPnQcdylwjxUxwHffw2XeEXc8WS9C0 sha512-089UonVwUvRsWhncjcntRAg6OxpexLabDnchXf8eJ/MCz/BZARbC66SWgZ9fTJvvSchYa1vpr6NKXGDRUiG48Q==",
59
- "hashes": {
60
- "sha256": "61+mXj56YS8LnT2Y3gPWVlCnJT/i8IOCiELK5OQs7s4=",
61
- "sha384": "+MgGEHJpUQqSlSZgmmhnC8BwUnt6XNIHmZDPnQcdylwjxUxwHffw2XeEXc8WS9C0",
62
- "sha512": "089UonVwUvRsWhncjcntRAg6OxpexLabDnchXf8eJ/MCz/BZARbC66SWgZ9fTJvvSchYa1vpr6NKXGDRUiG48Q=="
63
- }
64
- }
65
- }
66
- }