@microsoft/applicationinsights-properties-js 3.3.1-nightly3.2407-15 → 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.
- package/browser/es5/{ai.props.3.3.1-nightly3.2407-15.cjs.js → ai.props.3.3.1.cjs.js} +4 -4
- package/browser/es5/ai.props.3.3.1.cjs.js.map +1 -0
- package/browser/es5/ai.props.3.3.1.cjs.min.js +6 -0
- package/browser/es5/ai.props.3.3.1.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.3.1-nightly3.2407-15.gbl.js → ai.props.3.3.1.gbl.js} +6 -6
- package/browser/es5/ai.props.3.3.1.gbl.js.map +1 -0
- package/browser/es5/ai.props.3.3.1.gbl.min.js +6 -0
- package/browser/es5/ai.props.3.3.1.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.3.1.integrity.json +66 -0
- package/browser/es5/{ai.props.3.3.1-nightly3.2407-15.js → ai.props.3.3.1.js} +6 -6
- package/browser/es5/ai.props.3.3.1.js.map +1 -0
- package/browser/es5/ai.props.3.3.1.min.js +6 -0
- package/browser/es5/ai.props.3.3.1.min.js.map +1 -0
- package/browser/es5/ai.props.3.cjs.js +3 -3
- package/browser/es5/ai.props.3.cjs.js.map +1 -1
- package/browser/es5/ai.props.3.cjs.min.js +2 -2
- package/browser/es5/ai.props.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.js +5 -5
- package/browser/es5/ai.props.3.gbl.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.min.js +2 -2
- package/browser/es5/ai.props.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.props.3.integrity.json +25 -25
- package/browser/es5/ai.props.3.js +5 -5
- package/browser/es5/ai.props.3.js.map +1 -1
- package/browser/es5/ai.props.3.min.js +2 -2
- package/browser/es5/ai.props.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.js +3 -3
- package/dist/es5/applicationinsights-properties-js.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.min.js +2 -2
- package/dist/es5/applicationinsights-properties-js.min.js.map +1 -1
- package/dist-es5/Context/Application.js +1 -1
- package/dist-es5/Context/Device.js +1 -1
- package/dist-es5/Context/Internal.js +2 -2
- package/dist-es5/Context/Internal.js.map +1 -1
- package/dist-es5/Context/Location.js +1 -1
- package/dist-es5/Context/Session.js +1 -1
- package/dist-es5/Context/TelemetryTrace.js +1 -1
- package/dist-es5/Context/User.js +1 -1
- package/dist-es5/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IPropertiesConfig.js +1 -1
- package/dist-es5/PropertiesPlugin.js +1 -1
- package/dist-es5/TelemetryContext.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-properties-js.js +1 -1
- package/package.json +66 -69
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +13 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.cjs.min.js +0 -6
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.gbl.min.js +0 -6
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.integrity.json +0 -66
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.js.map +0 -1
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.min.js +0 -6
- package/browser/es5/ai.props.3.3.1-nightly3.2407-15.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.3.1
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.3.1
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
import { onConfigChange } from "@microsoft/applicationinsights-core-js";
|
|
8
|
-
var Version = '3.3.1
|
|
8
|
+
var Version = '3.3.1';
|
|
9
9
|
var Internal = /** @class */ (function () {
|
|
10
10
|
/**
|
|
11
11
|
* Constructs a new instance of the internal telemetry data class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.3.1
|
|
1
|
+
{"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.3.1';\r\nvar Internal = /** @class */ (function () {\r\n /**\r\n * Constructs a new instance of the internal telemetry data class.\r\n */\r\n function Internal(config, unloadHookContainer) {\r\n var _this = this;\r\n var unloadHook = onConfigChange((config), function () {\r\n var prefix = config.sdkExtension;\r\n _this.sdkVersion = (prefix ? prefix + \"_\" : \"\") + \"javascript:\" + Version;\r\n });\r\n unloadHookContainer && unloadHookContainer.add(unloadHook);\r\n }\r\n return Internal;\r\n}());\r\nexport { Internal };\r\n//# sourceMappingURL=Internal.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/dist-es5/Context/User.js
CHANGED
package/package.json
CHANGED
|
@@ -1,69 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
-
"version": "3.3.1
|
|
4
|
-
"description": "Microsoft Application Insights properties (Part A) plugin",
|
|
5
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
-
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/es5/applicationinsights-properties-js.js",
|
|
8
|
-
"module": "dist-es5/applicationinsights-properties-js.js",
|
|
9
|
-
"types": "types/applicationinsights-properties-js.d.ts",
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-properties-js"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"clean": "git clean -xdf",
|
|
17
|
-
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
18
|
-
"build:esm": "grunt properties",
|
|
19
|
-
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
20
|
-
"rebuild": "npm run build",
|
|
21
|
-
"test": "grunt propertiestests",
|
|
22
|
-
"mintest": "grunt properties-mintests",
|
|
23
|
-
"lint": "tslint -p tsconfig.json",
|
|
24
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights properties plugin\"",
|
|
25
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
26
|
-
"ai-min": "grunt properties-min",
|
|
27
|
-
"ai-restore": "grunt properties-restore",
|
|
28
|
-
"npm-pack": "npm pack",
|
|
29
|
-
"api-docs": "typedoc"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@microsoft/ai-test-framework": "0.0.1",
|
|
33
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
34
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
35
|
-
"@microsoft/api-extractor": "^7.40.0",
|
|
36
|
-
"typescript": "^4.9.3",
|
|
37
|
-
"tslib": "^2.0.0",
|
|
38
|
-
"grunt": "^1.5.3",
|
|
39
|
-
"grunt-cli": "^1.4.3",
|
|
40
|
-
"grunt-contrib-qunit": "^6.2.1",
|
|
41
|
-
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
42
|
-
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
43
|
-
"globby": "^11.0.0",
|
|
44
|
-
"magic-string": "^0.25.7",
|
|
45
|
-
"pako": "^2.0.3",
|
|
46
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
47
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
48
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
49
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
50
|
-
"rollup": "^3.20.0",
|
|
51
|
-
"typedoc": "^0.24.8",
|
|
52
|
-
"qunit": "^2.11.2",
|
|
53
|
-
"sinon": "^7.3.1"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"tslib": "*"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
-
"@microsoft/applicationinsights-core-js": "3.3.1
|
|
62
|
-
"@microsoft/applicationinsights-common": "3.3.1
|
|
63
|
-
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
64
|
-
},
|
|
65
|
-
"license": "MIT"
|
|
66
|
-
|
|
67
|
-
"tag": "nightly3"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
+
"version": "3.3.1",
|
|
4
|
+
"description": "Microsoft Application Insights properties (Part A) plugin",
|
|
5
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
+
"author": "Microsoft Application Insights Team",
|
|
7
|
+
"main": "dist/es5/applicationinsights-properties-js.js",
|
|
8
|
+
"module": "dist-es5/applicationinsights-properties-js.js",
|
|
9
|
+
"types": "types/applicationinsights-properties-js.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-properties-js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "git clean -xdf",
|
|
17
|
+
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
18
|
+
"build:esm": "grunt properties",
|
|
19
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
20
|
+
"rebuild": "npm run build",
|
|
21
|
+
"test": "grunt propertiestests",
|
|
22
|
+
"mintest": "grunt properties-mintests",
|
|
23
|
+
"lint": "tslint -p tsconfig.json",
|
|
24
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights properties plugin\"",
|
|
25
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
26
|
+
"ai-min": "grunt properties-min",
|
|
27
|
+
"ai-restore": "grunt properties-restore",
|
|
28
|
+
"npm-pack": "npm pack",
|
|
29
|
+
"api-docs": "typedoc"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
33
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
34
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
35
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
36
|
+
"typescript": "^4.9.3",
|
|
37
|
+
"tslib": "^2.0.0",
|
|
38
|
+
"grunt": "^1.5.3",
|
|
39
|
+
"grunt-cli": "^1.4.3",
|
|
40
|
+
"grunt-contrib-qunit": "^6.2.1",
|
|
41
|
+
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
42
|
+
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
43
|
+
"globby": "^11.0.0",
|
|
44
|
+
"magic-string": "^0.25.7",
|
|
45
|
+
"pako": "^2.0.3",
|
|
46
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
47
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
48
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
49
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
50
|
+
"rollup": "^3.20.0",
|
|
51
|
+
"typedoc": "^0.24.8",
|
|
52
|
+
"qunit": "^2.11.2",
|
|
53
|
+
"sinon": "^7.3.1"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"tslib": "*"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
+
"@microsoft/applicationinsights-core-js": "3.3.1",
|
|
62
|
+
"@microsoft/applicationinsights-common": "3.3.1",
|
|
63
|
+
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
64
|
+
},
|
|
65
|
+
"license": "MIT"
|
|
66
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.3.1
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.3.1
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -888,6 +888,10 @@ declare namespace ApplicationInsights {
|
|
|
888
888
|
* This URL takes precedence over the 'config.endpointUrl' and any endpoint in the connection string.
|
|
889
889
|
*/
|
|
890
890
|
userOverrideEndpointUrl?: string;
|
|
891
|
+
/**
|
|
892
|
+
* [Optional] Set additional configuration for exceptions, such as more scripts to include in the exception telemetry.
|
|
893
|
+
*/
|
|
894
|
+
expCfg?: IExceptionConfig;
|
|
891
895
|
}
|
|
892
896
|
|
|
893
897
|
/**
|
|
@@ -1374,6 +1378,14 @@ declare namespace ApplicationInsights {
|
|
|
1374
1378
|
setTraceFlags(newValue?: number): void;
|
|
1375
1379
|
}
|
|
1376
1380
|
|
|
1381
|
+
interface IExceptionConfig {
|
|
1382
|
+
/**
|
|
1383
|
+
* 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.
|
|
1384
|
+
* Notice: This would increase the size of the exception telemetry.
|
|
1385
|
+
*/
|
|
1386
|
+
inclScripts?: boolean;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1377
1389
|
interface IFeatureOptIn {
|
|
1378
1390
|
[feature: string]: IFeatureOptInDetails;
|
|
1379
1391
|
}
|