@microsoft/1ds-post-js 4.4.3 → 4.4.4-nightly3.2608-02

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.4.3.gbl.js → ms.post-4.4.4-nightly3.2608-02.gbl.js} +21 -12
  2. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.4.3.js → ms.post-4.4.4-nightly3.2608-02.js} +21 -12
  7. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.js.map +1 -0
  8. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.min.js +7 -0
  9. package/bundle/es5/ms.post-4.4.4-nightly3.2608-02.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +20 -11
  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 +20 -11
  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 +18 -9
  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 +78 -75
  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.4.3.gbl.js.map +0 -1
  42. package/bundle/es5/ms.post-4.4.3.gbl.min.js +0 -7
  43. package/bundle/es5/ms.post-4.4.3.gbl.min.js.map +0 -1
  44. package/bundle/es5/ms.post-4.4.3.integrity.json +0 -46
  45. package/bundle/es5/ms.post-4.4.3.js.map +0 -1
  46. package/bundle/es5/ms.post-4.4.3.min.js +0 -7
  47. package/bundle/es5/ms.post-4.4.3.min.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.4.3
2
+ * 1DS JS SDK POST plugin, 4.4.4-nightly3.2608-02
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_4_3", msMod="__ms$mod__";
9
- var mods={}, modDetail=mods[modName]={}, ver="4.4.3";
8
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_4_4_nightly3_2608_02", msMod="__ms$mod__";
9
+ var mods={}, modDetail=mods[modName]={}, ver="4.4.4-nightly3.2608-02";
10
10
  // Versioned namespace "oneDS4"
11
11
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
12
12
  // Global namespace "oneDS"
@@ -36,7 +36,7 @@ var strShimUndefined = "undefined";
36
36
  var strShimPrototype = "prototype";
37
37
  var ObjClass$1 = Object;
38
38
 
39
- /*! https://github.com/nevware21/ts-utils v0.15.0 */
39
+ /*! https://github.com/nevware21/ts-utils v0.16.0 */
40
40
  /*#__NO_SIDE_EFFECTS__*/
41
41
  function _pureAssign(func1, func2) {
42
42
  return func1 || func2;
@@ -419,6 +419,9 @@ function polyUtcNow() {
419
419
  function fnApply(fn, thisArg, argArray) {
420
420
  return fn.apply(thisArg, argArray);
421
421
  }
422
+ function fnCall(fn, thisArg) {
423
+ return fn.apply(thisArg, ArrSlice[CALL](arguments, 2));
424
+ }
422
425
  var _globalLazyTestHooks;
423
426
  function _initTestHooks() {
424
427
  _globalLazyTestHooks = _getGlobalConfig();
@@ -706,9 +709,10 @@ function createCustomError(name, constructCb, errorBase, superArgsFn) {
706
709
  var theBaseClass = errorBase || Error;
707
710
  var orgName = theBaseClass[PROTOTYPE][NAME];
708
711
  var captureFn = Error.captureStackTrace;
709
- return _createCustomError(name, function () {
712
+ var ctorFn = function () {
710
713
  var _this = this;
711
714
  var theArgs = arguments;
715
+ var isOwnInstance = _this[CONSTRUCTOR] === ctorFn;
712
716
  try {
713
717
  safe(_setName, [theBaseClass, name]);
714
718
  var _self = fnApply(theBaseClass, _this, superArgsFn ? superArgsFn(theArgs) : ArrSlice[CALL](theArgs)) || _this;
@@ -718,14 +722,19 @@ function createCustomError(name, constructCb, errorBase, superArgsFn) {
718
722
  objSetPrototypeOf(_self, orgProto);
719
723
  }
720
724
  }
721
- captureFn && captureFn(_self, _this[CONSTRUCTOR]);
722
- constructCb && constructCb(_self, theArgs);
725
+ if (isOwnInstance) {
726
+ captureFn && captureFn(_self, ctorFn);
727
+ }
728
+ if (constructCb) {
729
+ fnCall(constructCb, _self, _self, theArgs, isOwnInstance);
730
+ }
723
731
  return _self;
724
732
  }
725
733
  finally {
726
734
  safe(_setName, [theBaseClass, orgName]);
727
735
  }
728
- }, theBaseClass);
736
+ };
737
+ return _createCustomError(name, ctorFn, theBaseClass);
729
738
  }
730
739
  var strReplace = (/*#__PURE__*/_unwrapFunction("replace", StrProto));
731
740
  /*#__NO_SIDE_EFFECTS__*/
@@ -2012,7 +2021,7 @@ function newId(maxLength) {
2012
2021
  return result;
2013
2022
  }
2014
2023
 
2015
- var version = "3.4.3";
2024
+ var version = "3.4.4-nightly3.2608-02";
2016
2025
  var instanceName = "." + newId(6);
2017
2026
  var _dataUid = 0;
2018
2027
  function _canAcceptData(target) {
@@ -4308,7 +4317,7 @@ function removePageShowEventListener(listener, evtNamespace) {
4308
4317
  }
4309
4318
 
4310
4319
  var _a$1;
4311
- var ExtVersion = '4.4.3';
4320
+ var ExtVersion = '4.4.4-nightly3.2608-02';
4312
4321
  var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
4313
4322
  var FullVersionString = ExtFullVersionString;
4314
4323
  var ObjHasOwnProperty = Object.prototype[_DYN_HAS_OWN_PROPERTY ];
@@ -6020,7 +6029,7 @@ var PostChannel = /** @class */ (function (_super) {
6020
6029
  var _this = _super.call(this) || this;
6021
6030
  _this.identifier = "PostChannel";
6022
6031
  _this.priority = 1011;
6023
- _this.version = '4.4.3';
6032
+ _this.version = '4.4.4-nightly3.2608-02';
6024
6033
  var _postConfig;
6025
6034
  var _isTeardownCalled = false;
6026
6035
  var _flushCallbackQueue = [];
@@ -6836,4 +6845,4 @@ exports.PostChannel = PostChannel;
6836
6845
  exports.RT_PROFILE = RT_PROFILE;
6837
6846
 
6838
6847
  }));
6839
- //# sourceMappingURL=ms.post-4.4.3.gbl.js.map
6848
+ //# sourceMappingURL=ms.post-4.4.4-nightly3.2608-02.gbl.js.map