@microsoft/applicationinsights-properties-js 3.4.6-nightly3.2610-15 → 3.4.6
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.4.6-nightly3.2610-15.cjs.js → ai.props.3.4.6.cjs.js} +4 -4
- package/browser/es5/ai.props.3.4.6.cjs.js.map +1 -0
- package/browser/es5/ai.props.3.4.6.cjs.min.js +6 -0
- package/browser/es5/ai.props.3.4.6.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.4.6-nightly3.2610-15.gbl.js → ai.props.3.4.6.gbl.js} +6 -6
- package/browser/es5/ai.props.3.4.6.gbl.js.map +1 -0
- package/browser/es5/ai.props.3.4.6.gbl.min.js +6 -0
- package/browser/es5/ai.props.3.4.6.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.4.6.integrity.json +66 -0
- package/browser/es5/{ai.props.3.4.6-nightly3.2610-15.js → ai.props.3.4.6.js} +6 -6
- package/browser/es5/ai.props.3.4.6.js.map +1 -0
- package/browser/es5/ai.props.3.4.6.min.js +6 -0
- package/browser/es5/ai.props.3.4.6.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/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 +73 -76
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +12 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.cjs.min.js +0 -6
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.gbl.min.js +0 -6
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.integrity.json +0 -66
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.js.map +0 -1
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.min.js +0 -6
- package/browser/es5/ai.props.3.4.6-nightly3.2610-15.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.4.6
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.4.6
|
|
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.4.6
|
|
8
|
+
var Version = '3.4.6';
|
|
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.4.6
|
|
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.4.6';\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,76 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
-
"version": "3.4.6
|
|
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.6.1",
|
|
39
|
-
"grunt-cli": "^1.5.0",
|
|
40
|
-
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
41
|
-
"@nevware21/grunt-eslint-ts": "^0.5.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": "^3.20.0",
|
|
49
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
50
|
-
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
51
|
-
"typedoc": "^0.26.6",
|
|
52
|
-
"qunit": "^2.11.2",
|
|
53
|
-
"sinon": "^7.3.1",
|
|
54
|
-
"eslint": "^8.56.0",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
56
|
-
"@typescript-eslint/parser": "^7.14.1",
|
|
57
|
-
"eslint-plugin-security": "^1.5.0",
|
|
58
|
-
"grunt-contrib-connect": "^5.0.0",
|
|
59
|
-
"eventemitter2": "6.4.9",
|
|
60
|
-
"puppeteer": "^24.40.0",
|
|
61
|
-
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
|
|
62
|
-
},
|
|
63
|
-
"peerDependencies": {
|
|
64
|
-
"tslib": ">= 1.0.0"
|
|
65
|
-
},
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
68
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
69
|
-
"@microsoft/applicationinsights-core-js": "3.4.6
|
|
70
|
-
"@nevware21/ts-utils": ">= 0.14.0 < 2.x"
|
|
71
|
-
},
|
|
72
|
-
"license": "MIT"
|
|
73
|
-
|
|
74
|
-
"tag": "nightly3"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
+
"version": "3.4.6",
|
|
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.6.1",
|
|
39
|
+
"grunt-cli": "^1.5.0",
|
|
40
|
+
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
41
|
+
"@nevware21/grunt-eslint-ts": "^0.5.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": "^3.20.0",
|
|
49
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
50
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
51
|
+
"typedoc": "^0.26.6",
|
|
52
|
+
"qunit": "^2.11.2",
|
|
53
|
+
"sinon": "^7.3.1",
|
|
54
|
+
"eslint": "^8.56.0",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
56
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
57
|
+
"eslint-plugin-security": "^1.5.0",
|
|
58
|
+
"grunt-contrib-connect": "^5.0.0",
|
|
59
|
+
"eventemitter2": "6.4.9",
|
|
60
|
+
"puppeteer": "^24.40.0",
|
|
61
|
+
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"tslib": ">= 1.0.0"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
68
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
69
|
+
"@microsoft/applicationinsights-core-js": "3.4.6",
|
|
70
|
+
"@nevware21/ts-utils": ">= 0.14.0 < 2.x"
|
|
71
|
+
},
|
|
72
|
+
"license": "MIT"
|
|
73
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.4.6
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.4.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -2501,6 +2501,17 @@ declare namespace ApplicationInsights {
|
|
|
2501
2501
|
*/
|
|
2502
2502
|
interface INotificationManager {
|
|
2503
2503
|
listeners: INotificationListener[];
|
|
2504
|
+
/**
|
|
2505
|
+
* Optional hint indicating whether a notification has a matching listener or custom handler.
|
|
2506
|
+
* @param name - The notification method to query.
|
|
2507
|
+
* @returns False only when calling the method would have no effect. Callers must retain their
|
|
2508
|
+
* existing dispatch behavior when this hint is absent or does not return false.
|
|
2509
|
+
* @remarks
|
|
2510
|
+
* Implementations must account for custom notification handling as well as registered listeners.
|
|
2511
|
+
* The built-in manager returns true for overridden notification methods, even without matching listeners.
|
|
2512
|
+
* This method must not dispatch notifications or change listener state.
|
|
2513
|
+
*/
|
|
2514
|
+
hasListener?(name: string): boolean;
|
|
2504
2515
|
/**
|
|
2505
2516
|
* Adds a notification listener.
|
|
2506
2517
|
* @param listener - The notification listener to be added.
|