@microsoft/applicationinsights-dependencies-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 (28) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +1 -1
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +1 -1
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +3 -3
  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 +3 -3
  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 +1 -1
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +1 -1
  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 +3 -3
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +39 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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 - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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 - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.1.1-nightly3.2403-01
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.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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 - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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 - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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 - Dependencies Plugin, 3.1.1-nightly3.2402-20
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 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-dependencies-js",
3
- "version": "3.1.1-nightly3.2402-20",
3
+ "version": "3.1.1-nightly3.2403-01",
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",
@@ -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-20",
61
- "@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-20",
60
+ "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2403-01",
61
+ "@microsoft/applicationinsights-common": "3.1.1-nightly3.2403-01",
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 XHR dependencies plugin, 3.1.1-nightly3.2402-20
2
+ * Microsoft Application Insights XHR dependencies plugin, 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 XHR dependencies plugin, 3.1.1-nightly3.2402-20
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.1.1-nightly3.2403-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1679,6 +1679,25 @@ declare namespace ApplicationInsights {
1679
1679
  * / Promise to allow any listeners to wait for the operation to complete.
1680
1680
  */
1681
1681
  unload?(isAsync?: boolean): void | IPromise<void>;
1682
+ /**
1683
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1684
+ * @param events - items that are stored in the persistent storage
1685
+ * @since v3.1.1
1686
+ */
1687
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1688
+ /**
1689
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1690
+ * @param batch - payload data that is sent from the persistent storage
1691
+ * @since v3.1.1
1692
+ */
1693
+ offlineBatchSent?(batch: IPayloadData): void;
1694
+ /**
1695
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1696
+ * @param cnt - count of batches dropped
1697
+ * @param reason - the reason why the batches is dropped
1698
+ * @since v3.1.1
1699
+ */
1700
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1682
1701
  }
1683
1702
 
1684
1703
  /**
@@ -1729,6 +1748,25 @@ declare namespace ApplicationInsights {
1729
1748
  * / Promise to allow any listeners to wait for the operation to complete.
1730
1749
  */
1731
1750
  unload?(isAsync?: boolean): void | IPromise<void>;
1751
+ /**
1752
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1753
+ * @param events - items that are stored in the persistent storage
1754
+ * @since v3.1.1
1755
+ */
1756
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1757
+ /**
1758
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1759
+ * @param batch - payload data that is sent from the persistent storage
1760
+ * @since v3.1.1
1761
+ */
1762
+ offlineBatchSent?(batch: IPayloadData): void;
1763
+ /**
1764
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1765
+ * @param cnt - count of batches dropped
1766
+ * @param reason - the reason why the batches is dropped
1767
+ * @since v3.1.1
1768
+ */
1769
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1732
1770
  }
1733
1771
 
1734
1772
  class _InternalLogMessage {