@microsoft/applicationinsights-web-basic 3.1.1-nightly3.2402-16 → 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 (45) hide show
  1. package/browser/es5/{aib.3.1.1-nightly3.2402-16.cjs.js → aib.3.1.1-nightly3.2403-01.cjs.js} +28 -3
  2. package/browser/es5/aib.3.1.1-nightly3.2403-01.cjs.js.map +1 -0
  3. package/browser/es5/aib.3.1.1-nightly3.2403-01.cjs.min.js +6 -0
  4. package/browser/es5/aib.3.1.1-nightly3.2403-01.cjs.min.js.map +1 -0
  5. package/browser/es5/{aib.3.1.1-nightly3.2402-16.gbl.js → aib.3.1.1-nightly3.2403-01.gbl.js} +30 -5
  6. package/browser/es5/aib.3.1.1-nightly3.2403-01.gbl.js.map +1 -0
  7. package/browser/es5/aib.3.1.1-nightly3.2403-01.gbl.min.js +6 -0
  8. package/browser/es5/aib.3.1.1-nightly3.2403-01.gbl.min.js.map +1 -0
  9. package/browser/es5/aib.3.1.1-nightly3.2403-01.integrity.json +66 -0
  10. package/browser/es5/{aib.3.1.1-nightly3.2402-16.js → aib.3.1.1-nightly3.2403-01.js} +30 -5
  11. package/browser/es5/aib.3.1.1-nightly3.2403-01.js.map +1 -0
  12. package/browser/es5/aib.3.1.1-nightly3.2403-01.min.js +6 -0
  13. package/browser/es5/aib.3.1.1-nightly3.2403-01.min.js.map +1 -0
  14. package/browser/es5/aib.3.cjs.js +27 -2
  15. package/browser/es5/aib.3.cjs.js.map +1 -1
  16. package/browser/es5/aib.3.cjs.min.js +2 -2
  17. package/browser/es5/aib.3.cjs.min.js.map +1 -1
  18. package/browser/es5/aib.3.gbl.js +29 -4
  19. package/browser/es5/aib.3.gbl.js.map +1 -1
  20. package/browser/es5/aib.3.gbl.min.js +2 -2
  21. package/browser/es5/aib.3.gbl.min.js.map +1 -1
  22. package/browser/es5/aib.3.integrity.json +25 -25
  23. package/browser/es5/aib.3.js +29 -4
  24. package/browser/es5/aib.3.js.map +1 -1
  25. package/browser/es5/aib.3.min.js +2 -2
  26. package/browser/es5/aib.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-web-basic.js +27 -2
  28. package/dist/es5/applicationinsights-web-basic.js.map +1 -1
  29. package/dist/es5/applicationinsights-web-basic.min.js +2 -2
  30. package/dist/es5/applicationinsights-web-basic.min.js.map +1 -1
  31. package/dist-es5/__DynamicConstants.js +1 -1
  32. package/dist-es5/index.js +1 -1
  33. package/package.json +4 -4
  34. package/types/applicationinsights-web-basic.d.ts +1 -1
  35. package/types/applicationinsights-web-basic.namespaced.d.ts +39 -1
  36. package/browser/es5/aib.3.1.1-nightly3.2402-16.cjs.js.map +0 -1
  37. package/browser/es5/aib.3.1.1-nightly3.2402-16.cjs.min.js +0 -6
  38. package/browser/es5/aib.3.1.1-nightly3.2402-16.cjs.min.js.map +0 -1
  39. package/browser/es5/aib.3.1.1-nightly3.2402-16.gbl.js.map +0 -1
  40. package/browser/es5/aib.3.1.1-nightly3.2402-16.gbl.min.js +0 -6
  41. package/browser/es5/aib.3.1.1-nightly3.2402-16.gbl.min.js.map +0 -1
  42. package/browser/es5/aib.3.1.1-nightly3.2402-16.integrity.json +0 -66
  43. package/browser/es5/aib.3.1.1-nightly3.2402-16.js.map +0 -1
  44. package/browser/es5/aib.3.1.1-nightly3.2402-16.min.js +0 -6
  45. package/browser/es5/aib.3.1.1-nightly3.2402-16.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript Web SDK - Basic, 3.1.1-nightly3.2403-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-es5/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.1.1-nightly3.2402-16
2
+ * Application Insights JavaScript Web SDK - Basic, 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-web-basic",
3
- "version": "3.1.1-nightly3.2402-16",
3
+ "version": "3.1.1-nightly3.2403-01",
4
4
  "description": "Microsoft Application Insights JavaScript SDK - Web Basic",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -57,9 +57,9 @@
57
57
  "dependencies": {
58
58
  "@microsoft/dynamicproto-js": "^2.0.3",
59
59
  "@microsoft/applicationinsights-shims": "3.0.1",
60
- "@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-16",
61
- "@microsoft/applicationinsights-channel-js": "3.1.1-nightly3.2402-16",
62
- "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2402-16",
60
+ "@microsoft/applicationinsights-common": "3.1.1-nightly3.2403-01",
61
+ "@microsoft/applicationinsights-channel-js": "3.1.1-nightly3.2403-01",
62
+ "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2403-01",
63
63
  "@nevware21/ts-utils": ">= 0.10.5 < 2.x",
64
64
  "@nevware21/ts-async": ">= 0.3.0 < 2.x"
65
65
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.1.1-nightly3.2402-16
2
+ * Microsoft.ApplicationInsights, 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.ApplicationInsights, 3.1.1-nightly3.2402-16
2
+ * Microsoft.ApplicationInsights, 3.1.1-nightly3.2403-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1926,6 +1926,25 @@ declare namespace ApplicationInsights {
1926
1926
  * / Promise to allow any listeners to wait for the operation to complete.
1927
1927
  */
1928
1928
  unload?(isAsync?: boolean): void | IPromise<void>;
1929
+ /**
1930
+ * [Optional] A function called when the offline events have been stored to the persistent storage
1931
+ * @param events - items that are stored in the persistent storage
1932
+ * @since v3.1.1
1933
+ */
1934
+ offlineEventsStored?(events: ITelemetryItem[]): void;
1935
+ /**
1936
+ * [Optional] A function called when the offline events have been sent from the persistent storage
1937
+ * @param batch - payload data that is sent from the persistent storage
1938
+ * @since v3.1.1
1939
+ */
1940
+ offlineBatchSent?(batch: IPayloadData): void;
1941
+ /**
1942
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
1943
+ * @param cnt - count of batches dropped
1944
+ * @param reason - the reason why the batches is dropped
1945
+ * @since v3.1.1
1946
+ */
1947
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1929
1948
  }
1930
1949
 
1931
1950
  /**
@@ -1976,6 +1995,25 @@ declare namespace ApplicationInsights {
1976
1995
  * / Promise to allow any listeners to wait for the operation to complete.
1977
1996
  */
1978
1997
  unload?(isAsync?: boolean): void | IPromise<void>;
1998
+ /**
1999
+ * [Optional] A function called when the offline events have been stored to the persistent storage
2000
+ * @param events - items that are stored in the persistent storage
2001
+ * @since v3.1.1
2002
+ */
2003
+ offlineEventsStored?(events: ITelemetryItem[]): void;
2004
+ /**
2005
+ * [Optional] A function called when the offline events have been sent from the persistent storage
2006
+ * @param batch - payload data that is sent from the persistent storage
2007
+ * @since v3.1.1
2008
+ */
2009
+ offlineBatchSent?(batch: IPayloadData): void;
2010
+ /**
2011
+ * [Optional] A function called when the offline events have been dropped from the persistent storage
2012
+ * @param cnt - count of batches dropped
2013
+ * @param reason - the reason why the batches is dropped
2014
+ * @since v3.1.1
2015
+ */
2016
+ offlineBatchDrop?(cnt: number, reason?: number): void;
1979
2017
  }
1980
2018
 
1981
2019
  class _InternalLogMessage {