@microsoft/applicationinsights-teechannel-js 3.1.1-nightly3.2402-20 → 3.1.1-nightly3.2403-01

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 (42) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.cjs.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.cjs.js} +2 -2
  2. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.cjs.js.map +1 -0
  3. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.cjs.min.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.cjs.min.js} +2 -2
  4. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.cjs.min.js.map → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.cjs.min.js.map} +1 -1
  5. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.gbl.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.gbl.js} +4 -4
  6. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.gbl.js.map +1 -0
  7. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.gbl.min.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.gbl.min.js} +3 -3
  8. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.gbl.min.js.map → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.gbl.min.js.map} +1 -1
  9. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.js} +4 -4
  11. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.js.map +1 -0
  12. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.min.js → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.min.js} +3 -3
  13. package/browser/es5/{applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.min.js.map → applicationinsights-teechannel-js.3.1.1-nightly3.2403-01.min.js.map} +1 -1
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +1 -1
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +1 -1
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +3 -3
  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 +3 -3
  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 +1 -1
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +1 -1
  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 +39 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.gbl.js.map +0 -1
  41. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.integrity.json +0 -66
  42. package/browser/es5/applicationinsights-teechannel-js.3.1.1-nightly3.2402-20.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20",
3
+ "version": "3.1.1-nightly3.2403-01",
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.1.1-nightly3.2402-20",
58
- "@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-20",
57
+ "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2403-01",
58
+ "@microsoft/applicationinsights-common": "3.1.1-nightly3.2403-01",
59
59
  "@nevware21/ts-utils": ">= 0.10.5 < 2.x",
60
60
  "@nevware21/ts-async": ">= 0.3.0 < 2.x"
61
61
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Tee Channel, 3.1.1-nightly3.2402-20
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Microsoft Application Insights JavaScript SDK Tee Channel, 3.1.1-nightly3.2403-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1432,6 +1432,25 @@ declare namespace ApplicationInsights {
1432
1432
  * / Promise to allow any listeners to wait for the operation to complete.
1433
1433
  */
1434
1434
  unload?(isAsync?: boolean): void | IPromise<void>;
1435
+ /**
1436
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1437
+ * @param events - items that are stored in the persistent storage
1438
+ * @since v3.1.1
1439
+ */
1440
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1441
+ /**
1442
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1443
+ * @param batch - payload data that is sent from the persistent storage
1444
+ * @since v3.1.1
1445
+ */
1446
+ offlineBatchSent?(batch: IPayloadData): void;
1447
+ /**
1448
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1449
+ * @param cnt - count of batches dropped
1450
+ * @param reason - the reason why the batches is dropped
1451
+ * @since v3.1.1
1452
+ */
1453
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1435
1454
  }
1436
1455
 
1437
1456
  /**
@@ -1482,6 +1501,25 @@ declare namespace ApplicationInsights {
1482
1501
  * / Promise to allow any listeners to wait for the operation to complete.
1483
1502
  */
1484
1503
  unload?(isAsync?: boolean): void | IPromise<void>;
1504
+ /**
1505
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1506
+ * @param events - items that are stored in the persistent storage
1507
+ * @since v3.1.1
1508
+ */
1509
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1510
+ /**
1511
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1512
+ * @param batch - payload data that is sent from the persistent storage
1513
+ * @since v3.1.1
1514
+ */
1515
+ offlineBatchSent?(batch: IPayloadData): void;
1516
+ /**
1517
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1518
+ * @param cnt - count of batches dropped
1519
+ * @param reason - the reason why the batches is dropped
1520
+ * @since v3.1.1
1521
+ */
1522
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1485
1523
  }
1486
1524
 
1487
1525
  class _InternalLogMessage {