@microsoft/applicationinsights-cfgsync-js 3.3.1-nightly3.2407-16 → 3.3.1

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 (50) hide show
  1. package/browser/es5/{ai.cfgsync.3.3.1-nightly3.2407-16.cjs.js → ai.cfgsync.3.3.1.cjs.js} +3 -3
  2. package/browser/es5/ai.cfgsync.3.3.1.cjs.js.map +1 -0
  3. package/browser/es5/ai.cfgsync.3.3.1.cjs.min.js +6 -0
  4. package/browser/es5/ai.cfgsync.3.3.1.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.cfgsync.3.3.1-nightly3.2407-16.gbl.js → ai.cfgsync.3.3.1.gbl.js} +5 -5
  6. package/browser/es5/ai.cfgsync.3.3.1.gbl.js.map +1 -0
  7. package/browser/es5/ai.cfgsync.3.3.1.gbl.min.js +6 -0
  8. package/browser/es5/ai.cfgsync.3.3.1.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.cfgsync.3.3.1.integrity.json +66 -0
  10. package/browser/es5/{ai.cfgsync.3.3.1-nightly3.2407-16.js → ai.cfgsync.3.3.1.js} +5 -5
  11. package/browser/es5/ai.cfgsync.3.3.1.js.map +1 -0
  12. package/browser/es5/ai.cfgsync.3.3.1.min.js +6 -0
  13. package/browser/es5/ai.cfgsync.3.3.1.min.js.map +1 -0
  14. package/browser/es5/ai.cfgsync.3.cjs.js +2 -2
  15. package/browser/es5/ai.cfgsync.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.cfgsync.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.cfgsync.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.cfgsync.3.gbl.js +4 -4
  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 +4 -4
  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 +2 -2
  28. package/dist/es5/applicationinsights-cfgsync-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-cfgsync-js.min.js +2 -2
  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 +66 -69
  39. package/types/applicationinsights-cfgsync-js.d.ts +1 -1
  40. package/types/applicationinsights-cfgsync-js.namespaced.d.ts +13 -1
  41. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.cjs.js.map +0 -1
  42. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.cjs.min.js +0 -6
  43. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.cjs.min.js.map +0 -1
  44. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.gbl.js.map +0 -1
  45. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.gbl.min.js +0 -6
  46. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.gbl.min.js.map +0 -1
  47. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.integrity.json +0 -66
  48. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.js.map +0 -1
  49. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.min.js +0 -6
  50. package/browser/es5/ai.cfgsync.3.3.1-nightly3.2407-16.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.1
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { CfgSyncPlugin } from "./CfgSyncPlugin";
package/package.json CHANGED
@@ -1,69 +1,66 @@
1
- {
2
- "name": "@microsoft/applicationinsights-cfgsync-js",
3
- "version": "3.3.1-nightly3.2407-16",
4
- "description": "Microsoft Application Insights CfgSync Plugin",
5
- "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
- "author": "Microsoft Application Insights Team",
7
- "main": "dist/es5/applicationinsights-cfgsync-js.js",
8
- "module": "dist-es5/applicationinsights-cfgsync-js.js",
9
- "types": "types/applicationinsights-cfgsync-js.d.ts",
10
- "sideEffects": false,
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-cfgsync-js"
14
- },
15
- "scripts": {
16
- "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
17
- "build:esm": "grunt cfgsync",
18
- "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
19
- "rebuild": "npm run build",
20
- "test": "grunt cfgsynctests",
21
- "mintest": "grunt cfgsync-mintests",
22
- "lint": "tslint -p tsconfig.json",
23
- "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights idsync plugin\"",
24
- "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
25
- "ai-min": "grunt cfgsync-min",
26
- "ai-restore": "grunt cfgsync-restore",
27
- "npm-pack": "npm pack",
28
- "api-docs": "typedoc"
29
- },
30
- "devDependencies": {
31
- "@microsoft/ai-test-framework": "0.0.1",
32
- "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
33
- "@microsoft/applicationinsights-rollup-es5": "1.0.2",
34
- "@microsoft/api-extractor": "^7.40.0",
35
- "typescript": "^4.9.3",
36
- "tslib": "^2.0.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
- "typedoc": "^0.24.8",
51
- "qunit": "^2.11.2",
52
- "sinon": "^7.3.1"
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-core-js": "3.3.1-nightly3.2407-16",
61
- "@microsoft/applicationinsights-common": "3.3.1-nightly3.2407-16",
62
- "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
63
- "@nevware21/ts-async": ">= 0.5.2 < 2.x"
64
- },
65
- "license": "MIT",
66
- "publishConfig": {
67
- "tag": "nightly3"
68
- }
69
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-cfgsync-js",
3
+ "version": "3.3.1",
4
+ "description": "Microsoft Application Insights CfgSync Plugin",
5
+ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
+ "author": "Microsoft Application Insights Team",
7
+ "main": "dist/es5/applicationinsights-cfgsync-js.js",
8
+ "module": "dist-es5/applicationinsights-cfgsync-js.js",
9
+ "types": "types/applicationinsights-cfgsync-js.d.ts",
10
+ "sideEffects": false,
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-cfgsync-js"
14
+ },
15
+ "scripts": {
16
+ "build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
17
+ "build:esm": "grunt cfgsync",
18
+ "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
19
+ "rebuild": "npm run build",
20
+ "test": "grunt cfgsynctests",
21
+ "mintest": "grunt cfgsync-mintests",
22
+ "lint": "tslint -p tsconfig.json",
23
+ "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights idsync plugin\"",
24
+ "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
25
+ "ai-min": "grunt cfgsync-min",
26
+ "ai-restore": "grunt cfgsync-restore",
27
+ "npm-pack": "npm pack",
28
+ "api-docs": "typedoc"
29
+ },
30
+ "devDependencies": {
31
+ "@microsoft/ai-test-framework": "0.0.1",
32
+ "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
33
+ "@microsoft/applicationinsights-rollup-es5": "1.0.2",
34
+ "@microsoft/api-extractor": "^7.40.0",
35
+ "typescript": "^4.9.3",
36
+ "tslib": "^2.0.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
+ "typedoc": "^0.24.8",
51
+ "qunit": "^2.11.2",
52
+ "sinon": "^7.3.1"
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-core-js": "3.3.1",
61
+ "@microsoft/applicationinsights-common": "3.3.1",
62
+ "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
63
+ "@nevware21/ts-async": ">= 0.5.2 < 2.x"
64
+ },
65
+ "license": "MIT"
66
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights idsync plugin, 3.3.1-nightly3.2407-16
2
+ * Microsoft Application Insights idsync plugin, 3.3.1
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.3.1-nightly3.2407-16
2
+ * Microsoft Application Insights idsync plugin, 3.3.1
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1025,6 +1025,10 @@ declare namespace ApplicationInsights {
1025
1025
  * This URL takes precedence over the 'config.endpointUrl' and any endpoint in the connection string.
1026
1026
  */
1027
1027
  userOverrideEndpointUrl?: string;
1028
+ /**
1029
+ * [Optional] Set additional configuration for exceptions, such as more scripts to include in the exception telemetry.
1030
+ */
1031
+ expCfg?: IExceptionConfig;
1028
1032
  }
1029
1033
 
1030
1034
  /**
@@ -1488,6 +1492,14 @@ declare namespace ApplicationInsights {
1488
1492
  setTraceFlags(newValue?: number): void;
1489
1493
  }
1490
1494
 
1495
+ interface IExceptionConfig {
1496
+ /**
1497
+ * If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
1498
+ * Notice: This would increase the size of the exception telemetry.
1499
+ */
1500
+ inclScripts?: boolean;
1501
+ }
1502
+
1491
1503
  interface IFeatureOptIn {
1492
1504
  [feature: string]: IFeatureOptInDetails;
1493
1505
  }