@microsoft/applicationinsights-teechannel-js 3.3.7-nightly3.2504-11 → 3.3.7-nightly3.2504-13

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.3.7-nightly3.2504-11.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.cjs.js} +68 -181
  2. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.gbl.js} +70 -156
  6. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.js} +95 -154
  11. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-13.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +67 -153
  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 +69 -155
  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 +69 -155
  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 +67 -153
  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 +33 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.min.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.3.7-nightly3.2504-11
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.3.7-nightly3.2504-13
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_3_7_nightly3_2504_11", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-11";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_3_7_nightly3_2504_13", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-13";
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]||{});
@@ -32,7 +32,7 @@ var strShimUndefined = "undefined";
32
32
  var strShimPrototype = "prototype";
33
33
  var ObjClass$1 = Object;
34
34
 
35
- /*! https://github.com/nevware21/ts-utils v0.12.1 */
35
+ /*! https://github.com/nevware21/ts-utils v0.12.2 */
36
36
  /*#__NO_SIDE_EFFECTS__*/
37
37
  function _pureAssign(func1, func2) {
38
38
  return func1 || func2;
@@ -55,8 +55,6 @@ var LENGTH = "length";
55
55
  var NAME = "name";
56
56
  var CALL = "call";
57
57
  var TO_STRING = "toString";
58
- var GETTER_NAME = "__lookupGetter__";
59
- var SETTER_NAME = "__lookupSetter__";
60
58
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
61
59
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
62
60
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -148,85 +146,14 @@ function _throwIfNullOrUndefined(obj) {
148
146
  throwTypeError("Cannot convert undefined or null to object");
149
147
  }
150
148
  }
149
+ function _returnNothing() {
150
+ return UNDEF_VALUE;
151
+ }
152
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), _returnNothing));
151
153
  /*#__NO_SIDE_EFFECTS__*/
152
154
  function objHasOwnProperty(obj, prop) {
153
155
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
154
156
  }
155
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
156
- /*#__NO_SIDE_EFFECTS__*/
157
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
158
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
159
- return function (thisArg) {
160
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
161
- if (theFunc || polyFunc) {
162
- var theArgs = arguments;
163
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
164
- }
165
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
166
- };
167
- }
168
- function _objPropertyIsEnum(obj, propKey) {
169
- var desc;
170
- var fn = ObjClass.getOwnPropertyDescriptor;
171
- if (!isStrictNullOrUndefined(obj) && fn) {
172
- desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
173
- }
174
- if (!desc) {
175
- desc = safe(function () {
176
- for (var key in obj) {
177
- if (key === propKey) {
178
- return { enumerable: true };
179
- }
180
- }
181
- }).v;
182
- }
183
- return (desc && desc.enumerable) || false;
184
- }
185
- var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
186
- function _isPropertyWritable(obj, prop) {
187
- var result = false;
188
- if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
189
- var originalValue = obj[prop];
190
- try {
191
- obj[prop] = originalValue;
192
- result = true;
193
- }
194
- catch (e) {
195
- }
196
- }
197
- return result;
198
- }
199
- function polyObjGetOwnPropertyDescriptor(obj, prop) {
200
- var descriptor;
201
- _throwIfNullOrUndefined(obj);
202
- var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
203
- if (isLength || objHasOwnProperty(obj, prop)) {
204
- descriptor = {
205
- configurable: !isLength,
206
- enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
207
- };
208
- var isData = true;
209
- if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
210
- var getter = obj[GETTER_NAME](prop);
211
- var setter = obj[SETTER_NAME](prop);
212
- if (getter || setter) {
213
- isData = false;
214
- if (getter) {
215
- descriptor.get = getter;
216
- }
217
- if (setter) {
218
- descriptor.set = setter;
219
- }
220
- }
221
- }
222
- if (isData) {
223
- descriptor.value = obj[prop];
224
- descriptor.writable = _isPropertyWritable(obj, prop);
225
- }
226
- }
227
- return descriptor;
228
- }
229
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
230
157
  /*#__NO_SIDE_EFFECTS__*/
231
158
  function polyObjHasOwn(obj, prop) {
232
159
  _throwIfNullOrUndefined(obj);
@@ -256,6 +183,19 @@ function arrForEach(theArray, callbackfn, thisArg) {
256
183
  }
257
184
  }
258
185
  }
186
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
187
+ /*#__NO_SIDE_EFFECTS__*/
188
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
189
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
190
+ return function (thisArg) {
191
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
192
+ if (theFunc || polyFunc) {
193
+ var theArgs = arguments;
194
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
195
+ }
196
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
197
+ };
198
+ }
259
199
  var propMap = {
260
200
  e: "enumerable",
261
201
  c: "configurable",
@@ -304,22 +244,10 @@ function _assignMapValue(theMap, key, value, writable) {
304
244
  writable: false
305
245
  });
306
246
  }
307
- function polyObjIsFrozen(obj) {
308
- if (isStrictNullOrUndefined(obj) || (!isObject(obj) && !isFunction(obj))) {
309
- return true;
310
- }
311
- if (isFunction(obj)) {
312
- return false;
313
- }
314
- for (var prop in obj) {
315
- var desc = objGetOwnPropertyDescriptor(obj, prop);
316
- if (desc && (desc.configurable || (desc.writable !== false && "value" in desc))) {
317
- return false;
318
- }
319
- }
320
- return true;
247
+ function _returnFalse() {
248
+ return false;
321
249
  }
322
- var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), polyObjIsFrozen));
250
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), _returnFalse));
323
251
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
324
252
  function _doNothing(value) {
325
253
  return value;
@@ -415,24 +343,10 @@ function _tagAsPolyfill(target, polyfillTypeName) {
415
343
  }
416
344
  return target;
417
345
  }
418
- /*#__NO_SIDE_EFFECTS__*/
419
- function createCachedValue(value) {
420
- return objDefineProp({
421
- toJSON: function () { return value; }
422
- }, "v", { value: value });
423
- }
424
- var _isProtoArray;
425
- var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
426
- function _polyObjSetPrototypeOf(obj, proto) {
427
- var _a;
428
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
429
- _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
430
- return obj;
431
- }
432
346
  var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
433
347
  /*#__NO_SIDE_EFFECTS__*/
434
348
  function polyObjCreate(obj, properties) {
435
- var newObj;
349
+ var newObj = null;
436
350
  function tempFunc() { }
437
351
  if (!isStrictNullOrUndefined(obj)) {
438
352
  var type = typeof obj;
@@ -448,7 +362,6 @@ function polyObjCreate(obj, properties) {
448
362
  else {
449
363
  newObj = {};
450
364
  }
451
- safe(_polyObjSetPrototypeOf, [newObj, obj]);
452
365
  if (properties) {
453
366
  safe(objDefineProperties, [newObj, properties]);
454
367
  }
@@ -512,32 +425,19 @@ var _wellKnownSymbolCache;
512
425
  function polyNewSymbol(description) {
513
426
  var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
514
427
  var symString = SYMBOL + "(" + description + ")";
428
+ function _setProp(name, value) {
429
+ objDefine(theSymbol, name, {
430
+ v: value,
431
+ e: false,
432
+ w: false
433
+ });
434
+ }
515
435
  var theSymbol = objCreate(null);
516
- objDefine(theSymbol, "description", {
517
- v: asString(description),
518
- e: false,
519
- w: false
520
- });
521
- objDefine(theSymbol, TO_STRING, {
522
- v: function () { return symString + POLY_SYM + uniqueId; },
523
- e: false,
524
- w: false
525
- });
526
- objDefine(theSymbol, "valueOf", {
527
- v: function () { return theSymbol; },
528
- e: false,
529
- w: false
530
- });
531
- objDefine(theSymbol, "v", {
532
- v: symString,
533
- e: false,
534
- w: false
535
- });
536
- objDefine(theSymbol, "_uid", {
537
- v: uniqueId,
538
- e: false,
539
- w: false
540
- });
436
+ _setProp("description", asString(description));
437
+ _setProp(TO_STRING, function () { return symString + POLY_SYM + uniqueId; });
438
+ _setProp("valueOf", function () { return theSymbol; });
439
+ _setProp("v", symString);
440
+ _setProp("_uid", uniqueId);
541
441
  return _tagAsPolyfill(theSymbol, "symbol");
542
442
  }
543
443
  /*#__NO_SIDE_EFFECTS__*/
@@ -562,6 +462,12 @@ function polyGetKnownSymbol(name) {
562
462
  }
563
463
  return result;
564
464
  }
465
+ /*#__NO_SIDE_EFFECTS__*/
466
+ function createCachedValue(value) {
467
+ return objDefineProp({
468
+ toJSON: function () { return value; }
469
+ }, "v", { value: value });
470
+ }
565
471
  var WINDOW = "window";
566
472
  var _cachedGlobal;
567
473
  function _getGlobalInstFn(getFn, theArgs) {
@@ -723,6 +629,14 @@ var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
723
629
  function arrSlice(theArray, start, end) {
724
630
  return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
725
631
  }
632
+ var _isProtoArray;
633
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
634
+ function _polyObjSetPrototypeOf(obj, proto) {
635
+ var _a;
636
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
637
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
638
+ return obj;
639
+ }
726
640
  /*#__NO_SIDE_EFFECTS__*/
727
641
  function _createCustomError(name, d, b) {
728
642
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -1467,6 +1381,23 @@ var STR_PRIORITY = "priority";
1467
1381
  var STR_GET_PERF_MGR = "getPerfMgr";
1468
1382
  var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
1469
1383
 
1384
+ function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
1385
+ if (!theValue && isNullOrUndefined(theValue)) {
1386
+ return defaultValue;
1387
+ }
1388
+ if (isBoolean(theValue)) {
1389
+ return theValue;
1390
+ }
1391
+ return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
1392
+ }
1393
+ function cfgDfBoolean(defaultValue, fallBackName) {
1394
+ return {
1395
+ fb: fallBackName,
1396
+ set: _stringToBoolOrDefault,
1397
+ v: !!defaultValue
1398
+ };
1399
+ }
1400
+
1470
1401
  var rCamelCase = /-([a-z])/g;
1471
1402
  var rNormalizeInvalid = /([^\w\d_$])/g;
1472
1403
  var rLeadingNumeric = /^(\d+[\w\d_$])/;
@@ -1638,7 +1569,7 @@ function newId(maxLength) {
1638
1569
  return result;
1639
1570
  }
1640
1571
 
1641
- var version = '3.3.7-nightly3.2504-11';
1572
+ var version = '3.3.7-nightly3.2504-13';
1642
1573
  var instanceName = "." + newId(6);
1643
1574
  var _dataUid = 0;
1644
1575
  function _canAcceptData(target) {
@@ -2304,23 +2235,6 @@ function onConfigChange(config, configHandler, logger) {
2304
2235
  return createDynamicConfig(config, null, logger)[_DYN_WATCH ](configHandler);
2305
2236
  }
2306
2237
 
2307
- function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
2308
- if (!theValue && isNullOrUndefined(theValue)) {
2309
- return defaultValue;
2310
- }
2311
- if (isBoolean(theValue)) {
2312
- return theValue;
2313
- }
2314
- return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
2315
- }
2316
- function cfgDfBoolean(defaultValue, fallBackName) {
2317
- return {
2318
- fb: fallBackName,
2319
- set: _stringToBoolOrDefault,
2320
- v: !!defaultValue
2321
- };
2322
- }
2323
-
2324
2238
  var _aiNamespace = null;
2325
2239
  function _getExtensionNamespace() {
2326
2240
  var target = getInst("Microsoft");