@microsoft/applicationinsights-teechannel-js 3.1.0-nightly3.2401-02 → 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-02.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-02.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-02.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-02.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.min.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.1.0-nightly3.2401-02
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
  (function (global, factory) {
6
6
  var undef = "undefined";
7
- var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_1_0_nightly3_2401_02", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.1.0-nightly3.2401-02";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_1_0_nightly3_2401_05", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.1.0-nightly3.2401-05";
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]||{});
@@ -47,11 +47,13 @@ var CONSTRUCTOR = "constructor";
47
47
  var SYMBOL = "Symbol";
48
48
  var POLYFILL_TAG = "_polyfill";
49
49
  var INDEX_OF = "indexOf";
50
+ var LAST_INDEX_OF = "lastIndexOf";
50
51
  var LENGTH = "length";
51
52
  var DONE = "done";
52
53
  var VALUE = "value";
53
54
  var NAME = "name";
54
55
  var SLICE = "slice";
56
+ var CALL = "call";
55
57
  var ObjClass = Object;
56
58
  var ObjProto = ObjClass[PROTOTYPE];
57
59
  var StrCls = String;
@@ -81,7 +83,7 @@ function _createObjIs(theName) {
81
83
  };
82
84
  }
83
85
  function objToString(value) {
84
- return ObjProto.toString.call(value);
86
+ return ObjProto.toString[CALL](value);
85
87
  }
86
88
  function isUndefined(value) {
87
89
  return typeof value === UNDEFINED || value === UNDEFINED;
@@ -95,8 +97,8 @@ function isStrictNullOrUndefined(value) {
95
97
  function isDefined(arg) {
96
98
  return !!arg || arg !== UNDEF_VALUE;
97
99
  }
98
- var isString = _createIs(STRING);
99
- var isFunction = _createIs(FUNCTION);
100
+ var isString = ( _createIs(STRING));
101
+ var isFunction = ( _createIs(FUNCTION));
100
102
  function isObject(value) {
101
103
  if (!value && isNullOrUndefined(value)) {
102
104
  return false;
@@ -104,17 +106,17 @@ function isObject(value) {
104
106
  return !!value && typeof value === OBJECT;
105
107
  }
106
108
  var isArray = ArrCls.isArray;
107
- var isNumber = _createIs(NUMBER);
108
- var isBoolean = _createIs(BOOLEAN);
109
- var isError = _createObjIs("Error");
109
+ var isNumber = ( _createIs(NUMBER));
110
+ var isBoolean = ( _createIs(BOOLEAN));
111
+ var isError = ( _createObjIs("Error"));
110
112
  function isPromiseLike(value) {
111
- return !!value && isFunction(value.then);
113
+ return !!(value && value.then && isFunction(value.then));
112
114
  }
113
115
 
114
116
  var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
115
117
 
116
118
  function objHasOwnProperty(obj, prop) {
117
- return obj && ObjProto.hasOwnProperty.call(obj, prop);
119
+ return obj && ObjProto.hasOwnProperty[CALL](obj, prop);
118
120
  }
119
121
 
120
122
  var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
@@ -126,7 +128,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
126
128
  if (theObject && isObject(theObject)) {
127
129
  for (var prop in theObject) {
128
130
  if (objHasOwn(theObject, prop)) {
129
- if (callbackfn.call(thisArg || theObject, prop, theObject[prop]) === -1) {
131
+ if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
130
132
  break;
131
133
  }
132
134
  }
@@ -151,8 +153,12 @@ function throwTypeError(message) {
151
153
  }
152
154
 
153
155
  var _objFreeze = ObjClass["freeze"];
154
- var _doNothing = function (value) { return value; };
155
- var _getProto = function (value) { return value[__PROTO__] || NULL_VALUE; };
156
+ function _doNothing(value) {
157
+ return value;
158
+ }
159
+ function _getProto(value) {
160
+ return value[__PROTO__] || NULL_VALUE;
161
+ }
156
162
  function objKeys(value) {
157
163
  if (!isObject(value) || value === NULL_VALUE) {
158
164
  throwTypeError("objKeys called on non-object");
@@ -176,7 +182,7 @@ function createEnumKeyMap(values) {
176
182
  return _createKeyValueMap(values, 0 , 0 , objDeepFreeze);
177
183
  }
178
184
 
179
- var _wellKnownSymbolMap = createEnumKeyMap({
185
+ var _wellKnownSymbolMap = createEnumKeyMap({
180
186
  asyncIterator: 0 ,
181
187
  hasInstance: 1 ,
182
188
  isConcatSpreadable: 2 ,
@@ -236,25 +242,27 @@ function dumpObj(object, format) {
236
242
  return objToString(object) + ": " + propertyValueDump;
237
243
  }
238
244
 
239
- var _arrSlice = ArrProto[SLICE];
240
- var _throwMissingFunction = function (funcName, thisArg) {
245
+ var _slice;
246
+ function _throwMissingFunction(funcName, thisArg) {
241
247
  throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
242
- };
243
- var _unwrapInstFunction = function (funcName) {
248
+ }
249
+ function _unwrapInstFunction(funcName) {
250
+ _slice = _slice || ArrProto[SLICE];
244
251
  return function (thisArg) {
245
- return thisArg[funcName].apply(thisArg, _arrSlice.call(arguments, 1));
252
+ return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
246
253
  };
247
- };
248
- var _unwrapFunction = function (funcName, clsProto) {
254
+ }
255
+ function _unwrapFunction(funcName, clsProto) {
256
+ _slice = _slice || ArrProto[SLICE];
249
257
  var clsFn = clsProto && clsProto[funcName];
250
258
  return function (thisArg) {
251
259
  var theFunc = (thisArg && thisArg[funcName]) || clsFn;
252
260
  if (theFunc) {
253
- return theFunc.apply(thisArg, _arrSlice.call(arguments, 1));
261
+ return theFunc.apply(thisArg, _slice[CALL](arguments, 1));
254
262
  }
255
263
  _throwMissingFunction(funcName, thisArg);
256
264
  };
257
- };
265
+ }
258
266
 
259
267
  var UNIQUE_REGISTRY_ID = "_urid";
260
268
  var _polySymbols;
@@ -365,12 +373,14 @@ var _cachedWindow;
365
373
  var _cachedDocument;
366
374
  var _cachedNavigator;
367
375
  var _isNode;
368
- var lazySafeGetInst = function (name) { return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE); };
369
- var getGlobal = function (useCached) {
376
+ function lazySafeGetInst(name) {
377
+ return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
378
+ }
379
+ function getGlobal(useCached) {
370
380
  (!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
371
381
  return _cachedGlobal.v;
372
- };
373
- var getInst = function (name, useCached) {
382
+ }
383
+ function getInst(name, useCached) {
374
384
  var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
375
385
  if (gbl && gbl[name]) {
376
386
  return gbl[name];
@@ -379,24 +389,26 @@ var getInst = function (name, useCached) {
379
389
  return _cachedWindow.v;
380
390
  }
381
391
  return NULL_VALUE;
382
- };
383
- var getDocument = function () {
392
+ }
393
+ function getDocument() {
384
394
  (!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
385
395
  return _cachedDocument.v;
386
- };
387
- var hasWindow = function () { return !!getWindow(); };
388
- var getWindow = function () {
396
+ }
397
+ function hasWindow() {
398
+ return !!getWindow();
399
+ }
400
+ function getWindow() {
389
401
  (!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
390
402
  return _cachedWindow.v;
391
- };
392
- var getNavigator = function () {
403
+ }
404
+ function getNavigator() {
393
405
  (!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
394
406
  return _cachedNavigator.v;
395
- };
396
- var isNode = function () {
407
+ }
408
+ function isNode() {
397
409
  !_isNode && (_isNode = safeGetLazy(function () { return !!(process && (process.versions || {}).node); }, false));
398
410
  return _isNode.v;
399
- };
411
+ }
400
412
 
401
413
  var _symbol;
402
414
  var _symbolFor;
@@ -450,7 +462,7 @@ function iterForOf(iter, callbackfn, thisArg) {
450
462
  try {
451
463
  var count = 0;
452
464
  while (!(iterResult = iter.next())[DONE]) {
453
- if (callbackfn.call(thisArg || iter, iterResult[VALUE], count, iter) === -1) {
465
+ if (callbackfn[CALL](thisArg || iter, iterResult[VALUE], count, iter) === -1) {
454
466
  break;
455
467
  }
456
468
  count++;
@@ -479,7 +491,7 @@ function iterForOf(iter, callbackfn, thisArg) {
479
491
  }
480
492
  }
481
493
 
482
- var fnApply = _unwrapInstFunction("apply");
494
+ var fnApply = ( _unwrapInstFunction("apply"));
483
495
 
484
496
  function arrAppend(target, elms) {
485
497
  if (!isUndefined(elms) && target) {
@@ -503,7 +515,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
503
515
  var len = theArray[LENGTH] >>> 0;
504
516
  for (var idx = 0; idx < len; idx++) {
505
517
  if (idx in theArray) {
506
- if (callbackfn.call(thisArg || theArray, theArray[idx], idx, theArray) === -1) {
518
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
507
519
  break;
508
520
  }
509
521
  }
@@ -511,14 +523,12 @@ function arrForEach(theArray, callbackfn, thisArg) {
511
523
  }
512
524
  }
513
525
 
514
- var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
526
+ var arrIndexOf = ( _unwrapFunction(INDEX_OF, ArrProto));
527
+ ( _unwrapFunction(LAST_INDEX_OF, ArrProto));
515
528
 
516
- var arrSlice = _unwrapFunction(SLICE, ArrProto);
529
+ var arrSlice = ( _unwrapFunction(SLICE, ArrProto));
517
530
 
518
- var fnCall = _unwrapInstFunction("call");
519
-
520
- var _objCreate = ObjClass["create"];
521
- var objCreate = _objCreate || polyObjCreate;
531
+ var objCreate = ObjClass["create"] || polyObjCreate;
522
532
  function polyObjCreate(obj) {
523
533
  if (!obj) {
524
534
  return {};
@@ -545,7 +555,7 @@ function objSetPrototypeOf(obj, proto) {
545
555
  return fn(obj, proto);
546
556
  }
547
557
 
548
- var _createCustomError = function (name, d, b) {
558
+ function _createCustomError(name, d, b) {
549
559
  _safeDefineName(d, name);
550
560
  d = objSetPrototypeOf(d, b);
551
561
  function __() {
@@ -554,7 +564,7 @@ var _createCustomError = function (name, d, b) {
554
564
  }
555
565
  d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
556
566
  return d;
557
- };
567
+ }
558
568
  var _safeSetName = function (baseClass, name) {
559
569
  try {
560
570
  name && (baseClass[NAME] = name);
@@ -615,7 +625,7 @@ function isPlainObject(value) {
615
625
  if (value !== _gblWindow) {
616
626
  if (!_objCtrFnString) {
617
627
  _fnToString = Function[PROTOTYPE].toString;
618
- _objCtrFnString = fnCall(_fnToString, ObjClass);
628
+ _objCtrFnString = _fnToString[CALL](ObjClass);
619
629
  }
620
630
  try {
621
631
  var proto = objGetPrototypeOf(value);
@@ -624,7 +634,7 @@ function isPlainObject(value) {
624
634
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
625
635
  proto = proto[CONSTRUCTOR];
626
636
  }
627
- result = proto && typeof proto === FUNCTION && _fnToString.call(proto) === _objCtrFnString;
637
+ result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
628
638
  }
629
639
  }
630
640
  catch (ex) {
@@ -633,7 +643,8 @@ function isPlainObject(value) {
633
643
  return result;
634
644
  }
635
645
 
636
- var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
646
+ var strIndexOf = ( _unwrapFunction(INDEX_OF, StrProto));
647
+ ( _unwrapFunction(LAST_INDEX_OF, StrProto));
637
648
 
638
649
  var REF = "ref";
639
650
  var UNREF = "un" + REF;
@@ -1485,7 +1496,7 @@ function newId(maxLength) {
1485
1496
  return result;
1486
1497
  }
1487
1498
 
1488
- var version = '3.1.0-nightly3.2401-02';
1499
+ var version = '3.1.0-nightly3.2401-05';
1489
1500
  var instanceName = "." + newId(6);
1490
1501
  var _dataUid = 0;
1491
1502
  function _canAcceptData(target) {
@@ -3348,4 +3359,4 @@ var TeeChannel = /** @class */ (function (_super) {
3348
3359
  exports.TeeChannel = TeeChannel;
3349
3360
 
3350
3361
  }));
3351
- //# sourceMappingURL=applicationinsights-teechannel-js.3.1.0-nightly3.2401-02.gbl.js.map
3362
+ //# sourceMappingURL=applicationinsights-teechannel-js.3.1.0-nightly3.2401-05.gbl.js.map