@microsoft/1ds-core-js 4.4.6-nightly3.2610-15 → 4.4.6

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 (33) hide show
  1. package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.gbl.js → ms.core-4.4.6.gbl.js} +29 -6
  2. package/bundle/es5/ms.core-4.4.6.gbl.js.map +1 -0
  3. package/bundle/es5/ms.core-4.4.6.gbl.min.js +7 -0
  4. package/bundle/es5/ms.core-4.4.6.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.core-4.4.6.integrity.json +46 -0
  6. package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.js → ms.core-4.4.6.js} +29 -6
  7. package/bundle/es5/ms.core-4.4.6.js.map +1 -0
  8. package/bundle/es5/ms.core-4.4.6.min.js +7 -0
  9. package/bundle/es5/ms.core-4.4.6.min.js.map +1 -0
  10. package/bundle/es5/ms.core.gbl.js +28 -5
  11. package/bundle/es5/ms.core.gbl.js.map +1 -1
  12. package/bundle/es5/ms.core.gbl.min.js +2 -2
  13. package/bundle/es5/ms.core.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.core.integrity.json +17 -17
  15. package/bundle/es5/ms.core.js +28 -5
  16. package/bundle/es5/ms.core.js.map +1 -1
  17. package/bundle/es5/ms.core.min.js +2 -2
  18. package/bundle/es5/ms.core.min.js.map +1 -1
  19. package/dist/es5/ms.core.js +26 -3
  20. package/dist/es5/ms.core.js.map +1 -1
  21. package/dist/es5/ms.core.min.js +2 -2
  22. package/dist/es5/ms.core.min.js.map +1 -1
  23. package/dist-es5/Index.js +1 -1
  24. package/package.json +78 -81
  25. package/types/1ds-core-js.d.ts +1 -1
  26. package/types/1ds-core-js.namespaced.d.ts +19 -2
  27. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.js.map +0 -1
  28. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js +0 -7
  29. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
  30. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.integrity.json +0 -46
  31. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.js.map +0 -1
  32. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js +0 -7
  33. package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK Core, 4.4.6-nightly3.2610-15
2
+ * 1DS JS SDK Core, 4.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -858,6 +858,7 @@
858
858
  return theIterator;
859
859
  }
860
860
  var arrReduce = (/*#__PURE__*/_unwrapFunction("reduce", ArrProto));
861
+ var arrSome = (/*#__PURE__*/_unwrapFunction("some", ArrProto));
861
862
  var _isProtoArray;
862
863
  var objSetPrototypeOf = (/*#__PURE__*/_pureAssign((/*#__PURE__*/_pureRef(ObjClass$1, "setPrototypeOf")), _polyObjSetPrototypeOf));
863
864
  function _polyObjSetPrototypeOf(obj, proto) {
@@ -2949,7 +2950,7 @@
2949
2950
  return result;
2950
2951
  }
2951
2952
 
2952
- var version = '3.4.6-nightly3.2610-15';
2953
+ var version = '3.4.6';
2953
2954
  var instanceName = "." + newId(6);
2954
2955
  var _dataUid = 0;
2955
2956
  function _canAcceptData(target) {
@@ -4654,6 +4655,19 @@
4654
4655
  var defaultValues$1 = {
4655
4656
  perfEvtsSendAll: false
4656
4657
  };
4658
+ function _getNotificationCallbacks(manager) {
4659
+ return {
4660
+ eventsSent: manager[STR_EVENTS_SENT ],
4661
+ eventsDiscarded: manager[STR_EVENTS_DISCARDED ],
4662
+ eventsRetry: manager[STR_EVENTS_RETRY ],
4663
+ eventsSendRequest: manager[STR_EVENTS_SEND_REQUEST ],
4664
+ perfEvent: manager[STR_PERF_EVENT ],
4665
+ offlineEventsStored: manager[STR_OFFLINE_STORE ],
4666
+ offlineBatchSent: manager[STR_OFFLINE_SENT ],
4667
+ offlineBatchDrop: manager[STR_OFFLINE_DROP ],
4668
+ unload: manager[_DYN_UNLOAD ]
4669
+ };
4670
+ }
4657
4671
  function _runScheduledListeners(asyncNotifications) {
4658
4672
  asyncNotifications.h = null;
4659
4673
  var callbacks = asyncNotifications.cb;
@@ -4683,6 +4697,8 @@
4683
4697
  this.listeners = [];
4684
4698
  var perfEvtsSendAll;
4685
4699
  var unloadHandler;
4700
+ var _notificationCallbacks;
4701
+ var _notificationProxies;
4686
4702
  var _listeners = [];
4687
4703
  var _asyncNotifications = {
4688
4704
  h: null,
@@ -4740,6 +4756,11 @@
4740
4756
  listener[STR_EVENTS_RETRY ](events, statusCode);
4741
4757
  });
4742
4758
  };
4759
+ _self.hasListener = function (name) {
4760
+ var callback = _self[name];
4761
+ return this !== _self || (callback !== _notificationCallbacks[name] && callback !== _notificationProxies[name]) ||
4762
+ arrSome(_listeners, function (listener) { return !!(listener && listener[name]); });
4763
+ };
4743
4764
  _self[STR_OFFLINE_STORE ] = function (events) {
4744
4765
  if (events && events[_DYN_LENGTH ]) {
4745
4766
  _runListeners(_listeners, STR_OFFLINE_STORE, _asyncNotifications, function (listener) {
@@ -4793,7 +4814,9 @@
4793
4814
  _finishUnload();
4794
4815
  }
4795
4816
  };
4817
+ _notificationCallbacks = _getNotificationCallbacks(_self);
4796
4818
  });
4819
+ _notificationProxies = _getNotificationCallbacks(NotificationManager.prototype);
4797
4820
  }
4798
4821
  NotificationManager.__ieDyn=1;
4799
4822
  return NotificationManager;
@@ -8733,7 +8756,7 @@
8733
8756
  }));
8734
8757
 
8735
8758
  var _a;
8736
- var ExtVersion = '4.4.6-nightly3.2610-15';
8759
+ var ExtVersion = '4.4.6';
8737
8760
  var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
8738
8761
  var Version = ExtVersion;
8739
8762
  var FullVersionString = ExtFullVersionString;