@microsoft/applicationinsights-cfgsync-js 3.1.1-nightly3.2402-16 → 3.1.1-nightly3.2402-22

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 (47) hide show
  1. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.cjs.js → ai.cfgsync.3.1.1-nightly3.2402-22.cjs.js} +2 -2
  2. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.cjs.js.map +1 -0
  3. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.cjs.min.js → ai.cfgsync.3.1.1-nightly3.2402-22.cjs.min.js} +2 -2
  4. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.gbl.js → ai.cfgsync.3.1.1-nightly3.2402-22.gbl.js} +4 -4
  6. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.gbl.js.map +1 -0
  7. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.gbl.min.js → ai.cfgsync.3.1.1-nightly3.2402-22.gbl.min.js} +3 -3
  8. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.integrity.json +66 -0
  10. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.js → ai.cfgsync.3.1.1-nightly3.2402-22.js} +4 -4
  11. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.js.map +1 -0
  12. package/browser/es5/{ai.cfgsync.3.1.1-nightly3.2402-16.min.js → ai.cfgsync.3.1.1-nightly3.2402-22.min.js} +3 -3
  13. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-22.min.js.map +1 -0
  14. package/browser/es5/ai.cfgsync.3.cjs.js +1 -1
  15. package/browser/es5/ai.cfgsync.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.cfgsync.3.cjs.min.js +1 -1
  17. package/browser/es5/ai.cfgsync.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.cfgsync.3.gbl.js +3 -3
  19. package/browser/es5/ai.cfgsync.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.cfgsync.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.cfgsync.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.cfgsync.3.integrity.json +25 -25
  23. package/browser/es5/ai.cfgsync.3.js +3 -3
  24. package/browser/es5/ai.cfgsync.3.js.map +1 -1
  25. package/browser/es5/ai.cfgsync.3.min.js +2 -2
  26. package/browser/es5/ai.cfgsync.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-cfgsync-js.js +1 -1
  28. package/dist/es5/applicationinsights-cfgsync-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-cfgsync-js.min.js +1 -1
  30. package/dist/es5/applicationinsights-cfgsync-js.min.js.map +1 -1
  31. package/dist-es5/CfgSyncHelperFuncs.js +1 -1
  32. package/dist-es5/CfgSyncPlugin.js +1 -1
  33. package/dist-es5/Interfaces/ICfgSyncCdnConfig.js +1 -1
  34. package/dist-es5/Interfaces/ICfgSyncConfig.js +1 -1
  35. package/dist-es5/Interfaces/ICfgSyncPlugin.js +1 -1
  36. package/dist-es5/__DynamicConstants.js +1 -1
  37. package/dist-es5/applicationinsights-cfgsync-js.js +1 -1
  38. package/package.json +3 -3
  39. package/types/applicationinsights-cfgsync-js.d.ts +1 -1
  40. package/types/applicationinsights-cfgsync-js.namespaced.d.ts +39 -1
  41. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.cjs.js.map +0 -1
  42. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.cjs.min.js.map +0 -1
  43. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.gbl.js.map +0 -1
  44. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.gbl.min.js.map +0 -1
  45. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.integrity.json +0 -66
  46. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.js.map +0 -1
  47. package/browser/es5/ai.cfgsync.3.1.1-nightly3.2402-16.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { isNullOrUndefined, isObject, objExtend, objForEachKey, setValueByKey } from "@nevware21/ts-utils";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
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.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
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 - Properties Plugin, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
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 - Properties Plugin, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
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 - Properties Plugin, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
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.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { CfgSyncPlugin } from "./CfgSyncPlugin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-cfgsync-js",
3
- "version": "3.1.1-nightly3.2402-16",
3
+ "version": "3.1.1-nightly3.2402-22",
4
4
  "description": "Microsoft Application Insights CfgSync Plugin",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -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.1.1-nightly3.2402-16",
61
- "@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-16",
60
+ "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2402-22",
61
+ "@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-22",
62
62
  "@nevware21/ts-utils": ">= 0.10.5 < 2.x",
63
63
  "@nevware21/ts-async": ">= 0.3.0 < 2.x"
64
64
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights idsync plugin, 3.1.1-nightly3.2402-16
2
+ * Microsoft Application Insights idsync plugin, 3.1.1-nightly3.2402-22
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 idsync plugin, 3.1.1-nightly3.2402-16
2
+ * Microsoft Application Insights idsync plugin, 3.1.1-nightly3.2402-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1571,6 +1571,25 @@ declare namespace ApplicationInsights {
1571
1571
  * / Promise to allow any listeners to wait for the operation to complete.
1572
1572
  */
1573
1573
  unload?(isAsync?: boolean): void | IPromise<void>;
1574
+ /**
1575
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1576
+ * @param events - items that are stored in the persistent storage
1577
+ * @since v3.1.1
1578
+ */
1579
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1580
+ /**
1581
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1582
+ * @param batch - payload data that is sent from the persistent storage
1583
+ * @since v3.1.1
1584
+ */
1585
+ offlineBatchSent?(batch: IPayloadData): void;
1586
+ /**
1587
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1588
+ * @param cnt - count of batches dropped
1589
+ * @param reason - the reason why the batches is dropped
1590
+ * @since v3.1.1
1591
+ */
1592
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1574
1593
  }
1575
1594
 
1576
1595
  /**
@@ -1621,6 +1640,25 @@ declare namespace ApplicationInsights {
1621
1640
  * / Promise to allow any listeners to wait for the operation to complete.
1622
1641
  */
1623
1642
  unload?(isAsync?: boolean): void | IPromise<void>;
1643
+ /**
1644
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1645
+ * @param events - items that are stored in the persistent storage
1646
+ * @since v3.1.1
1647
+ */
1648
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1649
+ /**
1650
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1651
+ * @param batch - payload data that is sent from the persistent storage
1652
+ * @since v3.1.1
1653
+ */
1654
+ offlineBatchSent?(batch: IPayloadData): void;
1655
+ /**
1656
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1657
+ * @param cnt - count of batches dropped
1658
+ * @param reason - the reason why the batches is dropped
1659
+ * @since v3.1.1
1660
+ */
1661
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1624
1662
  }
1625
1663
 
1626
1664
  class _InternalLogMessage {