@microsoft/1ds-post-js 4.3.4-nightly3.2409-15 → 4.3.4-nightly3.2409-18

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 (47) hide show
  1. package/bundle/es5/{ms.post-4.3.4-nightly3.2409-15.gbl.js → ms.post-4.3.4-nightly3.2409-18.gbl.js} +39 -20
  2. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.4-nightly3.2409-15.js → ms.post-4.3.4-nightly3.2409-18.js} +39 -20
  7. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.js.map +1 -0
  8. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.min.js +7 -0
  9. package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +38 -19
  11. package/bundle/es5/ms.post.gbl.js.map +1 -1
  12. package/bundle/es5/ms.post.gbl.min.js +2 -2
  13. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.post.integrity.json +17 -17
  15. package/bundle/es5/ms.post.js +38 -19
  16. package/bundle/es5/ms.post.js.map +1 -1
  17. package/bundle/es5/ms.post.min.js +2 -2
  18. package/bundle/es5/ms.post.min.js.map +1 -1
  19. package/dist/es5/ms.post.js +36 -17
  20. package/dist/es5/ms.post.js.map +1 -1
  21. package/dist/es5/ms.post.min.js +2 -2
  22. package/dist/es5/ms.post.min.js.map +1 -1
  23. package/dist-es5/BatchNotificationActions.js +1 -1
  24. package/dist-es5/ClockSkewManager.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/EventBatch.js +1 -1
  27. package/dist-es5/HttpManager.js +1 -1
  28. package/dist-es5/Index.js +1 -1
  29. package/dist-es5/InternalConstants.js +1 -1
  30. package/dist-es5/KillSwitch.js +1 -1
  31. package/dist-es5/PostChannel.js +2 -2
  32. package/dist-es5/PostChannel.js.map +1 -1
  33. package/dist-es5/RetryPolicy.js +1 -1
  34. package/dist-es5/Serializer.js +1 -1
  35. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  36. package/dist-es5/__DynamicConstants.js +1 -1
  37. package/dist-es5/typings/XDomainRequest.js +1 -1
  38. package/package.json +2 -2
  39. package/types/1ds-post-js.d.ts +1 -1
  40. package/types/1ds-post-js.namespaced.d.ts +1 -1
  41. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.js.map +0 -1
  42. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.min.js +0 -7
  43. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.min.js.map +0 -1
  44. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.integrity.json +0 -46
  45. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.js.map +0 -1
  46. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.min.js +0 -7
  47. package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.min.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.3.4-nightly3.2409-15
2
+ * 1DS JS SDK POST plugin, 4.3.4-nightly3.2409-18
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
6
6
  (function (global, factory) {
7
7
  var undef = "undefined";
8
- var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_4_nightly3_2409_15", msMod="__ms$mod__";
9
- var mods={}, modDetail=mods[modName]={}, ver="4.3.4-nightly3.2409-15";
8
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_4_nightly3_2409_18", msMod="__ms$mod__";
9
+ var mods={}, modDetail=mods[modName]={}, ver="4.3.4-nightly3.2409-18";
10
10
  // Versioned namespace "oneDS4"
11
11
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
12
12
  // Global namespace "oneDS"
@@ -37,7 +37,7 @@ var strShimPrototype = "prototype";
37
37
  var ObjClass$1 = Object;
38
38
  var ObjProto$1 = ObjClass$1[strShimPrototype];
39
39
 
40
- /*! https://github.com/nevware21/ts-utils v0.11.3 */
40
+ /*! https://github.com/nevware21/ts-utils v0.11.4 */
41
41
  /*#__NO_SIDE_EFFECTS__*/
42
42
  function _pureAssign(func1, func2) {
43
43
  return func1 || func2;
@@ -90,6 +90,10 @@ function isUndefined(value) {
90
90
  return typeof value === UNDEFINED || value === UNDEFINED;
91
91
  }
92
92
  /*#__NO_SIDE_EFFECTS__*/
93
+ function isStrictUndefined(arg) {
94
+ return !isDefined(arg);
95
+ }
96
+ /*#__NO_SIDE_EFFECTS__*/
93
97
  function isNullOrUndefined(value) {
94
98
  return value === NULL_VALUE || isUndefined(value);
95
99
  }
@@ -161,7 +165,7 @@ function _createProp(value) {
161
165
  }
162
166
  }
163
167
  objForEachKey(value, function (key, value) {
164
- prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
168
+ prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
165
169
  });
166
170
  return prop;
167
171
  }
@@ -196,7 +200,7 @@ function dumpObj(object, format) {
196
200
  }
197
201
  try {
198
202
  propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
199
- propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
203
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
200
204
  }
201
205
  catch (e) {
202
206
  propertyValueDump = " - " + dumpObj(e, format);
@@ -281,9 +285,9 @@ function _getGlobalConfig() {
281
285
  var _unwrapFunction = ( _unwrapFunctionWithPoly);
282
286
  /*#__NO_SIDE_EFFECTS__*/
283
287
  function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
284
- var clsFn = clsProto && clsProto[funcName];
288
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
285
289
  return function (thisArg) {
286
- var theFunc = (thisArg && thisArg[funcName]) || clsFn;
290
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
287
291
  if (theFunc || polyFunc) {
288
292
  var theArgs = arguments;
289
293
  return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
@@ -374,24 +378,37 @@ function _getGlobalInstFn(getFn, theArgs) {
374
378
  var cachedValue;
375
379
  return function () {
376
380
  !_globalLazyTestHooks && _initTestHooks();
377
- (!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
381
+ if (!cachedValue || _globalLazyTestHooks.lzy) {
382
+ cachedValue = createCachedValue(safe(getFn, theArgs).v);
383
+ }
378
384
  return cachedValue.v;
379
385
  };
380
386
  }
381
- /*#__NO_SIDE_EFFECTS__*/
382
387
  function getGlobal(useCached) {
383
388
  !_globalLazyTestHooks && _initTestHooks();
384
- (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) && (_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE));
389
+ if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
390
+ _cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
391
+ }
385
392
  return _cachedGlobal.v;
386
393
  }
387
394
  /*#__NO_SIDE_EFFECTS__*/
388
395
  function getInst(name, useCached) {
389
- var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
396
+ var gbl;
397
+ if (!_cachedGlobal || useCached === false) {
398
+ gbl = getGlobal(useCached);
399
+ }
400
+ else {
401
+ gbl = _cachedGlobal.v;
402
+ }
390
403
  if (gbl && gbl[name]) {
391
404
  return gbl[name];
392
405
  }
393
406
  if (name === WINDOW) {
394
- return getWindow();
407
+ try {
408
+ return window;
409
+ }
410
+ catch (e) {
411
+ }
395
412
  }
396
413
  return NULL_VALUE;
397
414
  }
@@ -461,7 +478,7 @@ function iterForOf(iter, callbackfn, thisArg) {
461
478
  if (iter) {
462
479
  if (!isIterator(iter)) {
463
480
  !_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
464
- iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : null;
481
+ iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
465
482
  }
466
483
  if (isIterator(iter)) {
467
484
  var err = UNDEF_VALUE;
@@ -530,7 +547,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
530
547
  }
531
548
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
532
549
  function arrSlice(theArray, start, end) {
533
- return ((theArray && theArray["slice"]) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
550
+ return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
534
551
  }
535
552
  var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
536
553
  /*#__NO_SIDE_EFFECTS__*/
@@ -642,7 +659,7 @@ function isPlainObject(value) {
642
659
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
643
660
  proto = proto[CONSTRUCTOR];
644
661
  }
645
- result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
662
+ result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
646
663
  }
647
664
  }
648
665
  catch (ex) {
@@ -752,6 +769,8 @@ function scheduleTimeoutWith(overrideFn, callback, timeout) {
752
769
  return _createTimeoutWith(true, overrideFn, ArrSlice[CALL](arguments, 1));
753
770
  }
754
771
 
772
+ (getGlobal() || {})["Symbol"];
773
+ (getGlobal() || {})["Reflect"];
755
774
  var strHasOwnProperty = "hasOwnProperty";
756
775
  var extendStaticsFn = function (d, b) {
757
776
  extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
@@ -1811,7 +1830,7 @@ function newId(maxLength) {
1811
1830
  return result;
1812
1831
  }
1813
1832
 
1814
- var version = '3.3.4-nightly3.2409-15';
1833
+ var version = '3.3.4-nightly3.2409-18';
1815
1834
  var instanceName = "." + newId(6);
1816
1835
  var _dataUid = 0;
1817
1836
  function _canAcceptData(target) {
@@ -4082,7 +4101,7 @@ var _DYN_LENGTH$1 = "length";
4082
4101
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4083
4102
 
4084
4103
  var _a$1;
4085
- var Version = '4.3.4-nightly3.2409-15';
4104
+ var Version = '4.3.4-nightly3.2409-18';
4086
4105
  var FullVersionString = "1DS-Web-JS-" + Version;
4087
4106
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4088
4107
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -5775,7 +5794,7 @@ var PostChannel = /** @class */ (function (_super) {
5775
5794
  var _this = _super.call(this) || this;
5776
5795
  _this.identifier = "PostChannel";
5777
5796
  _this.priority = 1011;
5778
- _this.version = '4.3.4-nightly3.2409-15';
5797
+ _this.version = '4.3.4-nightly3.2409-18';
5779
5798
  var _postConfig;
5780
5799
  var _isTeardownCalled = false;
5781
5800
  var _flushCallbackQueue = [];
@@ -6560,4 +6579,4 @@ exports.PostChannel = PostChannel;
6560
6579
  exports.RT_PROFILE = RT_PROFILE;
6561
6580
 
6562
6581
  }));
6563
- //# sourceMappingURL=ms.post-4.3.4-nightly3.2409-15.gbl.js.map
6582
+ //# sourceMappingURL=ms.post-4.3.4-nightly3.2409-18.gbl.js.map