@microsoft/applicationinsights-teechannel-js 3.1.3-nightly3.240329-01 → 3.1.3-nightly3.2404-12
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/{applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.cjs.js → applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.cjs.js} +41 -38
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.gbl.js → applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.gbl.js} +43 -40
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.integrity.json +66 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.js → applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.js} +43 -40
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +40 -37
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +42 -39
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-teechannel-js.3.js +42 -39
- package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.js +40 -37
- package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
- package/dist-es5/ChannelController.js +1 -1
- package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
- package/dist-es5/TeeChannel.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-teechannel-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-teechannel-js.d.ts +1 -1
- package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -28
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.integrity.json +0 -66
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.1.3-nightly3.240329-01.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.1.3-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.1.3-nightly3.2404-12
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
6
6
|
var undef = "undefined";
|
|
7
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
8
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.1.3-nightly3.
|
|
7
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_1_3_nightly3_2404_12", msMod="__ms$mod__";
|
|
8
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.1.3-nightly3.2404-12";
|
|
9
9
|
var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
|
|
10
10
|
// Versioned namespace "Microsoft.ApplicationInsights3"
|
|
11
11
|
var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
@@ -1072,21 +1072,25 @@ function throwAggregationError(message, sourceErrors) {
|
|
|
1072
1072
|
throw new aggregationErrorType(theMessage, sourceErrors || []);
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
var
|
|
1076
|
-
|
|
1075
|
+
var STR_PROMISE = "Promise";
|
|
1076
|
+
var REJECTED = "rejected";
|
|
1077
|
+
|
|
1078
|
+
var STRING_STATES = [
|
|
1079
|
+
"pending", "resolving", "resolved", REJECTED
|
|
1077
1080
|
];
|
|
1078
1081
|
|
|
1079
1082
|
var DISPATCH_EVENT = "dispatchEvent";
|
|
1080
1083
|
var _hasInitEvent;
|
|
1084
|
+
function _hasInitEventFn(doc) {
|
|
1085
|
+
var evt;
|
|
1086
|
+
if (doc && doc.createEvent) {
|
|
1087
|
+
evt = doc.createEvent("Event");
|
|
1088
|
+
}
|
|
1089
|
+
return (!!evt && evt.initEvent);
|
|
1090
|
+
}
|
|
1081
1091
|
function emitEvent(target, evtName, populateEvent, useNewEvent) {
|
|
1082
1092
|
var doc = getDocument();
|
|
1083
|
-
!_hasInitEvent && (_hasInitEvent =
|
|
1084
|
-
var evt;
|
|
1085
|
-
if (doc && doc.createEvent) {
|
|
1086
|
-
evt = doc.createEvent("Event");
|
|
1087
|
-
}
|
|
1088
|
-
return (!!evt && evt.initEvent);
|
|
1089
|
-
}, null));
|
|
1093
|
+
!_hasInitEvent && (_hasInitEvent = createCachedValue(!!safe(_hasInitEventFn, [doc]).v));
|
|
1090
1094
|
var theEvt = _hasInitEvent.v ? doc.createEvent("Event") : (useNewEvent ? new Event(evtName) : {});
|
|
1091
1095
|
populateEvent && populateEvent(theEvt);
|
|
1092
1096
|
if (_hasInitEvent.v) {
|
|
@@ -1107,8 +1111,6 @@ function emitEvent(target, evtName, populateEvent, useNewEvent) {
|
|
|
1107
1111
|
}
|
|
1108
1112
|
}
|
|
1109
1113
|
|
|
1110
|
-
var STR_PROMISE = "Promise";
|
|
1111
|
-
|
|
1112
1114
|
var NODE_UNHANDLED_REJECTION = "unhandledRejection";
|
|
1113
1115
|
var UNHANDLED_REJECTION = NODE_UNHANDLED_REJECTION.toLowerCase();
|
|
1114
1116
|
var _unhandledRejectionTimeout = 10;
|
|
@@ -1129,7 +1131,7 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1129
1131
|
var _unHandledRejectionHandler = null;
|
|
1130
1132
|
var _thePromise;
|
|
1131
1133
|
!_hasPromiseRejectionEvent && (_hasPromiseRejectionEvent = lazySafeGetInst(STR_PROMISE + "RejectionEvent"));
|
|
1132
|
-
|
|
1134
|
+
function _then(onResolved, onRejected) {
|
|
1133
1135
|
try {
|
|
1134
1136
|
_handled = true;
|
|
1135
1137
|
_unHandledRejectionHandler && _unHandledRejectionHandler.cancel();
|
|
@@ -1164,11 +1166,11 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1164
1166
|
}
|
|
1165
1167
|
finally {
|
|
1166
1168
|
}
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
+
}
|
|
1170
|
+
function _catch(onRejected) {
|
|
1169
1171
|
return _then(undefined, onRejected);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
+
}
|
|
1173
|
+
function _finally(onFinally) {
|
|
1172
1174
|
var thenFinally = onFinally;
|
|
1173
1175
|
var catchFinally = onFinally;
|
|
1174
1176
|
if (isFunction(onFinally)) {
|
|
@@ -1182,21 +1184,21 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1182
1184
|
};
|
|
1183
1185
|
}
|
|
1184
1186
|
return _then(thenFinally, catchFinally);
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
+
}
|
|
1188
|
+
function _strState() {
|
|
1187
1189
|
return STRING_STATES[_state];
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
+
}
|
|
1191
|
+
function _processQueue() {
|
|
1190
1192
|
if (_queue.length > 0) {
|
|
1191
1193
|
var pending = _queue.slice();
|
|
1192
1194
|
_queue = [];
|
|
1193
1195
|
_handled = true;
|
|
1194
|
-
processor(pending);
|
|
1195
1196
|
_unHandledRejectionHandler && _unHandledRejectionHandler.cancel();
|
|
1196
1197
|
_unHandledRejectionHandler = null;
|
|
1198
|
+
processor(pending);
|
|
1197
1199
|
}
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
+
}
|
|
1201
|
+
function _createSettleIfFn(newState, allowState) {
|
|
1200
1202
|
return function (theValue) {
|
|
1201
1203
|
if (_state === allowState) {
|
|
1202
1204
|
if (newState === 2 && isPromiseLike(theValue)) {
|
|
@@ -1213,9 +1215,10 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1213
1215
|
}
|
|
1214
1216
|
}
|
|
1215
1217
|
};
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
+
}
|
|
1219
|
+
function _notifyUnhandledRejection() {
|
|
1218
1220
|
if (!_handled) {
|
|
1221
|
+
_handled = true;
|
|
1219
1222
|
if (isNode()) {
|
|
1220
1223
|
process.emit(NODE_UNHANDLED_REJECTION, _settledValue, _thePromise);
|
|
1221
1224
|
}
|
|
@@ -1228,7 +1231,7 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1228
1231
|
}, !!_hasPromiseRejectionEvent.v);
|
|
1229
1232
|
}
|
|
1230
1233
|
}
|
|
1231
|
-
}
|
|
1234
|
+
}
|
|
1232
1235
|
_thePromise = {
|
|
1233
1236
|
then: _then,
|
|
1234
1237
|
"catch": _catch,
|
|
@@ -1240,9 +1243,9 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1240
1243
|
if (hasSymbol()) {
|
|
1241
1244
|
_thePromise[getKnownSymbol(11 )] = "IPromise";
|
|
1242
1245
|
}
|
|
1243
|
-
|
|
1244
|
-
return "IPromise" + ("") + " " + _strState() + (_hasResolved ? (" - " + dumpFnObj(_settledValue)) : "");
|
|
1245
|
-
}
|
|
1246
|
+
function _toString() {
|
|
1247
|
+
return "IPromise" + ("") + " " + _strState() + (_hasResolved ? (" - " + dumpFnObj(_settledValue)) : "") + ("");
|
|
1248
|
+
}
|
|
1246
1249
|
_thePromise.toString = _toString;
|
|
1247
1250
|
(function _initialize() {
|
|
1248
1251
|
if (!isFunction(executor)) {
|
|
@@ -1259,7 +1262,7 @@ function _createPromise(newPromise, processor, executor) {
|
|
|
1259
1262
|
return _thePromise;
|
|
1260
1263
|
}
|
|
1261
1264
|
|
|
1262
|
-
|
|
1265
|
+
function syncItemProcessor(pending) {
|
|
1263
1266
|
arrForEach(pending, function (fn) {
|
|
1264
1267
|
try {
|
|
1265
1268
|
fn();
|
|
@@ -1267,12 +1270,12 @@ var _processPendingItems = function (pending) {
|
|
|
1267
1270
|
catch (e) {
|
|
1268
1271
|
}
|
|
1269
1272
|
});
|
|
1270
|
-
}
|
|
1273
|
+
}
|
|
1271
1274
|
function timeoutItemProcessor(timeout) {
|
|
1272
1275
|
var callbackTimeout = isNumber(timeout) ? timeout : 0;
|
|
1273
1276
|
return function (pending) {
|
|
1274
1277
|
scheduleTimeout(function () {
|
|
1275
|
-
|
|
1278
|
+
syncItemProcessor(pending);
|
|
1276
1279
|
}, callbackTimeout);
|
|
1277
1280
|
};
|
|
1278
1281
|
}
|
|
@@ -1281,10 +1284,10 @@ function createAsyncPromise(executor, timeout) {
|
|
|
1281
1284
|
return _createPromise(createAsyncPromise, timeoutItemProcessor(timeout), executor, timeout);
|
|
1282
1285
|
}
|
|
1283
1286
|
|
|
1284
|
-
var
|
|
1287
|
+
var _promiseCls;
|
|
1285
1288
|
function createNativePromise(executor, timeout) {
|
|
1286
|
-
!
|
|
1287
|
-
var PrmCls =
|
|
1289
|
+
!_promiseCls && (_promiseCls = createCachedValue((safe(getInst, [STR_PROMISE]).v) || null));
|
|
1290
|
+
var PrmCls = _promiseCls.v;
|
|
1288
1291
|
if (!PrmCls) {
|
|
1289
1292
|
return createAsyncPromise(executor);
|
|
1290
1293
|
}
|
|
@@ -1314,7 +1317,7 @@ function createNativePromise(executor, timeout) {
|
|
|
1314
1317
|
|
|
1315
1318
|
var _promiseCreator;
|
|
1316
1319
|
function createPromise(executor, timeout) {
|
|
1317
|
-
!_promiseCreator && (_promiseCreator =
|
|
1320
|
+
!_promiseCreator && (_promiseCreator = createCachedValue(createNativePromise));
|
|
1318
1321
|
return _promiseCreator.v.call(this, executor, timeout);
|
|
1319
1322
|
}
|
|
1320
1323
|
|
|
@@ -3363,4 +3366,4 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
3363
3366
|
exports.TeeChannel = TeeChannel;
|
|
3364
3367
|
|
|
3365
3368
|
}));
|
|
3366
|
-
//# sourceMappingURL=applicationinsights-teechannel-js.3.1.3-nightly3.
|
|
3369
|
+
//# sourceMappingURL=applicationinsights-teechannel-js.3.1.3-nightly3.2404-12.gbl.js.map
|