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

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-14.cjs.js} +68 -181
  2. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.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-14.gbl.js} +70 -156
  6. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.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-14.js} +95 -154
  11. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.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,32 +1,7 @@
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-14
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
- (function (global, factory) {
6
- var undef = "undefined";
7
- typeof exports === "object" && typeof module !== undef ? factory(exports) :
8
- typeof define === "function" && define.amd ? define(["exports"], factory) :
9
- (function(global){
10
- var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_3_7_nightly3_2504_11", msMod="__ms$mod__";
11
- var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-11";
12
- var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
13
- // Versioned namespace "Microsoft.ApplicationInsights3"
14
- var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
- // Global namespace "Microsoft.ApplicationInsights"
16
- var destNs=baseNs, nsKey="ApplicationInsights", destNs=destNs[nsKey]=(destNs[nsKey]||{});
17
- var expNsDetail=(exportNs[msMod]=(exportNs[msMod] || {})), expNameVer=(expNsDetail["v"]=(expNsDetail["v"] || []));
18
- var destNsDetail=(destNs[msMod]=(destNs[msMod] || {})), destNameVer=(destNsDetail["v"]=(destNsDetail["v"] || []));
19
- (destNsDetail["o"]=(destNsDetail["o"] || [])).push(mods);
20
- factory(theExports);
21
- for(var key in theExports) {
22
- // Always set the imported value into the "export" versioned namespace (last-write wins)
23
- nm="x", exportNs[key]=theExports[key], expNameVer[key]=ver;
24
- // Copy over any named element that is not already present (first-write wins)
25
- typeof destNs[key]===undef ? (nm="n", destNs[key]=theExports[key]) && (destNameVer[key]=ver) : !destNameVer[key] && (destNameVer[key]="---");
26
- (modDetail[nm] = (modDetail[nm] || [])).push(key);
27
- }
28
- })(typeof globalThis !== undef ? globalThis : global || self);
29
- })(this, (function (exports) {
30
5
  'use strict';
31
6
 
32
7
 
@@ -36,7 +11,7 @@ var strShimUndefined = "undefined";
36
11
  var strShimPrototype = "prototype";
37
12
  var ObjClass$1 = Object;
38
13
 
39
- /*! https://github.com/nevware21/ts-utils v0.12.1 */
14
+ /*! https://github.com/nevware21/ts-utils v0.12.2 */
40
15
  /*#__NO_SIDE_EFFECTS__*/
41
16
  function _pureAssign(func1, func2) {
42
17
  return func1 || func2;
@@ -59,8 +34,6 @@ var LENGTH = "length";
59
34
  var NAME = "name";
60
35
  var CALL = "call";
61
36
  var TO_STRING = "toString";
62
- var GETTER_NAME = "__lookupGetter__";
63
- var SETTER_NAME = "__lookupSetter__";
64
37
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
65
38
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
66
39
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -152,85 +125,14 @@ function _throwIfNullOrUndefined(obj) {
152
125
  throwTypeError("Cannot convert undefined or null to object");
153
126
  }
154
127
  }
128
+ function _returnNothing() {
129
+ return UNDEF_VALUE;
130
+ }
131
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), _returnNothing));
155
132
  /*#__NO_SIDE_EFFECTS__*/
156
133
  function objHasOwnProperty(obj, prop) {
157
134
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
158
135
  }
159
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
160
- /*#__NO_SIDE_EFFECTS__*/
161
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
162
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
163
- return function (thisArg) {
164
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
165
- if (theFunc || polyFunc) {
166
- var theArgs = arguments;
167
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
168
- }
169
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
170
- };
171
- }
172
- function _objPropertyIsEnum(obj, propKey) {
173
- var desc;
174
- var fn = ObjClass.getOwnPropertyDescriptor;
175
- if (!isStrictNullOrUndefined(obj) && fn) {
176
- desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
177
- }
178
- if (!desc) {
179
- desc = safe(function () {
180
- for (var key in obj) {
181
- if (key === propKey) {
182
- return { enumerable: true };
183
- }
184
- }
185
- }).v;
186
- }
187
- return (desc && desc.enumerable) || false;
188
- }
189
- var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
190
- function _isPropertyWritable(obj, prop) {
191
- var result = false;
192
- if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
193
- var originalValue = obj[prop];
194
- try {
195
- obj[prop] = originalValue;
196
- result = true;
197
- }
198
- catch (e) {
199
- }
200
- }
201
- return result;
202
- }
203
- function polyObjGetOwnPropertyDescriptor(obj, prop) {
204
- var descriptor;
205
- _throwIfNullOrUndefined(obj);
206
- var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
207
- if (isLength || objHasOwnProperty(obj, prop)) {
208
- descriptor = {
209
- configurable: !isLength,
210
- enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
211
- };
212
- var isData = true;
213
- if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
214
- var getter = obj[GETTER_NAME](prop);
215
- var setter = obj[SETTER_NAME](prop);
216
- if (getter || setter) {
217
- isData = false;
218
- if (getter) {
219
- descriptor.get = getter;
220
- }
221
- if (setter) {
222
- descriptor.set = setter;
223
- }
224
- }
225
- }
226
- if (isData) {
227
- descriptor.value = obj[prop];
228
- descriptor.writable = _isPropertyWritable(obj, prop);
229
- }
230
- }
231
- return descriptor;
232
- }
233
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
234
136
  /*#__NO_SIDE_EFFECTS__*/
235
137
  function polyObjHasOwn(obj, prop) {
236
138
  _throwIfNullOrUndefined(obj);
@@ -260,6 +162,19 @@ function arrForEach(theArray, callbackfn, thisArg) {
260
162
  }
261
163
  }
262
164
  }
165
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
166
+ /*#__NO_SIDE_EFFECTS__*/
167
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
168
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
169
+ return function (thisArg) {
170
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
171
+ if (theFunc || polyFunc) {
172
+ var theArgs = arguments;
173
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
174
+ }
175
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
176
+ };
177
+ }
263
178
  var propMap = {
264
179
  e: "enumerable",
265
180
  c: "configurable",
@@ -308,22 +223,10 @@ function _assignMapValue(theMap, key, value, writable) {
308
223
  writable: false
309
224
  });
310
225
  }
311
- function polyObjIsFrozen(obj) {
312
- if (isStrictNullOrUndefined(obj) || (!isObject(obj) && !isFunction(obj))) {
313
- return true;
314
- }
315
- if (isFunction(obj)) {
316
- return false;
317
- }
318
- for (var prop in obj) {
319
- var desc = objGetOwnPropertyDescriptor(obj, prop);
320
- if (desc && (desc.configurable || (desc.writable !== false && "value" in desc))) {
321
- return false;
322
- }
323
- }
324
- return true;
226
+ function _returnFalse() {
227
+ return false;
325
228
  }
326
- var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), polyObjIsFrozen));
229
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), _returnFalse));
327
230
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
328
231
  function _doNothing(value) {
329
232
  return value;
@@ -419,24 +322,10 @@ function _tagAsPolyfill(target, polyfillTypeName) {
419
322
  }
420
323
  return target;
421
324
  }
422
- /*#__NO_SIDE_EFFECTS__*/
423
- function createCachedValue(value) {
424
- return objDefineProp({
425
- toJSON: function () { return value; }
426
- }, "v", { value: value });
427
- }
428
- var _isProtoArray;
429
- var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
430
- function _polyObjSetPrototypeOf(obj, proto) {
431
- var _a;
432
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
433
- _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
434
- return obj;
435
- }
436
325
  var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
437
326
  /*#__NO_SIDE_EFFECTS__*/
438
327
  function polyObjCreate(obj, properties) {
439
- var newObj;
328
+ var newObj = null;
440
329
  function tempFunc() { }
441
330
  if (!isStrictNullOrUndefined(obj)) {
442
331
  var type = typeof obj;
@@ -452,7 +341,6 @@ function polyObjCreate(obj, properties) {
452
341
  else {
453
342
  newObj = {};
454
343
  }
455
- safe(_polyObjSetPrototypeOf, [newObj, obj]);
456
344
  if (properties) {
457
345
  safe(objDefineProperties, [newObj, properties]);
458
346
  }
@@ -516,32 +404,19 @@ var _wellKnownSymbolCache;
516
404
  function polyNewSymbol(description) {
517
405
  var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
518
406
  var symString = SYMBOL + "(" + description + ")";
407
+ function _setProp(name, value) {
408
+ objDefine(theSymbol, name, {
409
+ v: value,
410
+ e: false,
411
+ w: false
412
+ });
413
+ }
519
414
  var theSymbol = objCreate(null);
520
- objDefine(theSymbol, "description", {
521
- v: asString(description),
522
- e: false,
523
- w: false
524
- });
525
- objDefine(theSymbol, TO_STRING, {
526
- v: function () { return symString + POLY_SYM + uniqueId; },
527
- e: false,
528
- w: false
529
- });
530
- objDefine(theSymbol, "valueOf", {
531
- v: function () { return theSymbol; },
532
- e: false,
533
- w: false
534
- });
535
- objDefine(theSymbol, "v", {
536
- v: symString,
537
- e: false,
538
- w: false
539
- });
540
- objDefine(theSymbol, "_uid", {
541
- v: uniqueId,
542
- e: false,
543
- w: false
544
- });
415
+ _setProp("description", asString(description));
416
+ _setProp(TO_STRING, function () { return symString + POLY_SYM + uniqueId; });
417
+ _setProp("valueOf", function () { return theSymbol; });
418
+ _setProp("v", symString);
419
+ _setProp("_uid", uniqueId);
545
420
  return _tagAsPolyfill(theSymbol, "symbol");
546
421
  }
547
422
  /*#__NO_SIDE_EFFECTS__*/
@@ -566,6 +441,12 @@ function polyGetKnownSymbol(name) {
566
441
  }
567
442
  return result;
568
443
  }
444
+ /*#__NO_SIDE_EFFECTS__*/
445
+ function createCachedValue(value) {
446
+ return objDefineProp({
447
+ toJSON: function () { return value; }
448
+ }, "v", { value: value });
449
+ }
569
450
  var WINDOW = "window";
570
451
  var _cachedGlobal;
571
452
  function _getGlobalInstFn(getFn, theArgs) {
@@ -727,6 +608,14 @@ var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
727
608
  function arrSlice(theArray, start, end) {
728
609
  return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
729
610
  }
611
+ var _isProtoArray;
612
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
613
+ function _polyObjSetPrototypeOf(obj, proto) {
614
+ var _a;
615
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
616
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
617
+ return obj;
618
+ }
730
619
  /*#__NO_SIDE_EFFECTS__*/
731
620
  function _createCustomError(name, d, b) {
732
621
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -1471,6 +1360,23 @@ var STR_PRIORITY = "priority";
1471
1360
  var STR_GET_PERF_MGR = "getPerfMgr";
1472
1361
  var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
1473
1362
 
1363
+ function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
1364
+ if (!theValue && isNullOrUndefined(theValue)) {
1365
+ return defaultValue;
1366
+ }
1367
+ if (isBoolean(theValue)) {
1368
+ return theValue;
1369
+ }
1370
+ return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
1371
+ }
1372
+ function cfgDfBoolean(defaultValue, fallBackName) {
1373
+ return {
1374
+ fb: fallBackName,
1375
+ set: _stringToBoolOrDefault,
1376
+ v: !!defaultValue
1377
+ };
1378
+ }
1379
+
1474
1380
  var rCamelCase = /-([a-z])/g;
1475
1381
  var rNormalizeInvalid = /([^\w\d_$])/g;
1476
1382
  var rLeadingNumeric = /^(\d+[\w\d_$])/;
@@ -1642,7 +1548,7 @@ function newId(maxLength) {
1642
1548
  return result;
1643
1549
  }
1644
1550
 
1645
- var version = '3.3.7-nightly3.2504-11';
1551
+ var version = '3.3.7-nightly3.2504-14';
1646
1552
  var instanceName = "." + newId(6);
1647
1553
  var _dataUid = 0;
1648
1554
  function _canAcceptData(target) {
@@ -2308,23 +2214,6 @@ function onConfigChange(config, configHandler, logger) {
2308
2214
  return createDynamicConfig(config, null, logger)[_DYN_WATCH ](configHandler);
2309
2215
  }
2310
2216
 
2311
- function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
2312
- if (!theValue && isNullOrUndefined(theValue)) {
2313
- return defaultValue;
2314
- }
2315
- if (isBoolean(theValue)) {
2316
- return theValue;
2317
- }
2318
- return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
2319
- }
2320
- function cfgDfBoolean(defaultValue, fallBackName) {
2321
- return {
2322
- fb: fallBackName,
2323
- set: _stringToBoolOrDefault,
2324
- v: !!defaultValue
2325
- };
2326
- }
2327
-
2328
2217
  var _aiNamespace = null;
2329
2218
  function _getExtensionNamespace() {
2330
2219
  var target = getInst("Microsoft");
@@ -3490,6 +3379,4 @@ var TeeChannel = /** @class */ (function (_super) {
3490
3379
  }(BaseTelemetryPlugin));
3491
3380
 
3492
3381
  exports.TeeChannel = TeeChannel;
3493
-
3494
- }));
3495
- //# sourceMappingURL=applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.js.map
3382
+ //# sourceMappingURL=applicationinsights-teechannel-js.3.3.7-nightly3.2504-14.cjs.js.map