@microsoft/applicationinsights-teechannel-js 3.1.0-nightly3.2401-04 → 3.1.0-nightly3.2401-05

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.
Files changed (48) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.cjs.js → applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.cjs.js} +63 -52
  2. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.gbl.js → applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.gbl.js} +65 -54
  6. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.js → applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.js} +65 -54
  11. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +62 -51
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +64 -53
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-teechannel-js.3.js +64 -53
  24. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-teechannel-js.js +62 -51
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  31. package/dist-es5/ChannelController.js +1 -1
  32. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  33. package/dist-es5/TeeChannel.js +1 -1
  34. package/dist-es5/__DynamicConstants.js +1 -1
  35. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  36. package/package.json +3 -3
  37. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  38. package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.1.0-nightly3.2401-04
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.1.0-nightly3.2401-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  'use strict';
@@ -26,11 +26,13 @@ var CONSTRUCTOR = "constructor";
26
26
  var SYMBOL = "Symbol";
27
27
  var POLYFILL_TAG = "_polyfill";
28
28
  var INDEX_OF = "indexOf";
29
+ var LAST_INDEX_OF = "lastIndexOf";
29
30
  var LENGTH = "length";
30
31
  var DONE = "done";
31
32
  var VALUE = "value";
32
33
  var NAME = "name";
33
34
  var SLICE = "slice";
35
+ var CALL = "call";
34
36
  var ObjClass = Object;
35
37
  var ObjProto = ObjClass[PROTOTYPE];
36
38
  var StrCls = String;
@@ -60,7 +62,7 @@ function _createObjIs(theName) {
60
62
  };
61
63
  }
62
64
  function objToString(value) {
63
- return ObjProto.toString.call(value);
65
+ return ObjProto.toString[CALL](value);
64
66
  }
65
67
  function isUndefined(value) {
66
68
  return typeof value === UNDEFINED || value === UNDEFINED;
@@ -74,8 +76,8 @@ function isStrictNullOrUndefined(value) {
74
76
  function isDefined(arg) {
75
77
  return !!arg || arg !== UNDEF_VALUE;
76
78
  }
77
- var isString = _createIs(STRING);
78
- var isFunction = _createIs(FUNCTION);
79
+ var isString = ( _createIs(STRING));
80
+ var isFunction = ( _createIs(FUNCTION));
79
81
  function isObject(value) {
80
82
  if (!value && isNullOrUndefined(value)) {
81
83
  return false;
@@ -83,17 +85,17 @@ function isObject(value) {
83
85
  return !!value && typeof value === OBJECT;
84
86
  }
85
87
  var isArray = ArrCls.isArray;
86
- var isNumber = _createIs(NUMBER);
87
- var isBoolean = _createIs(BOOLEAN);
88
- var isError = _createObjIs("Error");
88
+ var isNumber = ( _createIs(NUMBER));
89
+ var isBoolean = ( _createIs(BOOLEAN));
90
+ var isError = ( _createObjIs("Error"));
89
91
  function isPromiseLike(value) {
90
- return !!value && isFunction(value.then);
92
+ return !!(value && value.then && isFunction(value.then));
91
93
  }
92
94
 
93
95
  var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
94
96
 
95
97
  function objHasOwnProperty(obj, prop) {
96
- return obj && ObjProto.hasOwnProperty.call(obj, prop);
98
+ return obj && ObjProto.hasOwnProperty[CALL](obj, prop);
97
99
  }
98
100
 
99
101
  var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
@@ -105,7 +107,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
105
107
  if (theObject && isObject(theObject)) {
106
108
  for (var prop in theObject) {
107
109
  if (objHasOwn(theObject, prop)) {
108
- if (callbackfn.call(thisArg || theObject, prop, theObject[prop]) === -1) {
110
+ if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
109
111
  break;
110
112
  }
111
113
  }
@@ -130,8 +132,12 @@ function throwTypeError(message) {
130
132
  }
131
133
 
132
134
  var _objFreeze = ObjClass["freeze"];
133
- var _doNothing = function (value) { return value; };
134
- var _getProto = function (value) { return value[__PROTO__] || NULL_VALUE; };
135
+ function _doNothing(value) {
136
+ return value;
137
+ }
138
+ function _getProto(value) {
139
+ return value[__PROTO__] || NULL_VALUE;
140
+ }
135
141
  function objKeys(value) {
136
142
  if (!isObject(value) || value === NULL_VALUE) {
137
143
  throwTypeError("objKeys called on non-object");
@@ -155,7 +161,7 @@ function createEnumKeyMap(values) {
155
161
  return _createKeyValueMap(values, 0 , 0 , objDeepFreeze);
156
162
  }
157
163
 
158
- var _wellKnownSymbolMap = createEnumKeyMap({
164
+ var _wellKnownSymbolMap = createEnumKeyMap({
159
165
  asyncIterator: 0 ,
160
166
  hasInstance: 1 ,
161
167
  isConcatSpreadable: 2 ,
@@ -215,25 +221,27 @@ function dumpObj(object, format) {
215
221
  return objToString(object) + ": " + propertyValueDump;
216
222
  }
217
223
 
218
- var _arrSlice = ArrProto[SLICE];
219
- var _throwMissingFunction = function (funcName, thisArg) {
224
+ var _slice;
225
+ function _throwMissingFunction(funcName, thisArg) {
220
226
  throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
221
- };
222
- var _unwrapInstFunction = function (funcName) {
227
+ }
228
+ function _unwrapInstFunction(funcName) {
229
+ _slice = _slice || ArrProto[SLICE];
223
230
  return function (thisArg) {
224
- return thisArg[funcName].apply(thisArg, _arrSlice.call(arguments, 1));
231
+ return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
225
232
  };
226
- };
227
- var _unwrapFunction = function (funcName, clsProto) {
233
+ }
234
+ function _unwrapFunction(funcName, clsProto) {
235
+ _slice = _slice || ArrProto[SLICE];
228
236
  var clsFn = clsProto && clsProto[funcName];
229
237
  return function (thisArg) {
230
238
  var theFunc = (thisArg && thisArg[funcName]) || clsFn;
231
239
  if (theFunc) {
232
- return theFunc.apply(thisArg, _arrSlice.call(arguments, 1));
240
+ return theFunc.apply(thisArg, _slice[CALL](arguments, 1));
233
241
  }
234
242
  _throwMissingFunction(funcName, thisArg);
235
243
  };
236
- };
244
+ }
237
245
 
238
246
  var UNIQUE_REGISTRY_ID = "_urid";
239
247
  var _polySymbols;
@@ -344,12 +352,14 @@ var _cachedWindow;
344
352
  var _cachedDocument;
345
353
  var _cachedNavigator;
346
354
  var _isNode;
347
- var lazySafeGetInst = function (name) { return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE); };
348
- var getGlobal = function (useCached) {
355
+ function lazySafeGetInst(name) {
356
+ return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
357
+ }
358
+ function getGlobal(useCached) {
349
359
  (!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
350
360
  return _cachedGlobal.v;
351
- };
352
- var getInst = function (name, useCached) {
361
+ }
362
+ function getInst(name, useCached) {
353
363
  var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
354
364
  if (gbl && gbl[name]) {
355
365
  return gbl[name];
@@ -358,24 +368,26 @@ var getInst = function (name, useCached) {
358
368
  return _cachedWindow.v;
359
369
  }
360
370
  return NULL_VALUE;
361
- };
362
- var getDocument = function () {
371
+ }
372
+ function getDocument() {
363
373
  (!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
364
374
  return _cachedDocument.v;
365
- };
366
- var hasWindow = function () { return !!getWindow(); };
367
- var getWindow = function () {
375
+ }
376
+ function hasWindow() {
377
+ return !!getWindow();
378
+ }
379
+ function getWindow() {
368
380
  (!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
369
381
  return _cachedWindow.v;
370
- };
371
- var getNavigator = function () {
382
+ }
383
+ function getNavigator() {
372
384
  (!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
373
385
  return _cachedNavigator.v;
374
- };
375
- var isNode = function () {
386
+ }
387
+ function isNode() {
376
388
  !_isNode && (_isNode = safeGetLazy(function () { return !!(process && (process.versions || {}).node); }, false));
377
389
  return _isNode.v;
378
- };
390
+ }
379
391
 
380
392
  var _symbol;
381
393
  var _symbolFor;
@@ -429,7 +441,7 @@ function iterForOf(iter, callbackfn, thisArg) {
429
441
  try {
430
442
  var count = 0;
431
443
  while (!(iterResult = iter.next())[DONE]) {
432
- if (callbackfn.call(thisArg || iter, iterResult[VALUE], count, iter) === -1) {
444
+ if (callbackfn[CALL](thisArg || iter, iterResult[VALUE], count, iter) === -1) {
433
445
  break;
434
446
  }
435
447
  count++;
@@ -458,7 +470,7 @@ function iterForOf(iter, callbackfn, thisArg) {
458
470
  }
459
471
  }
460
472
 
461
- var fnApply = _unwrapInstFunction("apply");
473
+ var fnApply = ( _unwrapInstFunction("apply"));
462
474
 
463
475
  function arrAppend(target, elms) {
464
476
  if (!isUndefined(elms) && target) {
@@ -482,7 +494,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
482
494
  var len = theArray[LENGTH] >>> 0;
483
495
  for (var idx = 0; idx < len; idx++) {
484
496
  if (idx in theArray) {
485
- if (callbackfn.call(thisArg || theArray, theArray[idx], idx, theArray) === -1) {
497
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
486
498
  break;
487
499
  }
488
500
  }
@@ -490,14 +502,12 @@ function arrForEach(theArray, callbackfn, thisArg) {
490
502
  }
491
503
  }
492
504
 
493
- var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
505
+ var arrIndexOf = ( _unwrapFunction(INDEX_OF, ArrProto));
506
+ ( _unwrapFunction(LAST_INDEX_OF, ArrProto));
494
507
 
495
- var arrSlice = _unwrapFunction(SLICE, ArrProto);
508
+ var arrSlice = ( _unwrapFunction(SLICE, ArrProto));
496
509
 
497
- var fnCall = _unwrapInstFunction("call");
498
-
499
- var _objCreate = ObjClass["create"];
500
- var objCreate = _objCreate || polyObjCreate;
510
+ var objCreate = ObjClass["create"] || polyObjCreate;
501
511
  function polyObjCreate(obj) {
502
512
  if (!obj) {
503
513
  return {};
@@ -524,7 +534,7 @@ function objSetPrototypeOf(obj, proto) {
524
534
  return fn(obj, proto);
525
535
  }
526
536
 
527
- var _createCustomError = function (name, d, b) {
537
+ function _createCustomError(name, d, b) {
528
538
  _safeDefineName(d, name);
529
539
  d = objSetPrototypeOf(d, b);
530
540
  function __() {
@@ -533,7 +543,7 @@ var _createCustomError = function (name, d, b) {
533
543
  }
534
544
  d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
535
545
  return d;
536
- };
546
+ }
537
547
  var _safeSetName = function (baseClass, name) {
538
548
  try {
539
549
  name && (baseClass[NAME] = name);
@@ -594,7 +604,7 @@ function isPlainObject(value) {
594
604
  if (value !== _gblWindow) {
595
605
  if (!_objCtrFnString) {
596
606
  _fnToString = Function[PROTOTYPE].toString;
597
- _objCtrFnString = fnCall(_fnToString, ObjClass);
607
+ _objCtrFnString = _fnToString[CALL](ObjClass);
598
608
  }
599
609
  try {
600
610
  var proto = objGetPrototypeOf(value);
@@ -603,7 +613,7 @@ function isPlainObject(value) {
603
613
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
604
614
  proto = proto[CONSTRUCTOR];
605
615
  }
606
- result = proto && typeof proto === FUNCTION && _fnToString.call(proto) === _objCtrFnString;
616
+ result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
607
617
  }
608
618
  }
609
619
  catch (ex) {
@@ -612,7 +622,8 @@ function isPlainObject(value) {
612
622
  return result;
613
623
  }
614
624
 
615
- var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
625
+ var strIndexOf = ( _unwrapFunction(INDEX_OF, StrProto));
626
+ ( _unwrapFunction(LAST_INDEX_OF, StrProto));
616
627
 
617
628
  var REF = "ref";
618
629
  var UNREF = "un" + REF;
@@ -1464,7 +1475,7 @@ function newId(maxLength) {
1464
1475
  return result;
1465
1476
  }
1466
1477
 
1467
- var version = '3.1.0-nightly3.2401-04';
1478
+ var version = '3.1.0-nightly3.2401-05';
1468
1479
  var instanceName = "." + newId(6);
1469
1480
  var _dataUid = 0;
1470
1481
  function _canAcceptData(target) {
@@ -3325,4 +3336,4 @@ var TeeChannel = /** @class */ (function (_super) {
3325
3336
  }(BaseTelemetryPlugin));
3326
3337
 
3327
3338
  exports.TeeChannel = TeeChannel;
3328
- //# sourceMappingURL=applicationinsights-teechannel-js.3.1.0-nightly3.2401-04.cjs.js.map
3339
+ //# sourceMappingURL=applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.cjs.js.map