@microsoft/applicationinsights-channel-js 2.7.5-nightly.2203-02 → 2.7.5-nightly.2204-23
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 +12 -7
- 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.api.json +60 -32
- package/dist/applicationinsights-channel-js.d.ts +1 -1
- package/dist/applicationinsights-channel-js.js +12 -7
- 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 +4 -4
- package/src/EnvelopeCreator.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
4
|
+
"toolVersion": "7.23.0",
|
|
5
|
+
"schemaVersion": 1005,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
8
8
|
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
@@ -156,7 +156,8 @@
|
|
|
156
156
|
"@betaDocumentation": true,
|
|
157
157
|
"@internalRemarks": true,
|
|
158
158
|
"@preapproved": true
|
|
159
|
-
}
|
|
159
|
+
},
|
|
160
|
+
"reportUnsupportedHtmlElements": false
|
|
160
161
|
}
|
|
161
162
|
},
|
|
162
163
|
"kind": "Package",
|
|
@@ -316,21 +317,24 @@
|
|
|
316
317
|
"parameterTypeTokenRange": {
|
|
317
318
|
"startIndex": 1,
|
|
318
319
|
"endIndex": 2
|
|
319
|
-
}
|
|
320
|
+
},
|
|
321
|
+
"isOptional": false
|
|
320
322
|
},
|
|
321
323
|
{
|
|
322
324
|
"parameterName": "message",
|
|
323
325
|
"parameterTypeTokenRange": {
|
|
324
326
|
"startIndex": 3,
|
|
325
327
|
"endIndex": 4
|
|
326
|
-
}
|
|
328
|
+
},
|
|
329
|
+
"isOptional": false
|
|
327
330
|
},
|
|
328
331
|
{
|
|
329
332
|
"parameterName": "event",
|
|
330
333
|
"parameterTypeTokenRange": {
|
|
331
334
|
"startIndex": 5,
|
|
332
335
|
"endIndex": 6
|
|
333
|
-
}
|
|
336
|
+
},
|
|
337
|
+
"isOptional": true
|
|
334
338
|
}
|
|
335
339
|
],
|
|
336
340
|
"name": "_onError"
|
|
@@ -384,14 +388,16 @@
|
|
|
384
388
|
"parameterTypeTokenRange": {
|
|
385
389
|
"startIndex": 1,
|
|
386
390
|
"endIndex": 2
|
|
387
|
-
}
|
|
391
|
+
},
|
|
392
|
+
"isOptional": false
|
|
388
393
|
},
|
|
389
394
|
{
|
|
390
395
|
"parameterName": "results",
|
|
391
396
|
"parameterTypeTokenRange": {
|
|
392
397
|
"startIndex": 3,
|
|
393
398
|
"endIndex": 4
|
|
394
|
-
}
|
|
399
|
+
},
|
|
400
|
+
"isOptional": false
|
|
395
401
|
}
|
|
396
402
|
],
|
|
397
403
|
"name": "_onPartialSuccess"
|
|
@@ -444,14 +450,16 @@
|
|
|
444
450
|
"parameterTypeTokenRange": {
|
|
445
451
|
"startIndex": 1,
|
|
446
452
|
"endIndex": 2
|
|
447
|
-
}
|
|
453
|
+
},
|
|
454
|
+
"isOptional": false
|
|
448
455
|
},
|
|
449
456
|
{
|
|
450
457
|
"parameterName": "countOfItemsInPayload",
|
|
451
458
|
"parameterTypeTokenRange": {
|
|
452
459
|
"startIndex": 3,
|
|
453
460
|
"endIndex": 4
|
|
454
|
-
}
|
|
461
|
+
},
|
|
462
|
+
"isOptional": false
|
|
455
463
|
}
|
|
456
464
|
],
|
|
457
465
|
"name": "_onSuccess"
|
|
@@ -589,14 +597,16 @@
|
|
|
589
597
|
"parameterTypeTokenRange": {
|
|
590
598
|
"startIndex": 1,
|
|
591
599
|
"endIndex": 2
|
|
592
|
-
}
|
|
600
|
+
},
|
|
601
|
+
"isOptional": false
|
|
593
602
|
},
|
|
594
603
|
{
|
|
595
604
|
"parameterName": "payload",
|
|
596
605
|
"parameterTypeTokenRange": {
|
|
597
606
|
"startIndex": 3,
|
|
598
607
|
"endIndex": 4
|
|
599
|
-
}
|
|
608
|
+
},
|
|
609
|
+
"isOptional": false
|
|
600
610
|
}
|
|
601
611
|
],
|
|
602
612
|
"name": "_xdrOnLoad"
|
|
@@ -658,21 +668,24 @@
|
|
|
658
668
|
"parameterTypeTokenRange": {
|
|
659
669
|
"startIndex": 1,
|
|
660
670
|
"endIndex": 2
|
|
661
|
-
}
|
|
671
|
+
},
|
|
672
|
+
"isOptional": false
|
|
662
673
|
},
|
|
663
674
|
{
|
|
664
675
|
"parameterName": "payload",
|
|
665
676
|
"parameterTypeTokenRange": {
|
|
666
677
|
"startIndex": 3,
|
|
667
678
|
"endIndex": 4
|
|
668
|
-
}
|
|
679
|
+
},
|
|
680
|
+
"isOptional": false
|
|
669
681
|
},
|
|
670
682
|
{
|
|
671
683
|
"parameterName": "countOfItemsInPayload",
|
|
672
684
|
"parameterTypeTokenRange": {
|
|
673
685
|
"startIndex": 5,
|
|
674
686
|
"endIndex": 6
|
|
675
|
-
}
|
|
687
|
+
},
|
|
688
|
+
"isOptional": false
|
|
676
689
|
}
|
|
677
690
|
],
|
|
678
691
|
"name": "_xhrReadyStateChange"
|
|
@@ -739,14 +752,16 @@
|
|
|
739
752
|
"parameterTypeTokenRange": {
|
|
740
753
|
"startIndex": 1,
|
|
741
754
|
"endIndex": 2
|
|
742
|
-
}
|
|
755
|
+
},
|
|
756
|
+
"isOptional": false
|
|
743
757
|
},
|
|
744
758
|
{
|
|
745
759
|
"parameterName": "value",
|
|
746
760
|
"parameterTypeTokenRange": {
|
|
747
761
|
"startIndex": 3,
|
|
748
762
|
"endIndex": 4
|
|
749
|
-
}
|
|
763
|
+
},
|
|
764
|
+
"isOptional": false
|
|
750
765
|
}
|
|
751
766
|
],
|
|
752
767
|
"name": "addHeader"
|
|
@@ -818,28 +833,32 @@
|
|
|
818
833
|
"parameterTypeTokenRange": {
|
|
819
834
|
"startIndex": 1,
|
|
820
835
|
"endIndex": 2
|
|
821
|
-
}
|
|
836
|
+
},
|
|
837
|
+
"isOptional": false
|
|
822
838
|
},
|
|
823
839
|
{
|
|
824
840
|
"parameterName": "iKey",
|
|
825
841
|
"parameterTypeTokenRange": {
|
|
826
842
|
"startIndex": 3,
|
|
827
843
|
"endIndex": 4
|
|
828
|
-
}
|
|
844
|
+
},
|
|
845
|
+
"isOptional": false
|
|
829
846
|
},
|
|
830
847
|
{
|
|
831
848
|
"parameterName": "logger",
|
|
832
849
|
"parameterTypeTokenRange": {
|
|
833
850
|
"startIndex": 5,
|
|
834
851
|
"endIndex": 6
|
|
835
|
-
}
|
|
852
|
+
},
|
|
853
|
+
"isOptional": false
|
|
836
854
|
},
|
|
837
855
|
{
|
|
838
856
|
"parameterName": "convertUndefined",
|
|
839
857
|
"parameterTypeTokenRange": {
|
|
840
858
|
"startIndex": 7,
|
|
841
859
|
"endIndex": 8
|
|
842
|
-
}
|
|
860
|
+
},
|
|
861
|
+
"isOptional": true
|
|
843
862
|
}
|
|
844
863
|
],
|
|
845
864
|
"name": "constructEnvelope"
|
|
@@ -981,28 +1000,32 @@
|
|
|
981
1000
|
"parameterTypeTokenRange": {
|
|
982
1001
|
"startIndex": 1,
|
|
983
1002
|
"endIndex": 4
|
|
984
|
-
}
|
|
1003
|
+
},
|
|
1004
|
+
"isOptional": false
|
|
985
1005
|
},
|
|
986
1006
|
{
|
|
987
1007
|
"parameterName": "core",
|
|
988
1008
|
"parameterTypeTokenRange": {
|
|
989
1009
|
"startIndex": 5,
|
|
990
1010
|
"endIndex": 6
|
|
991
|
-
}
|
|
1011
|
+
},
|
|
1012
|
+
"isOptional": false
|
|
992
1013
|
},
|
|
993
1014
|
{
|
|
994
1015
|
"parameterName": "extensions",
|
|
995
1016
|
"parameterTypeTokenRange": {
|
|
996
1017
|
"startIndex": 7,
|
|
997
1018
|
"endIndex": 9
|
|
998
|
-
}
|
|
1019
|
+
},
|
|
1020
|
+
"isOptional": false
|
|
999
1021
|
},
|
|
1000
1022
|
{
|
|
1001
1023
|
"parameterName": "pluginChain",
|
|
1002
1024
|
"parameterTypeTokenRange": {
|
|
1003
1025
|
"startIndex": 10,
|
|
1004
1026
|
"endIndex": 11
|
|
1005
|
-
}
|
|
1027
|
+
},
|
|
1028
|
+
"isOptional": true
|
|
1006
1029
|
}
|
|
1007
1030
|
],
|
|
1008
1031
|
"name": "initialize"
|
|
@@ -1142,14 +1165,16 @@
|
|
|
1142
1165
|
"parameterTypeTokenRange": {
|
|
1143
1166
|
"startIndex": 1,
|
|
1144
1167
|
"endIndex": 2
|
|
1145
|
-
}
|
|
1168
|
+
},
|
|
1169
|
+
"isOptional": false
|
|
1146
1170
|
},
|
|
1147
1171
|
{
|
|
1148
1172
|
"parameterName": "itemCtx",
|
|
1149
1173
|
"parameterTypeTokenRange": {
|
|
1150
1174
|
"startIndex": 3,
|
|
1151
1175
|
"endIndex": 4
|
|
1152
|
-
}
|
|
1176
|
+
},
|
|
1177
|
+
"isOptional": true
|
|
1153
1178
|
}
|
|
1154
1179
|
],
|
|
1155
1180
|
"name": "processTelemetry"
|
|
@@ -1270,21 +1295,24 @@
|
|
|
1270
1295
|
"parameterTypeTokenRange": {
|
|
1271
1296
|
"startIndex": 1,
|
|
1272
1297
|
"endIndex": 2
|
|
1273
|
-
}
|
|
1298
|
+
},
|
|
1299
|
+
"isOptional": true
|
|
1274
1300
|
},
|
|
1275
1301
|
{
|
|
1276
1302
|
"parameterName": "forcedSender",
|
|
1277
1303
|
"parameterTypeTokenRange": {
|
|
1278
1304
|
"startIndex": 3,
|
|
1279
1305
|
"endIndex": 4
|
|
1280
|
-
}
|
|
1306
|
+
},
|
|
1307
|
+
"isOptional": true
|
|
1281
1308
|
},
|
|
1282
1309
|
{
|
|
1283
1310
|
"parameterName": "sendReason",
|
|
1284
1311
|
"parameterTypeTokenRange": {
|
|
1285
1312
|
"startIndex": 5,
|
|
1286
1313
|
"endIndex": 6
|
|
1287
|
-
}
|
|
1314
|
+
},
|
|
1315
|
+
"isOptional": true
|
|
1288
1316
|
}
|
|
1289
1317
|
],
|
|
1290
1318
|
"name": "triggerSend"
|
|
@@ -1292,12 +1320,12 @@
|
|
|
1292
1320
|
],
|
|
1293
1321
|
"extendsTokenRange": {
|
|
1294
1322
|
"startIndex": 1,
|
|
1295
|
-
"endIndex":
|
|
1323
|
+
"endIndex": 2
|
|
1296
1324
|
},
|
|
1297
1325
|
"implementsTokenRanges": [
|
|
1298
1326
|
{
|
|
1299
1327
|
"startIndex": 4,
|
|
1300
|
-
"endIndex":
|
|
1328
|
+
"endIndex": 5
|
|
1301
1329
|
}
|
|
1302
1330
|
]
|
|
1303
1331
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Channel, 2.7.5-nightly.
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Channel, 2.7.5-nightly.2204-23
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Channel, 2.7.5-nightly.
|
|
2
|
+
* Application Insights JavaScript SDK - Channel, 2.7.5-nightly.2204-23
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/*!
|
|
98
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
98
|
+
* Microsoft Dynamic Proto Utility, 1.1.5
|
|
99
99
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
100
100
|
*/
|
|
101
101
|
var Constructor = 'constructor';
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
var DynInstChkTag = '_dynInstChk';
|
|
109
109
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
110
110
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
111
|
+
var DynProtoPolyProto = "_dynProto";
|
|
111
112
|
var UnknownValue = '_unknown_';
|
|
112
113
|
var str__Proto = "__proto__";
|
|
113
114
|
var strUseBaseInst = 'useBaseInst';
|
|
@@ -129,8 +130,11 @@
|
|
|
129
130
|
if (_objGetPrototypeOf) {
|
|
130
131
|
return _objGetPrototypeOf(target);
|
|
131
132
|
}
|
|
132
|
-
var newProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
133
|
+
var newProto = target[DynProtoPolyProto] || target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
133
134
|
if (newProto) {
|
|
135
|
+
if (!target[DynProtoPolyProto]) {
|
|
136
|
+
target[DynProtoPolyProto] = newProto;
|
|
137
|
+
}
|
|
134
138
|
return newProto;
|
|
135
139
|
}
|
|
136
140
|
}
|
|
@@ -289,8 +293,9 @@
|
|
|
289
293
|
visited.push(thisProto);
|
|
290
294
|
thisProto = _getObjProto(thisProto);
|
|
291
295
|
}
|
|
296
|
+
return false;
|
|
292
297
|
}
|
|
293
|
-
return
|
|
298
|
+
return true;
|
|
294
299
|
}
|
|
295
300
|
function _getObjName(target, unknownValue) {
|
|
296
301
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -924,7 +929,7 @@
|
|
|
924
929
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
925
930
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
926
931
|
if (_self.enableDebugExceptions()) {
|
|
927
|
-
throw message;
|
|
932
|
+
throw dumpObj(message);
|
|
928
933
|
}
|
|
929
934
|
else {
|
|
930
935
|
var logFunc = severity === LoggingSeverity.CRITICAL ? strErrorToConsole : strWarnToConsole;
|
|
@@ -1649,7 +1654,7 @@
|
|
|
1649
1654
|
"https://dc-int.services.visualstudio.com/v2/track"
|
|
1650
1655
|
];
|
|
1651
1656
|
function isInternalApplicationInsightsEndpoint(endpointUrl) {
|
|
1652
|
-
return _internalEndpoints
|
|
1657
|
+
return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
|
|
1653
1658
|
}
|
|
1654
1659
|
function AjaxHelperParseDependencyPath(logger, absoluteUrl, method, commandName) {
|
|
1655
1660
|
var target, name = commandName, data = commandName;
|
|
@@ -2861,7 +2866,7 @@
|
|
|
2861
2866
|
}
|
|
2862
2867
|
}
|
|
2863
2868
|
var EnvelopeCreator = {
|
|
2864
|
-
Version: "2.7.5-nightly.
|
|
2869
|
+
Version: "2.7.5-nightly.2204-23"
|
|
2865
2870
|
};
|
|
2866
2871
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
2867
2872
|
EnvelopeCreatorInit(logger, telemetryItem);
|