@microsoft/applicationinsights-properties-js 3.4.0-nightlybeta3.2602-27 → 3.4.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.4.0-nightlybeta3.2602-27.cjs.js → ai.props.3.4.1.cjs.js} +13 -11
- package/browser/es5/ai.props.3.4.1.cjs.js.map +1 -0
- package/browser/es5/ai.props.3.4.1.cjs.min.js +6 -0
- package/browser/es5/ai.props.3.4.1.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.4.0-nightlybeta3.2602-27.gbl.js → ai.props.3.4.1.gbl.js} +15 -13
- package/browser/es5/ai.props.3.4.1.gbl.js.map +1 -0
- package/browser/es5/ai.props.3.4.1.gbl.min.js +6 -0
- package/browser/es5/ai.props.3.4.1.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.4.1.integrity.json +66 -0
- package/browser/es5/{ai.props.3.4.0-nightlybeta3.2602-27.js → ai.props.3.4.1.js} +15 -13
- package/browser/es5/ai.props.3.4.1.js.map +1 -0
- package/browser/es5/ai.props.3.4.1.min.js +6 -0
- package/browser/es5/ai.props.3.4.1.min.js.map +1 -0
- package/browser/es5/ai.props.3.cjs.js +12 -10
- 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 +14 -12
- 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 +14 -12
- 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 +12 -10
- 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 +65 -68
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +113 -9
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.cjs.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.gbl.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.integrity.json +0 -66
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2602-27.min.js.map +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ai.props",
|
|
3
|
+
"version": "3.4.1",
|
|
4
|
+
"ext": {
|
|
5
|
+
"@cjs.js": {
|
|
6
|
+
"file": "ai.props.3.4.1.cjs.js",
|
|
7
|
+
"type": "text/javascript; charset=utf-8",
|
|
8
|
+
"integrity": "sha256-d/WgknfqrAZfbdm8kV1X54l9QyTBCyoTfMQS9vRGAAk= sha384-zBORRmc+yNFg5AAJPmhaQvm7jhDJUUcNWm2d7r6pTQv0uaPsIkAm5/mwQnbmhyc3 sha512-SxF8TjQxikDheIepv+ap4cQg1if3PQj5qJY/AukhhUrLLRYMzB7AZSxDqCGnRP/2+rZkCRg5/Ke+iAjWVWSVFQ==",
|
|
9
|
+
"hashes": {
|
|
10
|
+
"sha256": "d/WgknfqrAZfbdm8kV1X54l9QyTBCyoTfMQS9vRGAAk=",
|
|
11
|
+
"sha384": "zBORRmc+yNFg5AAJPmhaQvm7jhDJUUcNWm2d7r6pTQv0uaPsIkAm5/mwQnbmhyc3",
|
|
12
|
+
"sha512": "SxF8TjQxikDheIepv+ap4cQg1if3PQj5qJY/AukhhUrLLRYMzB7AZSxDqCGnRP/2+rZkCRg5/Ke+iAjWVWSVFQ=="
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"@cjs.min.js": {
|
|
16
|
+
"file": "ai.props.3.4.1.cjs.min.js",
|
|
17
|
+
"type": "text/javascript; charset=utf-8",
|
|
18
|
+
"integrity": "sha256-K2bZMmWz++6nsc6KF7RIN9mxVXYd4lhPo8HMB91ot2Y= sha384-eW8N9LCfGRBxmlLrsNorGeG/UmYL9Gm0oUbzmI+BVv9k8PZLMjZlbSoZODvHIK/z sha512-gl4WA5Z+Qtknr0tfJrCWS/VG0KIidoephJdM8hDWHbJ6UzeL+mMwMzmrV9NWOItHk9mWlM8PDXZIYepeVJ1L5A==",
|
|
19
|
+
"hashes": {
|
|
20
|
+
"sha256": "K2bZMmWz++6nsc6KF7RIN9mxVXYd4lhPo8HMB91ot2Y=",
|
|
21
|
+
"sha384": "eW8N9LCfGRBxmlLrsNorGeG/UmYL9Gm0oUbzmI+BVv9k8PZLMjZlbSoZODvHIK/z",
|
|
22
|
+
"sha512": "gl4WA5Z+Qtknr0tfJrCWS/VG0KIidoephJdM8hDWHbJ6UzeL+mMwMzmrV9NWOItHk9mWlM8PDXZIYepeVJ1L5A=="
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"@gbl.js": {
|
|
26
|
+
"file": "ai.props.3.4.1.gbl.js",
|
|
27
|
+
"type": "text/javascript; charset=utf-8",
|
|
28
|
+
"integrity": "sha256-8ouqvgAAaldz428eNR/NA+69aQwf0m+VN137qE4MbBg= sha384-f6E3x6UBvqFj/fnOTlV4jRITY/zajBT2AZsj3Ckz1oNleaiSfL4WH7Y2QCV6S2Ll sha512-bcJR7Pi7wB6/kJcg8DB7nq/WXSPmMbz4ge/kJhxp06FiFyumus57Gq7OnH06Xldx/rNgn3iYa5ZXY9CnOQmB/A==",
|
|
29
|
+
"hashes": {
|
|
30
|
+
"sha256": "8ouqvgAAaldz428eNR/NA+69aQwf0m+VN137qE4MbBg=",
|
|
31
|
+
"sha384": "f6E3x6UBvqFj/fnOTlV4jRITY/zajBT2AZsj3Ckz1oNleaiSfL4WH7Y2QCV6S2Ll",
|
|
32
|
+
"sha512": "bcJR7Pi7wB6/kJcg8DB7nq/WXSPmMbz4ge/kJhxp06FiFyumus57Gq7OnH06Xldx/rNgn3iYa5ZXY9CnOQmB/A=="
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"@gbl.min.js": {
|
|
36
|
+
"file": "ai.props.3.4.1.gbl.min.js",
|
|
37
|
+
"type": "text/javascript; charset=utf-8",
|
|
38
|
+
"integrity": "sha256-GmJS0xEpcjc7foVcHny1yGVAR/R+eDcO6daFmGlJvg0= sha384-hL1yVBCHnDyworlvoG8EdKYgX+oLmN4NtpAGPwi8vqqqZdsG5jET8PIfzNsxfddB sha512-UTXReJl3M/5GJ3fhIQmU3CMlxa+lKTdel+L4w7IUdHuFQDwzzz0sabL0b/vJ3C6jXqBU/N/E7o9Qu3uFtoHlDw==",
|
|
39
|
+
"hashes": {
|
|
40
|
+
"sha256": "GmJS0xEpcjc7foVcHny1yGVAR/R+eDcO6daFmGlJvg0=",
|
|
41
|
+
"sha384": "hL1yVBCHnDyworlvoG8EdKYgX+oLmN4NtpAGPwi8vqqqZdsG5jET8PIfzNsxfddB",
|
|
42
|
+
"sha512": "UTXReJl3M/5GJ3fhIQmU3CMlxa+lKTdel+L4w7IUdHuFQDwzzz0sabL0b/vJ3C6jXqBU/N/E7o9Qu3uFtoHlDw=="
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"@js": {
|
|
46
|
+
"file": "ai.props.3.4.1.js",
|
|
47
|
+
"type": "text/javascript; charset=utf-8",
|
|
48
|
+
"integrity": "sha256-rIC577XQtuevMK35Me64TD+R+WqNx/LzA/P3b/9Pt+o= sha384-a8FLY557HxZIT3RVExOCfcIFq1BRYO+o9acqw7b1GXfbPuoTP1fs2AonIn6pzmv+ sha512-Lll7biLGtBtkCIR5DHOXJqKlPSDgns8mv8CPO5IQtTpWI/WUO5NiDZVLZESwHvfHmRsNfR/TuzspP6MjMsX7dQ==",
|
|
49
|
+
"hashes": {
|
|
50
|
+
"sha256": "rIC577XQtuevMK35Me64TD+R+WqNx/LzA/P3b/9Pt+o=",
|
|
51
|
+
"sha384": "a8FLY557HxZIT3RVExOCfcIFq1BRYO+o9acqw7b1GXfbPuoTP1fs2AonIn6pzmv+",
|
|
52
|
+
"sha512": "Lll7biLGtBtkCIR5DHOXJqKlPSDgns8mv8CPO5IQtTpWI/WUO5NiDZVLZESwHvfHmRsNfR/TuzspP6MjMsX7dQ=="
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"@min.js": {
|
|
56
|
+
"file": "ai.props.3.4.1.min.js",
|
|
57
|
+
"type": "text/javascript; charset=utf-8",
|
|
58
|
+
"integrity": "sha256-IyjVzdNA18gp4SYmQPgnAOZxf3GI7mxdec72XNjN8js= sha384-9aeDEosJK4iixw9KyxD+MGcs7lB/U4KPwYs4MDNy9XlJUiZnbhlScoB8UkzjqXOZ sha512-ybwA07ruc9R8F7XNQh+e9iBCbfPgjur+MUiaqNwgcPQEZDy6UJlTYPreCZ9BQGuMfs2bSOY+LT23v1PphK2zsA==",
|
|
59
|
+
"hashes": {
|
|
60
|
+
"sha256": "IyjVzdNA18gp4SYmQPgnAOZxf3GI7mxdec72XNjN8js=",
|
|
61
|
+
"sha384": "9aeDEosJK4iixw9KyxD+MGcs7lB/U4KPwYs4MDNy9XlJUiZnbhlScoB8UkzjqXOZ",
|
|
62
|
+
"sha512": "ybwA07ruc9R8F7XNQh+e9iBCbfPgjur+MUiaqNwgcPQEZDy6UJlTYPreCZ9BQGuMfs2bSOY+LT23v1PphK2zsA=="
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.4.
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.4.1
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
typeof exports === "object" && typeof module !== undef ? factory(exports) :
|
|
8
8
|
typeof define === "function" && define.amd ? define(["exports"], factory) :
|
|
9
9
|
(function(global){
|
|
10
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
11
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.4.
|
|
10
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ai_props_3_4_1", msMod="__ms$mod__";
|
|
11
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.4.1";
|
|
12
12
|
var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
|
|
13
13
|
// Versioned namespace "Microsoft.ApplicationInsights3"
|
|
14
14
|
var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
@@ -36,7 +36,7 @@ var strShimUndefined = "undefined";
|
|
|
36
36
|
var strShimPrototype = "prototype";
|
|
37
37
|
var ObjClass$1 = Object;
|
|
38
38
|
|
|
39
|
-
/*! https://github.com/nevware21/ts-utils v0.
|
|
39
|
+
/*! https://github.com/nevware21/ts-utils v0.13.0 */
|
|
40
40
|
/*#__NO_SIDE_EFFECTS__*/
|
|
41
41
|
function _pureAssign(func1, func2) {
|
|
42
42
|
return func1 || func2;
|
|
@@ -722,7 +722,7 @@ function _setName(baseClass, name) {
|
|
|
722
722
|
name && (baseClass[NAME] = name);
|
|
723
723
|
}
|
|
724
724
|
/*#__NO_SIDE_EFFECTS__*/
|
|
725
|
-
function createCustomError(name, constructCb, errorBase) {
|
|
725
|
+
function createCustomError(name, constructCb, errorBase, superArgsFn) {
|
|
726
726
|
var theBaseClass = errorBase || Error;
|
|
727
727
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
728
728
|
var captureFn = Error.captureStackTrace;
|
|
@@ -731,7 +731,7 @@ function createCustomError(name, constructCb, errorBase) {
|
|
|
731
731
|
var theArgs = arguments;
|
|
732
732
|
try {
|
|
733
733
|
safe(_setName, [theBaseClass, name]);
|
|
734
|
-
var _self = fnApply(theBaseClass, _this, ArrSlice[CALL](theArgs)) || _this;
|
|
734
|
+
var _self = fnApply(theBaseClass, _this, superArgsFn ? superArgsFn(theArgs) : ArrSlice[CALL](theArgs)) || _this;
|
|
735
735
|
if (_self !== _this) {
|
|
736
736
|
var orgProto = objGetPrototypeOf(_this);
|
|
737
737
|
if (orgProto !== objGetPrototypeOf(_self)) {
|
|
@@ -1229,7 +1229,9 @@ var _DYN_IS_CHILD_EVT = "isChildEvt";
|
|
|
1229
1229
|
var _DYN_GET_CTX = "getCtx";
|
|
1230
1230
|
var _DYN_SET_CTX = "setCtx";
|
|
1231
1231
|
var _DYN_CONFIG = "config";
|
|
1232
|
+
var _DYN_CALL = "call";
|
|
1232
1233
|
var _DYN_REPLACE = "replace";
|
|
1234
|
+
var _DYN_USER_AGENT = "userAgent";
|
|
1233
1235
|
var _DYN_TO_STRING = "toString";
|
|
1234
1236
|
var _DYN_REMOVE_ITEM = "removeItem";
|
|
1235
1237
|
|
|
@@ -1389,7 +1391,7 @@ function getUserAgentString() {
|
|
|
1389
1391
|
if (!_userAgent) {
|
|
1390
1392
|
_userAgent = getLazy(function () {
|
|
1391
1393
|
var nav = getNavigator() || {};
|
|
1392
|
-
return nav
|
|
1394
|
+
return nav[_DYN_USER_AGENT ] || STR_EMPTY;
|
|
1393
1395
|
});
|
|
1394
1396
|
}
|
|
1395
1397
|
return _userAgent.v;
|
|
@@ -1514,7 +1516,7 @@ function newId(maxLength) {
|
|
|
1514
1516
|
return result;
|
|
1515
1517
|
}
|
|
1516
1518
|
|
|
1517
|
-
var version = '3.4.
|
|
1519
|
+
var version = '3.4.1';
|
|
1518
1520
|
var instanceName = "." + newId(6);
|
|
1519
1521
|
var _dataUid = 0;
|
|
1520
1522
|
function _canAcceptData(target) {
|
|
@@ -2252,7 +2254,7 @@ var _InternalLogMessage = /** @class */ (function () {
|
|
|
2252
2254
|
}());
|
|
2253
2255
|
/*#__NO_SIDE_EFFECTS__*/
|
|
2254
2256
|
function safeGetLogger(core, config) {
|
|
2255
|
-
return (core || {})[_DYN_LOGGER ] || new DiagnosticLogger(config);
|
|
2257
|
+
return (core || {})[_DYN_LOGGER ] || new DiagnosticLogger(config || (core || {})[_DYN_CONFIG ]);
|
|
2256
2258
|
}
|
|
2257
2259
|
var DiagnosticLogger = /** @class */ (function () {
|
|
2258
2260
|
function DiagnosticLogger(config) {
|
|
@@ -2952,7 +2954,7 @@ function _createInternalContext(telemetryChain, dynamicHandler, core, startAt) {
|
|
|
2952
2954
|
if (onComplete && onComplete[_DYN_LENGTH ] > 0) {
|
|
2953
2955
|
arrForEach(onComplete, function (completeDetails) {
|
|
2954
2956
|
try {
|
|
2955
|
-
completeDetails.func
|
|
2957
|
+
completeDetails.func[_DYN_CALL ](completeDetails.self, completeDetails.args);
|
|
2956
2958
|
}
|
|
2957
2959
|
catch (e) {
|
|
2958
2960
|
_throwInternal(core[_DYN_LOGGER ], 2 , 73 , "Unexpected Exception during onComplete - " + dumpObj(e));
|
|
@@ -3275,7 +3277,7 @@ function createUnloadHookContainer() {
|
|
|
3275
3277
|
_hooks = [];
|
|
3276
3278
|
arrForEach(oldHooks, function (fn) {
|
|
3277
3279
|
try {
|
|
3278
|
-
(fn.rm || fn.remove)
|
|
3280
|
+
(fn.rm || fn.remove)[_DYN_CALL ](fn);
|
|
3279
3281
|
}
|
|
3280
3282
|
catch (e) {
|
|
3281
3283
|
_throwInternal(logger, 2 , 73 , "Unloading:" + dumpObj(e));
|
|
@@ -3647,7 +3649,7 @@ var Device = /** @class */ (function () {
|
|
|
3647
3649
|
return Device;
|
|
3648
3650
|
}());
|
|
3649
3651
|
|
|
3650
|
-
var Version = '3.4.
|
|
3652
|
+
var Version = '3.4.1';
|
|
3651
3653
|
var Internal = /** @class */ (function () {
|
|
3652
3654
|
function Internal(config, unloadHookContainer) {
|
|
3653
3655
|
var _this = this;
|
|
@@ -4275,4 +4277,4 @@ exports.Session = Session;
|
|
|
4275
4277
|
exports.SessionManager = _SessionManager;
|
|
4276
4278
|
|
|
4277
4279
|
}));
|
|
4278
|
-
//# sourceMappingURL=ai.props.3.4.
|
|
4280
|
+
//# sourceMappingURL=ai.props.3.4.1.js.map
|