@microsoft/applicationinsights-channel-js 2.7.3-nightly.2201-02 → 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-channel-js.integrity.json +9 -9
- package/browser/applicationinsights-channel-js.js +41 -31
- package/browser/applicationinsights-channel-js.js.map +1 -1
- package/browser/applicationinsights-channel-js.min.js +2 -2
- package/browser/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.d.ts +1 -1
- package/dist/applicationinsights-channel-js.js +41 -31
- package/dist/applicationinsights-channel-js.js.map +1 -1
- package/dist/applicationinsights-channel-js.min.js +2 -2
- package/dist/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.rollup.d.ts +1 -1
- package/dist-esm/EnvelopeCreator.js +2 -2
- package/dist-esm/EnvelopeCreator.js.map +1 -1
- package/dist-esm/Interfaces.js +1 -1
- package/dist-esm/Offline.js +1 -1
- package/dist-esm/SendBuffer.js +1 -1
- package/dist-esm/Sender.js +1 -1
- package/dist-esm/Serializer.js +1 -1
- package/dist-esm/TelemetryProcessors/Sample.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-esm/applicationinsights-channel-js.js +1 -1
- package/package.json +54 -57
- package/src/EnvelopeCreator.ts +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-channel-js",
|
|
3
|
-
"version": "2.7.3
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-channel-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-n1ox3aicNbVBkODqqmS2ALp9HIzoqJaq6dbPRRnBuR0= sha384-4zYZeBSw9Vtf7poNajpR55fFF7HHcuip7erfm3voUw5MxQcMmEAt1jM1CbWw2xov sha512-zmn/moMxJJQMWhrEDGSKVGEpCJgVhWYjZgg2ok4zC1SKMT4HRwcOQGY1BkJW+8qwsEPtLdYN5xOxeytTNgnxiA==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "n1ox3aicNbVBkODqqmS2ALp9HIzoqJaq6dbPRRnBuR0=",
|
|
11
|
+
"sha384": "4zYZeBSw9Vtf7poNajpR55fFF7HHcuip7erfm3voUw5MxQcMmEAt1jM1CbWw2xov",
|
|
12
|
+
"sha512": "zmn/moMxJJQMWhrEDGSKVGEpCJgVhWYjZgg2ok4zC1SKMT4HRwcOQGY1BkJW+8qwsEPtLdYN5xOxeytTNgnxiA=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-channel-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-Sg+tnbaUg7pyVoi1t4cY9U9CV8UoDZgOjrFe+TgVFTo= sha384-QClEyxN5XlkqPn+Z8Y5hnFgy4mi9aK3U11+vbf+wnEVHqeCEd0/GsOiUd2ITZybG sha512-5tZx+iWDDG9krABBZJcOkmuivqH3LMtmPcHJ6N7VSzWJPJgLjVMvo411qKg5KM5jyKagV9Khu10uS2yP+cmmYg==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "Sg+tnbaUg7pyVoi1t4cY9U9CV8UoDZgOjrFe+TgVFTo=",
|
|
21
|
+
"sha384": "QClEyxN5XlkqPn+Z8Y5hnFgy4mi9aK3U11+vbf+wnEVHqeCEd0/GsOiUd2ITZybG",
|
|
22
|
+
"sha512": "5tZx+iWDDG9krABBZJcOkmuivqH3LMtmPcHJ6N7VSzWJPJgLjVMvo411qKg5KM5jyKagV9Khu10uS2yP+cmmYg=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Channel, 2.7.3
|
|
2
|
+
* Application Insights JavaScript SDK - Channel, 2.7.3
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -20,20 +20,24 @@
|
|
|
20
20
|
var ObjDefineProperty = ObjClass["defineProperty"];
|
|
21
21
|
var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
var _cachedGlobal = null;
|
|
24
|
+
function getGlobal(useCached) {
|
|
25
|
+
if (useCached === void 0) { useCached = true; }
|
|
26
|
+
if (!_cachedGlobal || !useCached) {
|
|
27
|
+
if (typeof globalThis !== strShimUndefined && globalThis) {
|
|
28
|
+
_cachedGlobal = globalThis;
|
|
29
|
+
}
|
|
30
|
+
if (typeof self !== strShimUndefined && self) {
|
|
31
|
+
_cachedGlobal = self;
|
|
32
|
+
}
|
|
33
|
+
if (typeof window !== strShimUndefined && window) {
|
|
34
|
+
_cachedGlobal = window;
|
|
35
|
+
}
|
|
36
|
+
if (typeof global !== strShimUndefined && global) {
|
|
37
|
+
_cachedGlobal = global;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
|
-
return
|
|
40
|
+
return _cachedGlobal;
|
|
37
41
|
}
|
|
38
42
|
function throwTypeError(message) {
|
|
39
43
|
throw new TypeError(message);
|
|
@@ -424,6 +428,7 @@
|
|
|
424
428
|
var strOnPrefix = "on";
|
|
425
429
|
var strAttachEvent = "attachEvent";
|
|
426
430
|
var strAddEventHelper = "addEventListener";
|
|
431
|
+
var strToISOString = "toISOString";
|
|
427
432
|
var _objDefineProperty = ObjDefineProperty;
|
|
428
433
|
function objToString(obj) {
|
|
429
434
|
return ObjProto.toString.call(obj);
|
|
@@ -490,22 +495,27 @@
|
|
|
490
495
|
return typeof value === "number";
|
|
491
496
|
}
|
|
492
497
|
function toISOString(date) {
|
|
493
|
-
if (
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
498
|
+
if (date) {
|
|
499
|
+
if (date[strToISOString]) {
|
|
500
|
+
return date[strToISOString]();
|
|
501
|
+
}
|
|
502
|
+
if (isDate(date)) {
|
|
503
|
+
var pad = function (num) {
|
|
504
|
+
var r = String(num);
|
|
505
|
+
if (r.length === 1) {
|
|
506
|
+
r = "0" + r;
|
|
507
|
+
}
|
|
508
|
+
return r;
|
|
509
|
+
};
|
|
510
|
+
return date.getUTCFullYear()
|
|
511
|
+
+ "-" + pad(date.getUTCMonth() + 1)
|
|
512
|
+
+ "-" + pad(date.getUTCDate())
|
|
513
|
+
+ "T" + pad(date.getUTCHours())
|
|
514
|
+
+ ":" + pad(date.getUTCMinutes())
|
|
515
|
+
+ ":" + pad(date.getUTCSeconds())
|
|
516
|
+
+ "." + String((date.getUTCMilliseconds() / 1000).toFixed(3)).slice(2, 5)
|
|
517
|
+
+ "Z";
|
|
518
|
+
}
|
|
509
519
|
}
|
|
510
520
|
}
|
|
511
521
|
function arrForEach(arr, callbackfn, thisArg) {
|
|
@@ -2832,7 +2842,7 @@
|
|
|
2832
2842
|
}
|
|
2833
2843
|
}
|
|
2834
2844
|
var EnvelopeCreator = {
|
|
2835
|
-
Version: "2.7.3
|
|
2845
|
+
Version: "2.7.3"
|
|
2836
2846
|
};
|
|
2837
2847
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
2838
2848
|
EnvelopeCreatorInit(logger, telemetryItem);
|