@microsoft/applicationinsights-properties-js 3.3.3-nightly3.2408-12 → 3.3.3-nightly3.2409-02
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.3-nightly3.2408-12.cjs.js → ai.props.3.3.3-nightly3.2409-02.cjs.js} +4 -4
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.cjs.js.map → ai.props.3.3.3-nightly3.2409-02.cjs.js.map} +1 -1
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.cjs.min.js → ai.props.3.3.3-nightly3.2409-02.cjs.min.js} +3 -3
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.cjs.min.js.map → ai.props.3.3.3-nightly3.2409-02.cjs.min.js.map} +1 -1
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.gbl.js → ai.props.3.3.3-nightly3.2409-02.gbl.js} +6 -6
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.gbl.js.map → ai.props.3.3.3-nightly3.2409-02.gbl.js.map} +1 -1
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.gbl.min.js → ai.props.3.3.3-nightly3.2409-02.gbl.min.js} +3 -3
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.gbl.min.js.map → ai.props.3.3.3-nightly3.2409-02.gbl.min.js.map} +1 -1
- package/browser/es5/ai.props.3.3.3-nightly3.2409-02.integrity.json +66 -0
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.js → ai.props.3.3.3-nightly3.2409-02.js} +6 -6
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.js.map → ai.props.3.3.3-nightly3.2409-02.js.map} +1 -1
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.min.js → ai.props.3.3.3-nightly3.2409-02.min.js} +3 -3
- package/browser/es5/{ai.props.3.3.3-nightly3.2408-12.min.js.map → ai.props.3.3.3-nightly3.2409-02.min.js.map} +1 -1
- 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 +3 -3
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +29 -3
- package/browser/es5/ai.props.3.3.3-nightly3.2408-12.integrity.json +0 -66
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.3.3-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.3.3-nightly3.2409-02
|
|
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.3-nightly3.
|
|
8
|
+
var Version = '3.3.3-nightly3.2409-02';
|
|
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.3-nightly3.
|
|
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.3-nightly3.2409-02';\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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
-
"version": "3.3.3-nightly3.
|
|
3
|
+
"version": "3.3.3-nightly3.2409-02",
|
|
4
4
|
"description": "Microsoft Application Insights properties (Part A) plugin",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
60
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
-
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.
|
|
62
|
-
"@microsoft/applicationinsights-common": "3.3.3-nightly3.
|
|
61
|
+
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-02",
|
|
62
|
+
"@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-02",
|
|
63
63
|
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
64
64
|
},
|
|
65
65
|
"license": "MIT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.3.3-nightly3.
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.3.3-nightly3.2409-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1379,10 +1379,31 @@ declare namespace ApplicationInsights {
|
|
|
1379
1379
|
setTraceFlags(newValue?: number): void;
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
|
+
/**
|
|
1383
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
1384
|
+
* @example
|
|
1385
|
+
* ```js
|
|
1386
|
+
* const appInsights = new ApplicationInsights({
|
|
1387
|
+
config: {
|
|
1388
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
1389
|
+
expCfg: {
|
|
1390
|
+
inclScripts: true,
|
|
1391
|
+
expLog : () => {
|
|
1392
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
1393
|
+
},
|
|
1394
|
+
maxLogs : 100
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
});
|
|
1398
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
1399
|
+
* ```
|
|
1400
|
+
* @interface IExceptionConfig
|
|
1401
|
+
*/
|
|
1382
1402
|
interface IExceptionConfig {
|
|
1383
1403
|
/**
|
|
1384
1404
|
* 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.
|
|
1385
1405
|
* Notice: This would increase the size of the exception telemetry.
|
|
1406
|
+
* @defaultvalue true
|
|
1386
1407
|
*/
|
|
1387
1408
|
inclScripts?: boolean;
|
|
1388
1409
|
/**
|
|
@@ -1397,10 +1418,15 @@ declare namespace ApplicationInsights {
|
|
|
1397
1418
|
*
|
|
1398
1419
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
1399
1420
|
*/
|
|
1400
|
-
expLog
|
|
1421
|
+
expLog?: () => {
|
|
1401
1422
|
logs: string[];
|
|
1402
1423
|
};
|
|
1403
|
-
|
|
1424
|
+
/**
|
|
1425
|
+
* The maximum number of logs to include in the telemetry data.
|
|
1426
|
+
* If not explicitly set, it defaults to 50.
|
|
1427
|
+
* This is used in conjunction with the `expLog` callback.
|
|
1428
|
+
*/
|
|
1429
|
+
maxLogs?: number;
|
|
1404
1430
|
}
|
|
1405
1431
|
|
|
1406
1432
|
interface IFeatureOptIn {
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ai.props",
|
|
3
|
-
"version": "3.3.3-nightly3.2408-12",
|
|
4
|
-
"ext": {
|
|
5
|
-
"@cjs.js": {
|
|
6
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.cjs.js",
|
|
7
|
-
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-hCz0BKBAhqA/g0wE1PLZ8SFNeFLPWlOGScRUl7lQDvg= sha384-R6QhME770oYNa88F7N23Kudh1w/BRVEPZrxm5BMsUM3YuOjkh08ZthYbSgJrGBYT sha512-lqdyU9C752zx/MMmRX+laQqHFfGFaNMrl6T/4tXk8lRnl9U0t7zHcs6FiGKg5lMjwjseWe9bC/cf/1xE1Bd14w==",
|
|
9
|
-
"hashes": {
|
|
10
|
-
"sha256": "hCz0BKBAhqA/g0wE1PLZ8SFNeFLPWlOGScRUl7lQDvg=",
|
|
11
|
-
"sha384": "R6QhME770oYNa88F7N23Kudh1w/BRVEPZrxm5BMsUM3YuOjkh08ZthYbSgJrGBYT",
|
|
12
|
-
"sha512": "lqdyU9C752zx/MMmRX+laQqHFfGFaNMrl6T/4tXk8lRnl9U0t7zHcs6FiGKg5lMjwjseWe9bC/cf/1xE1Bd14w=="
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"@cjs.min.js": {
|
|
16
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.cjs.min.js",
|
|
17
|
-
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-ZSrX5sjxRN+ggY/OWVhKTFyX/9vAjJoZuM9qauCm5c8= sha384-IMJzD3i3ArLjI+1k3HWo0S+vYY6kNAPBKt0ZMBn04eFi3YHCUsuUYXqDvqo0P3W4 sha512-wST5Mi2p+h9zX3oHBBu/c42581hYKXfMWHWfdiyqRZcGRfTR6lcFAEBNklBbtn4FAHQtQuRR1IYtz+5ybnmG3w==",
|
|
19
|
-
"hashes": {
|
|
20
|
-
"sha256": "ZSrX5sjxRN+ggY/OWVhKTFyX/9vAjJoZuM9qauCm5c8=",
|
|
21
|
-
"sha384": "IMJzD3i3ArLjI+1k3HWo0S+vYY6kNAPBKt0ZMBn04eFi3YHCUsuUYXqDvqo0P3W4",
|
|
22
|
-
"sha512": "wST5Mi2p+h9zX3oHBBu/c42581hYKXfMWHWfdiyqRZcGRfTR6lcFAEBNklBbtn4FAHQtQuRR1IYtz+5ybnmG3w=="
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"@gbl.js": {
|
|
26
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.gbl.js",
|
|
27
|
-
"type": "text/javascript; charset=utf-8",
|
|
28
|
-
"integrity": "sha256-48fIo7SKP+9XjN5uBvc5nYFnsUbBI1M02Fs1IQVoK4w= sha384-8PVC4GYAESgzeaBy1GraMZDv+9fzIlVwJ3Iq5OM+PrzWWTYnRm0rMnLnehFwfYrO sha512-fswvISt09YXM1IZI2TMlA8fi7MBzqOTDeSY9au2EJyt3XGobgAV4XADR+7OQV89uyxPZPQ6w4eUB2MU7gSL1yQ==",
|
|
29
|
-
"hashes": {
|
|
30
|
-
"sha256": "48fIo7SKP+9XjN5uBvc5nYFnsUbBI1M02Fs1IQVoK4w=",
|
|
31
|
-
"sha384": "8PVC4GYAESgzeaBy1GraMZDv+9fzIlVwJ3Iq5OM+PrzWWTYnRm0rMnLnehFwfYrO",
|
|
32
|
-
"sha512": "fswvISt09YXM1IZI2TMlA8fi7MBzqOTDeSY9au2EJyt3XGobgAV4XADR+7OQV89uyxPZPQ6w4eUB2MU7gSL1yQ=="
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"@gbl.min.js": {
|
|
36
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.gbl.min.js",
|
|
37
|
-
"type": "text/javascript; charset=utf-8",
|
|
38
|
-
"integrity": "sha256-EtIQgumEGsU0Oqn1d6uKbOV68HM0mNzJNrju2dtbo8Q= sha384-vYKeJB5GzhHC4yc6x43SOcDagaP8++PafmJ6ofVDRh7I+48MRs2Ipbit4bCpH3St sha512-69HpXY7CQrmQ4zCNuhbW4HFX+0y4iuBntaqJQfWjsnDLRhvYSHjf0ZN35TC5Z2KFMMbS6CCekN9Kty+Sa814FA==",
|
|
39
|
-
"hashes": {
|
|
40
|
-
"sha256": "EtIQgumEGsU0Oqn1d6uKbOV68HM0mNzJNrju2dtbo8Q=",
|
|
41
|
-
"sha384": "vYKeJB5GzhHC4yc6x43SOcDagaP8++PafmJ6ofVDRh7I+48MRs2Ipbit4bCpH3St",
|
|
42
|
-
"sha512": "69HpXY7CQrmQ4zCNuhbW4HFX+0y4iuBntaqJQfWjsnDLRhvYSHjf0ZN35TC5Z2KFMMbS6CCekN9Kty+Sa814FA=="
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"@js": {
|
|
46
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.js",
|
|
47
|
-
"type": "text/javascript; charset=utf-8",
|
|
48
|
-
"integrity": "sha256-cAZuRuqhjElnBlMjjEKhAh4YC6ZdybAUO/m7VN080hE= sha384-nmgYxsMoLqFqWTP/Ba6MDAzVuaUuJD/OgtzCpt5Qb6Xu6j0hzVbE4+vQ0UHgs4pS sha512-k9Mkr2Lqi5sgmGU59ckv/Qx9RS21yRut06gcYnNi+5/qbyMMng7a6qXSteumm0Hsmy1YjnxiQ8/4wcVN1tuM6A==",
|
|
49
|
-
"hashes": {
|
|
50
|
-
"sha256": "cAZuRuqhjElnBlMjjEKhAh4YC6ZdybAUO/m7VN080hE=",
|
|
51
|
-
"sha384": "nmgYxsMoLqFqWTP/Ba6MDAzVuaUuJD/OgtzCpt5Qb6Xu6j0hzVbE4+vQ0UHgs4pS",
|
|
52
|
-
"sha512": "k9Mkr2Lqi5sgmGU59ckv/Qx9RS21yRut06gcYnNi+5/qbyMMng7a6qXSteumm0Hsmy1YjnxiQ8/4wcVN1tuM6A=="
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"@min.js": {
|
|
56
|
-
"file": "ai.props.3.3.3-nightly3.2408-12.min.js",
|
|
57
|
-
"type": "text/javascript; charset=utf-8",
|
|
58
|
-
"integrity": "sha256-gbm/J4ChX/6wgZI9SQxoj5Qvc/Xbe6rsQznRxklfm4o= sha384-MPw19SXaKZtIHFWAqmViXtQ2NrG4VbSmNK38zsUpvm2lEmJRR/+W+CKW4XUP2gkR sha512-wByyvMt/Fw0pgSmmyT8MYI9n11tyL4TOuUuBubzpvEsUvYq+AN7nfOnUv8C4osSTQUBtS2VtXPe3F5hIatvAcA==",
|
|
59
|
-
"hashes": {
|
|
60
|
-
"sha256": "gbm/J4ChX/6wgZI9SQxoj5Qvc/Xbe6rsQznRxklfm4o=",
|
|
61
|
-
"sha384": "MPw19SXaKZtIHFWAqmViXtQ2NrG4VbSmNK38zsUpvm2lEmJRR/+W+CKW4XUP2gkR",
|
|
62
|
-
"sha512": "wByyvMt/Fw0pgSmmyT8MYI9n11tyL4TOuUuBubzpvEsUvYq+AN7nfOnUv8C4osSTQUBtS2VtXPe3F5hIatvAcA=="
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|