@microsoft/applicationinsights-web-basic 3.0.0-beta.2303-10 → 3.0.0-beta.2304-07

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 (54) hide show
  1. package/browser/es5/aib.3.0.0-beta.2304-07.cjs.js +7452 -0
  2. package/browser/es5/aib.3.0.0-beta.2304-07.cjs.js.map +1 -0
  3. package/browser/es5/aib.3.0.0-beta.2304-07.cjs.min.js +6 -0
  4. package/browser/es5/aib.3.0.0-beta.2304-07.cjs.min.js.map +1 -0
  5. package/browser/es5/aib.3.0.0-beta.2304-07.gbl.js +7456 -0
  6. package/browser/es5/aib.3.0.0-beta.2304-07.gbl.js.map +1 -0
  7. package/browser/es5/aib.3.0.0-beta.2304-07.gbl.min.js +6 -0
  8. package/browser/es5/aib.3.0.0-beta.2304-07.gbl.min.js.map +1 -0
  9. package/browser/es5/aib.3.0.0-beta.2304-07.integrity.json +66 -0
  10. package/browser/{aib.3.0.0-beta.2303-10.js → es5/aib.3.0.0-beta.2304-07.js} +922 -859
  11. package/browser/es5/aib.3.0.0-beta.2304-07.js.map +1 -0
  12. package/browser/es5/aib.3.0.0-beta.2304-07.min.js +6 -0
  13. package/browser/es5/aib.3.0.0-beta.2304-07.min.js.map +1 -0
  14. package/browser/es5/aib.3.cjs.js +7452 -0
  15. package/browser/es5/aib.3.cjs.js.map +1 -0
  16. package/browser/es5/aib.3.cjs.min.js +6 -0
  17. package/browser/es5/aib.3.cjs.min.js.map +1 -0
  18. package/browser/es5/aib.3.gbl.js +7456 -0
  19. package/browser/es5/aib.3.gbl.js.map +1 -0
  20. package/browser/es5/aib.3.gbl.min.js +6 -0
  21. package/browser/es5/aib.3.gbl.min.js.map +1 -0
  22. package/browser/{aib.2.js → es5/aib.3.js} +922 -859
  23. package/browser/es5/aib.3.js.map +1 -0
  24. package/browser/es5/aib.3.min.js +6 -0
  25. package/browser/es5/aib.3.min.js.map +1 -0
  26. package/dist/{applicationinsights-web-basic.js → es5/applicationinsights-web-basic.js} +921 -858
  27. package/dist/es5/applicationinsights-web-basic.js.map +1 -0
  28. package/dist/es5/applicationinsights-web-basic.min.js +6 -0
  29. package/dist/es5/applicationinsights-web-basic.min.js.map +1 -0
  30. package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
  31. package/{dist-esm → dist-es5}/index.js +1 -1
  32. package/package.json +18 -17
  33. package/tsconfig.json +5 -4
  34. package/{dist/applicationinsights-web-basic.rollup.d.ts → types/applicationinsights-web-basic.d.ts} +4 -19
  35. package/{dist/applicationinsights-web-basic.d.ts → types/applicationinsights-web-basic.namespaced.d.ts} +2 -16
  36. package/browser/aib.2.js.map +0 -1
  37. package/browser/aib.2.min.js +0 -6
  38. package/browser/aib.2.min.js.map +0 -1
  39. package/browser/aib.3.0.0-beta.2303-10.integrity.json +0 -26
  40. package/browser/aib.3.0.0-beta.2303-10.js.map +0 -1
  41. package/browser/aib.3.0.0-beta.2303-10.min.js +0 -6
  42. package/browser/aib.3.0.0-beta.2303-10.min.js.map +0 -1
  43. package/dist/applicationinsights-web-basic.api.json +0 -10735
  44. package/dist/applicationinsights-web-basic.api.md +0 -585
  45. package/dist/applicationinsights-web-basic.js.map +0 -1
  46. package/dist/applicationinsights-web-basic.min.js +0 -6
  47. package/dist/applicationinsights-web-basic.min.js.map +0 -1
  48. package/src/__DynamicConstants.ts +0 -14
  49. package/src/index.ts +0 -213
  50. package/types/__DynamicConstants.d.ts +0 -2
  51. package/types/index.d.ts +0 -76
  52. package/types/tsdoc-metadata.json +0 -11
  53. /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
  54. /package/{dist-esm → dist-es5}/index.js.map +0 -0
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2303-10
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2304-07
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2303-10
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2304-07
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-web-basic",
3
- "version": "3.0.0-beta.2303-10",
3
+ "version": "3.0.0-beta.2304-07",
4
4
  "description": "Microsoft Application Insights Javascript SDK core and channel",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
7
- "main": "dist/applicationinsights-web-basic.js",
8
- "module": "dist-esm/index.js",
9
- "types": "types/index.d.ts",
7
+ "main": "dist/es5/applicationinsights-web-basic.js",
8
+ "module": "dist-es5/index.js",
9
+ "types": "types/applicationinsights-web-basic.d.ts",
10
10
  "sideEffects": false,
11
11
  "scripts": {
12
12
  "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
13
13
  "build:esm": "grunt aiskulite",
14
- "build:browser": "rollup -c rollup.config.js",
14
+ "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
15
15
  "rebuild": "npm run build",
16
16
  "test": "grunt aiskuliteunittests",
17
17
  "mintest": "grunt aiskulite-mintests",
@@ -19,7 +19,8 @@
19
19
  "dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
20
20
  "sri": "node ../tools/subResourceIntegrity/generateIntegrityFile.js",
21
21
  "ai-min": "grunt aiskulite-min",
22
- "ai-restore": "grunt aiskulite-restore"
22
+ "ai-restore": "grunt aiskulite-restore",
23
+ "npm-pack": "npm pack"
23
24
  },
24
25
  "repository": {
25
26
  "type": "git",
@@ -29,7 +30,7 @@
29
30
  "devDependencies": {
30
31
  "@microsoft/ai-test-framework": "0.0.1",
31
32
  "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
32
- "@microsoft/applicationinsights-rollup-es5": "1.0.0",
33
+ "@microsoft/applicationinsights-rollup-es5": "1.0.1",
33
34
  "@microsoft/api-extractor": "^7.18.1",
34
35
  "grunt": "^1.5.3",
35
36
  "grunt-cli": "^1.4.3",
@@ -39,11 +40,11 @@
39
40
  "globby": "^11.0.0",
40
41
  "magic-string": "^0.25.7",
41
42
  "pako": "^2.0.3",
42
- "@rollup/plugin-commonjs": "^18.0.0",
43
- "@rollup/plugin-node-resolve": "^11.2.1",
44
- "@rollup/plugin-replace": "^2.3.3",
43
+ "@rollup/plugin-commonjs": "^24.0.0",
44
+ "@rollup/plugin-node-resolve": "^15.0.1",
45
+ "@rollup/plugin-replace": "^5.0.2",
45
46
  "rollup-plugin-cleanup": "^3.2.1",
46
- "rollup": "^2.32.0",
47
+ "rollup": "^3.20.0",
47
48
  "typescript": "^4.9.3",
48
49
  "tslib": "^2.0.0"
49
50
  },
@@ -51,12 +52,12 @@
51
52
  "tslib": "*"
52
53
  },
53
54
  "dependencies": {
54
- "@microsoft/dynamicproto-js": "^1.1.7",
55
- "@microsoft/applicationinsights-shims": "2.0.2",
56
- "@microsoft/applicationinsights-common": "3.0.0-beta.2303-10",
57
- "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2303-10",
58
- "@microsoft/applicationinsights-core-js": "3.0.0-beta.2303-10",
59
- "@nevware21/ts-utils": ">= 0.8.1 < 2.x"
55
+ "@microsoft/dynamicproto-js": "^2.0.2",
56
+ "@microsoft/applicationinsights-shims": "3.0.1",
57
+ "@microsoft/applicationinsights-common": "3.0.0-beta.2304-07",
58
+ "@microsoft/applicationinsights-channel-js": "3.0.0-beta.2304-07",
59
+ "@microsoft/applicationinsights-core-js": "3.0.0-beta.2304-07",
60
+ "@nevware21/ts-utils": ">= 0.9.4 < 2.x"
60
61
  },
61
62
  "license": "MIT",
62
63
  "publishConfig": {
package/tsconfig.json CHANGED
@@ -14,12 +14,13 @@
14
14
  "skipLibCheck": true,
15
15
  "forceConsistentCasingInFileNames": true,
16
16
  "declaration": true,
17
- "declarationDir": "AISKULight/types",
18
- "outDir": "dist-esm",
19
- "rootDir": "./AISKULight/src"
17
+ "declarationDir": "build/types",
18
+ "outDir": "dist-es5",
19
+ "rootDir": "./src",
20
+ "removeComments": false
20
21
  },
21
22
  "include": [
22
- "src/**/*"
23
+ "./src/**/*"
23
24
  ],
24
25
  "exclude": [
25
26
  "node_modules"
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2303-10
2
+ * Microsoft.ApplicationInsights, 3.0.0-beta.2304-07
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -7,9 +7,8 @@
7
7
  *
8
8
  * ---------------------------------------------------------------------------
9
9
  * This is a single combined (rollup) declaration file for the package,
10
- * use this version if your build environment doesn't support the using the
11
- * individual *.d.ts files or default namespace wrapped version.
12
- * - Namespaced version: applicationinsights-web-basic.d.ts
10
+ * if you require a namespace wrapped version it is also available.
11
+ * - Namespaced version: types/applicationinsights-web-basic.namespaced.d.ts
13
12
  * ---------------------------------------------------------------------------
14
13
  */
15
14
 
@@ -1227,7 +1226,7 @@ export declare interface IConfiguration {
1227
1226
  /**
1228
1227
  * If enabled, uncaught exceptions will be thrown to help with debugging
1229
1228
  */
1230
- enableDebugExceptions?: boolean;
1229
+ enableDebug?: boolean;
1231
1230
  /**
1232
1231
  * Endpoint where telemetry data is sent
1233
1232
  */
@@ -1445,26 +1444,12 @@ export declare interface IDependencyTelemetry extends IPartC {
1445
1444
  }
1446
1445
 
1447
1446
  declare interface IDiagnosticLogger {
1448
- /**
1449
- * When this is true the SDK will throw exceptions to aid in debugging.
1450
- */
1451
- enableDebugExceptions: () => boolean;
1452
1447
  /**
1453
1448
  * 0: OFF
1454
1449
  * 1: only critical (default)
1455
1450
  * 2: critical + info
1456
1451
  */
1457
1452
  consoleLoggingLevel: () => number;
1458
- /**
1459
- * 0: OFF (default)
1460
- * 1: CRITICAL
1461
- * 2: WARNING
1462
- */
1463
- telemetryLoggingLevel: () => number;
1464
- /**
1465
- * The maximum number of internal messages allowed to be sent per page view
1466
- */
1467
- maxInternalMessageLimit: () => number;
1468
1453
  /**
1469
1454
  * The internal logging queue
1470
1455
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2303-10
2
+ * Microsoft.ApplicationInsights, 3.0.0-beta.2304-07
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1221,7 +1221,7 @@ declare namespace ApplicationInsights {
1221
1221
  /**
1222
1222
  * If enabled, uncaught exceptions will be thrown to help with debugging
1223
1223
  */
1224
- enableDebugExceptions?: boolean;
1224
+ enableDebug?: boolean;
1225
1225
  /**
1226
1226
  * Endpoint where telemetry data is sent
1227
1227
  */
@@ -1439,26 +1439,12 @@ declare namespace ApplicationInsights {
1439
1439
  }
1440
1440
 
1441
1441
  interface IDiagnosticLogger {
1442
- /**
1443
- * When this is true the SDK will throw exceptions to aid in debugging.
1444
- */
1445
- enableDebugExceptions: () => boolean;
1446
1442
  /**
1447
1443
  * 0: OFF
1448
1444
  * 1: only critical (default)
1449
1445
  * 2: critical + info
1450
1446
  */
1451
1447
  consoleLoggingLevel: () => number;
1452
- /**
1453
- * 0: OFF (default)
1454
- * 1: CRITICAL
1455
- * 2: WARNING
1456
- */
1457
- telemetryLoggingLevel: () => number;
1458
- /**
1459
- * The maximum number of internal messages allowed to be sent per page view
1460
- */
1461
- maxInternalMessageLimit: () => number;
1462
1448
  /**
1463
1449
  * The internal logging queue
1464
1450
  */