@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
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "ms.post",
3
+ "version": "4.3.4-nightly3.2409-18",
4
+ "ext": {
5
+ "@gbl.js": {
6
+ "file": "ms.post-4.3.4-nightly3.2409-18.gbl.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-rkcIDN2CCSoSq5ktZHsoGHFjylsRChkGtc54Y+n806E= sha384-WTQJWy3HrqnC9e1zwxf9DGahlThUWE+N6pkDJsp549bp2vdBZ9LceobafpxHEq7r sha512-dtE5FkD83QRnfyoRmV5QhOjXVVzoGelp4hit6r688WW/6hkhAiMnAuj5dSx1glQkybaKAwRoB1oGfjzFw/o1BA==",
9
+ "hashes": {
10
+ "sha256": "rkcIDN2CCSoSq5ktZHsoGHFjylsRChkGtc54Y+n806E=",
11
+ "sha384": "WTQJWy3HrqnC9e1zwxf9DGahlThUWE+N6pkDJsp549bp2vdBZ9LceobafpxHEq7r",
12
+ "sha512": "dtE5FkD83QRnfyoRmV5QhOjXVVzoGelp4hit6r688WW/6hkhAiMnAuj5dSx1glQkybaKAwRoB1oGfjzFw/o1BA=="
13
+ }
14
+ },
15
+ "@gbl.min.js": {
16
+ "file": "ms.post-4.3.4-nightly3.2409-18.gbl.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-keMWCId87y3+g3C2FYAj1/hZmA1g7r215J68vnKqI5g= sha384-WjQyoQGRGCungpC2NLFTkNqTcVFj48wgTXXftRCCK1jUo48v3Zc0Ce7yZdxQO0em sha512-yqE7FQx0CsnC5kMfaZkuKJYFQEpGFGMaKYpfU8N6Vs7HTXUqCgdPJCGbThgo4biqr27anjriA1FHxtYRnsVrQA==",
19
+ "hashes": {
20
+ "sha256": "keMWCId87y3+g3C2FYAj1/hZmA1g7r215J68vnKqI5g=",
21
+ "sha384": "WjQyoQGRGCungpC2NLFTkNqTcVFj48wgTXXftRCCK1jUo48v3Zc0Ce7yZdxQO0em",
22
+ "sha512": "yqE7FQx0CsnC5kMfaZkuKJYFQEpGFGMaKYpfU8N6Vs7HTXUqCgdPJCGbThgo4biqr27anjriA1FHxtYRnsVrQA=="
23
+ }
24
+ },
25
+ "@js": {
26
+ "file": "ms.post-4.3.4-nightly3.2409-18.js",
27
+ "type": "text/javascript; charset=utf-8",
28
+ "integrity": "sha256-OvLM4jqO7PpaQGGe6ql9Hw3dTWJ8L5Ufcpnc4BeQ+30= sha384-35ceFmvX24mcgVWZ0YdKqbw4gaU7oapKrXFhQxRrW/vJXkWwwfQ9Q5hFq8Bw82yO sha512-R2fzioHIyS2Chay3dGjlt6vYLFR29FLbS9GqpeTdHEbkY8UgDNacYN08jcUdvxzIR0+ddhZCIgt9ZuuI0Yw7Vg==",
29
+ "hashes": {
30
+ "sha256": "OvLM4jqO7PpaQGGe6ql9Hw3dTWJ8L5Ufcpnc4BeQ+30=",
31
+ "sha384": "35ceFmvX24mcgVWZ0YdKqbw4gaU7oapKrXFhQxRrW/vJXkWwwfQ9Q5hFq8Bw82yO",
32
+ "sha512": "R2fzioHIyS2Chay3dGjlt6vYLFR29FLbS9GqpeTdHEbkY8UgDNacYN08jcUdvxzIR0+ddhZCIgt9ZuuI0Yw7Vg=="
33
+ }
34
+ },
35
+ "@min.js": {
36
+ "file": "ms.post-4.3.4-nightly3.2409-18.min.js",
37
+ "type": "text/javascript; charset=utf-8",
38
+ "integrity": "sha256-zQbjclGzUJgTyhV6z3cUro6BzjxhMAzLbHdq+3N+08w= sha384-KuObt34yupp9RMDGT+aqxbyr8o3JARKfJj+oMXaLaR5Fj+Z5K899oB8ZOpzo069s sha512-Tw1r5RahdmrUjePObjG0pONNZuJMRMllgmDYKnbrX6KkZbIJexli3eokxhHBo1dWDFNpb3aaGG0hCEAUNucDwA==",
39
+ "hashes": {
40
+ "sha256": "zQbjclGzUJgTyhV6z3cUro6BzjxhMAzLbHdq+3N+08w=",
41
+ "sha384": "KuObt34yupp9RMDGT+aqxbyr8o3JARKfJj+oMXaLaR5Fj+Z5K899oB8ZOpzo069s",
42
+ "sha512": "Tw1r5RahdmrUjePObjG0pONNZuJMRMllgmDYKnbrX6KkZbIJexli3eokxhHBo1dWDFNpb3aaGG0hCEAUNucDwA=="
43
+ }
44
+ }
45
+ }
46
+ }
@@ -1,5 +1,5 @@
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
  */
@@ -8,8 +8,8 @@
8
8
  typeof exports === "object" && typeof module !== undef ? factory(exports) :
9
9
  typeof define === "function" && define.amd ? define(["exports"], factory) :
10
10
  (function(global){
11
- var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_4_nightly3_2409_15", msMod="__ms$mod__";
12
- var mods={}, modDetail=mods[modName]={}, ver="4.3.4-nightly3.2409-15";
11
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_4_nightly3_2409_18", msMod="__ms$mod__";
12
+ var mods={}, modDetail=mods[modName]={}, ver="4.3.4-nightly3.2409-18";
13
13
  // Versioned namespace "oneDS4"
14
14
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
15
  // Global namespace "oneDS"
@@ -41,7 +41,7 @@ var strShimPrototype = "prototype";
41
41
  var ObjClass$1 = Object;
42
42
  var ObjProto$1 = ObjClass$1[strShimPrototype];
43
43
 
44
- /*! https://github.com/nevware21/ts-utils v0.11.3 */
44
+ /*! https://github.com/nevware21/ts-utils v0.11.4 */
45
45
  /*#__NO_SIDE_EFFECTS__*/
46
46
  function _pureAssign(func1, func2) {
47
47
  return func1 || func2;
@@ -94,6 +94,10 @@ function isUndefined(value) {
94
94
  return typeof value === UNDEFINED || value === UNDEFINED;
95
95
  }
96
96
  /*#__NO_SIDE_EFFECTS__*/
97
+ function isStrictUndefined(arg) {
98
+ return !isDefined(arg);
99
+ }
100
+ /*#__NO_SIDE_EFFECTS__*/
97
101
  function isNullOrUndefined(value) {
98
102
  return value === NULL_VALUE || isUndefined(value);
99
103
  }
@@ -165,7 +169,7 @@ function _createProp(value) {
165
169
  }
166
170
  }
167
171
  objForEachKey(value, function (key, value) {
168
- prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
172
+ prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
169
173
  });
170
174
  return prop;
171
175
  }
@@ -200,7 +204,7 @@ function dumpObj(object, format) {
200
204
  }
201
205
  try {
202
206
  propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
203
- propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
207
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
204
208
  }
205
209
  catch (e) {
206
210
  propertyValueDump = " - " + dumpObj(e, format);
@@ -285,9 +289,9 @@ function _getGlobalConfig() {
285
289
  var _unwrapFunction = ( _unwrapFunctionWithPoly);
286
290
  /*#__NO_SIDE_EFFECTS__*/
287
291
  function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
288
- var clsFn = clsProto && clsProto[funcName];
292
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
289
293
  return function (thisArg) {
290
- var theFunc = (thisArg && thisArg[funcName]) || clsFn;
294
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
291
295
  if (theFunc || polyFunc) {
292
296
  var theArgs = arguments;
293
297
  return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
@@ -378,24 +382,37 @@ function _getGlobalInstFn(getFn, theArgs) {
378
382
  var cachedValue;
379
383
  return function () {
380
384
  !_globalLazyTestHooks && _initTestHooks();
381
- (!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
385
+ if (!cachedValue || _globalLazyTestHooks.lzy) {
386
+ cachedValue = createCachedValue(safe(getFn, theArgs).v);
387
+ }
382
388
  return cachedValue.v;
383
389
  };
384
390
  }
385
- /*#__NO_SIDE_EFFECTS__*/
386
391
  function getGlobal(useCached) {
387
392
  !_globalLazyTestHooks && _initTestHooks();
388
- (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) && (_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE));
393
+ if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
394
+ _cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
395
+ }
389
396
  return _cachedGlobal.v;
390
397
  }
391
398
  /*#__NO_SIDE_EFFECTS__*/
392
399
  function getInst(name, useCached) {
393
- var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
400
+ var gbl;
401
+ if (!_cachedGlobal || useCached === false) {
402
+ gbl = getGlobal(useCached);
403
+ }
404
+ else {
405
+ gbl = _cachedGlobal.v;
406
+ }
394
407
  if (gbl && gbl[name]) {
395
408
  return gbl[name];
396
409
  }
397
410
  if (name === WINDOW) {
398
- return getWindow();
411
+ try {
412
+ return window;
413
+ }
414
+ catch (e) {
415
+ }
399
416
  }
400
417
  return NULL_VALUE;
401
418
  }
@@ -465,7 +482,7 @@ function iterForOf(iter, callbackfn, thisArg) {
465
482
  if (iter) {
466
483
  if (!isIterator(iter)) {
467
484
  !_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
468
- iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : null;
485
+ iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
469
486
  }
470
487
  if (isIterator(iter)) {
471
488
  var err = UNDEF_VALUE;
@@ -534,7 +551,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
534
551
  }
535
552
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
536
553
  function arrSlice(theArray, start, end) {
537
- return ((theArray && theArray["slice"]) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
554
+ return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
538
555
  }
539
556
  var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
540
557
  /*#__NO_SIDE_EFFECTS__*/
@@ -646,7 +663,7 @@ function isPlainObject(value) {
646
663
  if (objHasOwnProperty(proto, CONSTRUCTOR)) {
647
664
  proto = proto[CONSTRUCTOR];
648
665
  }
649
- result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
666
+ result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
650
667
  }
651
668
  }
652
669
  catch (ex) {
@@ -756,6 +773,8 @@ function scheduleTimeoutWith(overrideFn, callback, timeout) {
756
773
  return _createTimeoutWith(true, overrideFn, ArrSlice[CALL](arguments, 1));
757
774
  }
758
775
 
776
+ (getGlobal() || {})["Symbol"];
777
+ (getGlobal() || {})["Reflect"];
759
778
  var strHasOwnProperty = "hasOwnProperty";
760
779
  var extendStaticsFn = function (d, b) {
761
780
  extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
@@ -1815,7 +1834,7 @@ function newId(maxLength) {
1815
1834
  return result;
1816
1835
  }
1817
1836
 
1818
- var version = '3.3.4-nightly3.2409-15';
1837
+ var version = '3.3.4-nightly3.2409-18';
1819
1838
  var instanceName = "." + newId(6);
1820
1839
  var _dataUid = 0;
1821
1840
  function _canAcceptData(target) {
@@ -4086,7 +4105,7 @@ var _DYN_LENGTH$1 = "length";
4086
4105
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4087
4106
 
4088
4107
  var _a$1;
4089
- var Version = '4.3.4-nightly3.2409-15';
4108
+ var Version = '4.3.4-nightly3.2409-18';
4090
4109
  var FullVersionString = "1DS-Web-JS-" + Version;
4091
4110
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4092
4111
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -5779,7 +5798,7 @@ var PostChannel = /** @class */ (function (_super) {
5779
5798
  var _this = _super.call(this) || this;
5780
5799
  _this.identifier = "PostChannel";
5781
5800
  _this.priority = 1011;
5782
- _this.version = '4.3.4-nightly3.2409-15';
5801
+ _this.version = '4.3.4-nightly3.2409-18';
5783
5802
  var _postConfig;
5784
5803
  var _isTeardownCalled = false;
5785
5804
  var _flushCallbackQueue = [];
@@ -6564,4 +6583,4 @@ exports.PostChannel = PostChannel;
6564
6583
  exports.RT_PROFILE = RT_PROFILE;
6565
6584
 
6566
6585
  }));
6567
- //# sourceMappingURL=ms.post-4.3.4-nightly3.2409-15.js.map
6586
+ //# sourceMappingURL=ms.post-4.3.4-nightly3.2409-18.js.map