@microsoft/applicationinsights-web-basic 3.1.1-nightly3.2403-04 → 3.1.2

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.2403-04.cjs.js → aib.3.1.2.cjs.js} +735 -719
  2. package/browser/es5/aib.3.1.2.cjs.js.map +1 -0
  3. package/browser/es5/aib.3.1.2.cjs.min.js +6 -0
  4. package/browser/es5/aib.3.1.2.cjs.min.js.map +1 -0
  5. package/browser/es5/{aib.3.1.1-nightly3.2403-04.gbl.js → aib.3.1.2.gbl.js} +756 -740
  6. package/browser/es5/aib.3.1.2.gbl.js.map +1 -0
  7. package/browser/es5/aib.3.1.2.gbl.min.js +6 -0
  8. package/browser/es5/aib.3.1.2.gbl.min.js.map +1 -0
  9. package/browser/es5/aib.3.1.2.integrity.json +66 -0
  10. package/browser/es5/{aib.3.1.1-nightly3.2403-04.js → aib.3.1.2.js} +756 -740
  11. package/browser/es5/aib.3.1.2.js.map +1 -0
  12. package/browser/es5/aib.3.1.2.min.js +6 -0
  13. package/browser/es5/aib.3.1.2.min.js.map +1 -0
  14. package/browser/es5/aib.3.cjs.js +734 -718
  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 +755 -739
  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 +755 -739
  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 +734 -718
  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 +67 -70
  34. package/types/applicationinsights-web-basic.d.ts +1 -1
  35. package/types/applicationinsights-web-basic.namespaced.d.ts +7 -1
  36. package/browser/es5/aib.3.1.1-nightly3.2403-04.cjs.js.map +0 -1
  37. package/browser/es5/aib.3.1.1-nightly3.2403-04.cjs.min.js +0 -6
  38. package/browser/es5/aib.3.1.1-nightly3.2403-04.cjs.min.js.map +0 -1
  39. package/browser/es5/aib.3.1.1-nightly3.2403-04.gbl.js.map +0 -1
  40. package/browser/es5/aib.3.1.1-nightly3.2403-04.gbl.min.js +0 -6
  41. package/browser/es5/aib.3.1.1-nightly3.2403-04.gbl.min.js.map +0 -1
  42. package/browser/es5/aib.3.1.1-nightly3.2403-04.integrity.json +0 -66
  43. package/browser/es5/aib.3.1.1-nightly3.2403-04.js.map +0 -1
  44. package/browser/es5/aib.3.1.1-nightly3.2403-04.min.js +0 -6
  45. package/browser/es5/aib.3.1.1-nightly3.2403-04.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.1.1-nightly3.2403-04
2
+ * Application Insights JavaScript Web SDK - Basic, 3.1.2
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.2403-04
2
+ * Application Insights JavaScript Web SDK - Basic, 3.1.2
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,70 +1,67 @@
1
- {
2
- "name": "@microsoft/applicationinsights-web-basic",
3
- "version": "3.1.1-nightly3.2403-04",
4
- "description": "Microsoft Application Insights JavaScript SDK - Web Basic",
5
- "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
- "author": "Microsoft Application Insights Team",
7
- "main": "dist/es5/applicationinsights-web-basic.js",
8
- "module": "dist-es5/index.js",
9
- "types": "types/applicationinsights-web-basic.d.ts",
10
- "sideEffects": false,
11
- "scripts": {
12
- "clean": "git clean -xdf",
13
- "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
14
- "build:esm": "grunt aiskulite",
15
- "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
16
- "rebuild": "npm run build",
17
- "test": "grunt aiskuliteunittests",
18
- "mintest": "grunt aiskulite-mintests",
19
- "lint": "tslint -p tsconfig.json",
20
- "dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
21
- "sri": "node ../tools/subResourceIntegrity/generateIntegrityFile.js",
22
- "ai-min": "grunt aiskulite-min",
23
- "ai-restore": "grunt aiskulite-restore",
24
- "npm-pack": "npm pack",
25
- "api-docs": "typedoc"
26
- },
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/microsoft/ApplicationInsights-JS.git",
30
- "directory": "AISKULight"
31
- },
32
- "devDependencies": {
33
- "@microsoft/ai-test-framework": "0.0.1",
34
- "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
35
- "@microsoft/applicationinsights-rollup-es5": "1.0.2",
36
- "@microsoft/api-extractor": "^7.40.0",
37
- "grunt": "^1.5.3",
38
- "grunt-cli": "^1.4.3",
39
- "grunt-contrib-qunit": "^6.2.1",
40
- "@nevware21/grunt-ts-plugin": "^0.4.3",
41
- "@nevware21/grunt-eslint-ts": "^0.2.2",
42
- "globby": "^11.0.0",
43
- "magic-string": "^0.25.7",
44
- "pako": "^2.0.3",
45
- "@rollup/plugin-commonjs": "^24.0.0",
46
- "@rollup/plugin-node-resolve": "^15.0.1",
47
- "@rollup/plugin-replace": "^5.0.2",
48
- "rollup-plugin-cleanup": "^3.2.1",
49
- "rollup": "^3.20.0",
50
- "typescript": "^4.9.3",
51
- "typedoc": "^0.24.8",
52
- "tslib": "^2.0.0"
53
- },
54
- "peerDependencies": {
55
- "tslib": "*"
56
- },
57
- "dependencies": {
58
- "@microsoft/dynamicproto-js": "^2.0.3",
59
- "@microsoft/applicationinsights-shims": "3.0.1",
60
- "@microsoft/applicationinsights-common": "3.1.1-nightly3.2403-04",
61
- "@microsoft/applicationinsights-channel-js": "3.1.1-nightly3.2403-04",
62
- "@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2403-04",
63
- "@nevware21/ts-utils": ">= 0.10.5 < 2.x",
64
- "@nevware21/ts-async": ">= 0.3.0 < 2.x"
65
- },
66
- "license": "MIT",
67
- "publishConfig": {
68
- "tag": "nightly3"
69
- }
70
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-web-basic",
3
+ "version": "3.1.2",
4
+ "description": "Microsoft Application Insights JavaScript SDK - Web Basic",
5
+ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
+ "author": "Microsoft Application Insights Team",
7
+ "main": "dist/es5/applicationinsights-web-basic.js",
8
+ "module": "dist-es5/index.js",
9
+ "types": "types/applicationinsights-web-basic.d.ts",
10
+ "sideEffects": false,
11
+ "scripts": {
12
+ "clean": "git clean -xdf",
13
+ "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
14
+ "build:esm": "grunt aiskulite",
15
+ "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
16
+ "rebuild": "npm run build",
17
+ "test": "grunt aiskuliteunittests",
18
+ "mintest": "grunt aiskulite-mintests",
19
+ "lint": "tslint -p tsconfig.json",
20
+ "dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
21
+ "sri": "node ../tools/subResourceIntegrity/generateIntegrityFile.js",
22
+ "ai-min": "grunt aiskulite-min",
23
+ "ai-restore": "grunt aiskulite-restore",
24
+ "npm-pack": "npm pack",
25
+ "api-docs": "typedoc"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/microsoft/ApplicationInsights-JS.git",
30
+ "directory": "AISKULight"
31
+ },
32
+ "devDependencies": {
33
+ "@microsoft/ai-test-framework": "0.0.1",
34
+ "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
35
+ "@microsoft/applicationinsights-rollup-es5": "1.0.2",
36
+ "@microsoft/api-extractor": "^7.40.0",
37
+ "grunt": "^1.5.3",
38
+ "grunt-cli": "^1.4.3",
39
+ "grunt-contrib-qunit": "^6.2.1",
40
+ "@nevware21/grunt-ts-plugin": "^0.4.3",
41
+ "@nevware21/grunt-eslint-ts": "^0.2.2",
42
+ "globby": "^11.0.0",
43
+ "magic-string": "^0.25.7",
44
+ "pako": "^2.0.3",
45
+ "@rollup/plugin-commonjs": "^24.0.0",
46
+ "@rollup/plugin-node-resolve": "^15.0.1",
47
+ "@rollup/plugin-replace": "^5.0.2",
48
+ "rollup-plugin-cleanup": "^3.2.1",
49
+ "rollup": "^3.20.0",
50
+ "typescript": "^4.9.3",
51
+ "typedoc": "^0.24.8",
52
+ "tslib": "^2.0.0"
53
+ },
54
+ "peerDependencies": {
55
+ "tslib": "*"
56
+ },
57
+ "dependencies": {
58
+ "@microsoft/dynamicproto-js": "^2.0.3",
59
+ "@microsoft/applicationinsights-shims": "3.0.1",
60
+ "@microsoft/applicationinsights-common": "3.1.2",
61
+ "@microsoft/applicationinsights-channel-js": "3.1.2",
62
+ "@microsoft/applicationinsights-core-js": "3.1.2",
63
+ "@nevware21/ts-utils": ">= 0.11.0 < 2.x",
64
+ "@nevware21/ts-async": ">= 0.3.0 < 2.x"
65
+ },
66
+ "license": "MIT"
67
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.1.1-nightly3.2403-04
2
+ * Microsoft.ApplicationInsights, 3.1.2
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.2403-04
2
+ * Microsoft.ApplicationInsights, 3.1.2
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -469,6 +469,7 @@ declare namespace ApplicationInsights {
469
469
  InvalidDurationValue = 45,
470
470
  TelemetryEnvelopeInvalid = 46,
471
471
  CreateEnvelopeError = 47,
472
+ MaxUnloadHookExceeded = 48,
472
473
  CannotSerializeObject = 48,
473
474
  CannotSerializeObjectNonSerializable = 49,
474
475
  CircularReferenceDetected = 50,
@@ -2733,6 +2734,11 @@ declare namespace ApplicationInsights {
2733
2734
  * is provided and alwaysUseXhrOverride is true.
2734
2735
  */
2735
2736
  unloadTransports?: number | number[];
2737
+ /**
2738
+ * (Optional) The specific error codes that will cause a retry of sending data to the backend.
2739
+ * @since 3.1.1
2740
+ */
2741
+ retryCodes?: number[];
2736
2742
  }
2737
2743
 
2738
2744
  interface ISerializable {