@microsoft/applicationinsights-properties-js 2.7.3-nightly.2112-07 → 2.7.3
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/applicationinsights-properties-js.integrity.json +9 -9
- package/browser/applicationinsights-properties-js.js +41 -31
- package/browser/applicationinsights-properties-js.js.map +1 -1
- package/browser/applicationinsights-properties-js.min.js +2 -2
- package/browser/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.api.json +1 -1
- package/dist/applicationinsights-properties-js.d.ts +1 -1
- package/dist/applicationinsights-properties-js.js +41 -31
- package/dist/applicationinsights-properties-js.js.map +1 -1
- package/dist/applicationinsights-properties-js.min.js +2 -2
- package/dist/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
- package/dist-esm/Context/Application.js +1 -1
- package/dist-esm/Context/Device.js +1 -1
- package/dist-esm/Context/Internal.js +2 -2
- package/dist-esm/Context/Internal.js.map +1 -1
- package/dist-esm/Context/Location.js +1 -1
- package/dist-esm/Context/Session.js +1 -1
- package/dist-esm/Context/TelemetryTrace.js +1 -1
- package/dist-esm/Context/User.js +1 -1
- package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryConfig.js +1 -1
- package/dist-esm/PropertiesPlugin.js +1 -1
- package/dist-esm/TelemetryContext.js +1 -1
- package/dist-esm/applicationinsights-properties-js.js +1 -1
- package/package.json +58 -61
- package/src/Context/Internal.ts +1 -1
- package/src/Context/Session.ts +2 -2
- package/src/Context/User.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-properties-js",
|
|
3
|
-
"version": "2.7.3
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-properties-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-xYPjQi+tDGmaGzckXRmZGvbmgxeKhBS5b6p5Az2ETU8= sha384-2JfOgHGRAGNE89+wHCxahgPOroLSrKEX8ZQYAxsNcqBvJd6ZPMMO2+z4+3GymVNO sha512-2urpGcMgE7wIu0QaJp1XwH7KGmjBAGf9xaIphujk5nK9GQpJgxYmCOkKQR1IyVf3Ub9c/GMWs1oUjrqlVowEEw==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "xYPjQi+tDGmaGzckXRmZGvbmgxeKhBS5b6p5Az2ETU8=",
|
|
11
|
+
"sha384": "2JfOgHGRAGNE89+wHCxahgPOroLSrKEX8ZQYAxsNcqBvJd6ZPMMO2+z4+3GymVNO",
|
|
12
|
+
"sha512": "2urpGcMgE7wIu0QaJp1XwH7KGmjBAGf9xaIphujk5nK9GQpJgxYmCOkKQR1IyVf3Ub9c/GMWs1oUjrqlVowEEw=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-properties-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-3mz4IFP9Bl69gZf1HxDkddXrmuZU5dYFH1Iy8Z3sYk8= sha384-ioAvcPjatVNak6pH2uIAJ+mvAN/BlAwrDnPVN1EgBt78QMqxJoCCZaZfz0LYe4Dn sha512-HrJ0Hp3kLNXgM1hn14ba8l3s2gsZm4ekMx6HsVWC7Oh6IjpFsI5t2JGmQVcjfz+9qNhUp3rlAX1o5160s8qnBQ==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "3mz4IFP9Bl69gZf1HxDkddXrmuZU5dYFH1Iy8Z3sYk8=",
|
|
21
|
+
"sha384": "ioAvcPjatVNak6pH2uIAJ+mvAN/BlAwrDnPVN1EgBt78QMqxJoCCZaZfz0LYe4Dn",
|
|
22
|
+
"sha512": "HrJ0Hp3kLNXgM1hn14ba8l3s2gsZm4ekMx6HsVWC7Oh6IjpFsI5t2JGmQVcjfz+9qNhUp3rlAX1o5160s8qnBQ=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 2.7.3
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 2.7.3
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -19,20 +19,24 @@
|
|
|
19
19
|
var ObjDefineProperty = ObjClass["defineProperty"];
|
|
20
20
|
var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
var _cachedGlobal = null;
|
|
23
|
+
function getGlobal(useCached) {
|
|
24
|
+
if (useCached === void 0) { useCached = true; }
|
|
25
|
+
if (!_cachedGlobal || !useCached) {
|
|
26
|
+
if (typeof globalThis !== strShimUndefined && globalThis) {
|
|
27
|
+
_cachedGlobal = globalThis;
|
|
28
|
+
}
|
|
29
|
+
if (typeof self !== strShimUndefined && self) {
|
|
30
|
+
_cachedGlobal = self;
|
|
31
|
+
}
|
|
32
|
+
if (typeof window !== strShimUndefined && window) {
|
|
33
|
+
_cachedGlobal = window;
|
|
34
|
+
}
|
|
35
|
+
if (typeof global !== strShimUndefined && global) {
|
|
36
|
+
_cachedGlobal = global;
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
|
-
return
|
|
39
|
+
return _cachedGlobal;
|
|
36
40
|
}
|
|
37
41
|
function throwTypeError(message) {
|
|
38
42
|
throw new TypeError(message);
|
|
@@ -408,6 +412,7 @@
|
|
|
408
412
|
InMemoryStorageBufferFull: 105
|
|
409
413
|
};
|
|
410
414
|
|
|
415
|
+
var strToISOString = "toISOString";
|
|
411
416
|
var _objDefineProperty = ObjDefineProperty;
|
|
412
417
|
function objToString(obj) {
|
|
413
418
|
return ObjProto.toString.call(obj);
|
|
@@ -475,22 +480,27 @@
|
|
|
475
480
|
return typeof value === "string";
|
|
476
481
|
}
|
|
477
482
|
function toISOString(date) {
|
|
478
|
-
if (
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
483
|
+
if (date) {
|
|
484
|
+
if (date[strToISOString]) {
|
|
485
|
+
return date[strToISOString]();
|
|
486
|
+
}
|
|
487
|
+
if (isDate(date)) {
|
|
488
|
+
var pad = function (num) {
|
|
489
|
+
var r = String(num);
|
|
490
|
+
if (r.length === 1) {
|
|
491
|
+
r = "0" + r;
|
|
492
|
+
}
|
|
493
|
+
return r;
|
|
494
|
+
};
|
|
495
|
+
return date.getUTCFullYear()
|
|
496
|
+
+ "-" + pad(date.getUTCMonth() + 1)
|
|
497
|
+
+ "-" + pad(date.getUTCDate())
|
|
498
|
+
+ "T" + pad(date.getUTCHours())
|
|
499
|
+
+ ":" + pad(date.getUTCMinutes())
|
|
500
|
+
+ ":" + pad(date.getUTCSeconds())
|
|
501
|
+
+ "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
|
|
502
|
+
+ "Z";
|
|
503
|
+
}
|
|
494
504
|
}
|
|
495
505
|
}
|
|
496
506
|
function arrForEach(arr, callbackfn, thisArg) {
|
|
@@ -2079,7 +2089,7 @@
|
|
|
2079
2089
|
return Device;
|
|
2080
2090
|
}());
|
|
2081
2091
|
|
|
2082
|
-
var Version = "2.7.3
|
|
2092
|
+
var Version = "2.7.3";
|
|
2083
2093
|
var Internal = /** @class */ (function () {
|
|
2084
2094
|
function Internal(config) {
|
|
2085
2095
|
this.sdkVersion = (config.sdkExtension && config.sdkExtension() ? config.sdkExtension() + "_" : "") + "javascript:" + Version;
|