@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.
- package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.gbl.js → ms.core-4.4.6.gbl.js} +29 -6
- package/bundle/es5/ms.core-4.4.6.gbl.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.gbl.min.js +7 -0
- package/bundle/es5/ms.core-4.4.6.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.js → ms.core-4.4.6.js} +29 -6
- package/bundle/es5/ms.core-4.4.6.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.min.js +7 -0
- package/bundle/es5/ms.core-4.4.6.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +28 -5
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +28 -5
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +26 -3
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/Index.js +1 -1
- package/package.json +78 -81
- package/types/1ds-core-js.d.ts +1 -1
- package/types/1ds-core-js.namespaced.d.ts +19 -2
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.integrity.json +0 -46
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js +0 -7
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK Core, 4.4.6
|
|
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
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
var undef = "undefined";
|
|
8
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
9
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.4.6
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_4_6", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.4.6";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -875,6 +875,7 @@ function createIterator(ctx) {
|
|
|
875
875
|
return theIterator;
|
|
876
876
|
}
|
|
877
877
|
var arrReduce = (/*#__PURE__*/_unwrapFunction("reduce", ArrProto));
|
|
878
|
+
var arrSome = (/*#__PURE__*/_unwrapFunction("some", ArrProto));
|
|
878
879
|
var _isProtoArray;
|
|
879
880
|
var objSetPrototypeOf = (/*#__PURE__*/_pureAssign((/*#__PURE__*/_pureRef(ObjClass$1, "setPrototypeOf")), _polyObjSetPrototypeOf));
|
|
880
881
|
function _polyObjSetPrototypeOf(obj, proto) {
|
|
@@ -2966,7 +2967,7 @@ function newId(maxLength) {
|
|
|
2966
2967
|
return result;
|
|
2967
2968
|
}
|
|
2968
2969
|
|
|
2969
|
-
var version = '3.4.6
|
|
2970
|
+
var version = '3.4.6';
|
|
2970
2971
|
var instanceName = "." + newId(6);
|
|
2971
2972
|
var _dataUid = 0;
|
|
2972
2973
|
function _canAcceptData(target) {
|
|
@@ -4671,6 +4672,19 @@ function uaDisallowsSameSiteNone(userAgent) {
|
|
|
4671
4672
|
var defaultValues$1 = {
|
|
4672
4673
|
perfEvtsSendAll: false
|
|
4673
4674
|
};
|
|
4675
|
+
function _getNotificationCallbacks(manager) {
|
|
4676
|
+
return {
|
|
4677
|
+
eventsSent: manager[STR_EVENTS_SENT ],
|
|
4678
|
+
eventsDiscarded: manager[STR_EVENTS_DISCARDED ],
|
|
4679
|
+
eventsRetry: manager[STR_EVENTS_RETRY ],
|
|
4680
|
+
eventsSendRequest: manager[STR_EVENTS_SEND_REQUEST ],
|
|
4681
|
+
perfEvent: manager[STR_PERF_EVENT ],
|
|
4682
|
+
offlineEventsStored: manager[STR_OFFLINE_STORE ],
|
|
4683
|
+
offlineBatchSent: manager[STR_OFFLINE_SENT ],
|
|
4684
|
+
offlineBatchDrop: manager[STR_OFFLINE_DROP ],
|
|
4685
|
+
unload: manager[_DYN_UNLOAD ]
|
|
4686
|
+
};
|
|
4687
|
+
}
|
|
4674
4688
|
function _runScheduledListeners(asyncNotifications) {
|
|
4675
4689
|
asyncNotifications.h = null;
|
|
4676
4690
|
var callbacks = asyncNotifications.cb;
|
|
@@ -4700,6 +4714,8 @@ var NotificationManager = /** @class */ (function () {
|
|
|
4700
4714
|
this.listeners = [];
|
|
4701
4715
|
var perfEvtsSendAll;
|
|
4702
4716
|
var unloadHandler;
|
|
4717
|
+
var _notificationCallbacks;
|
|
4718
|
+
var _notificationProxies;
|
|
4703
4719
|
var _listeners = [];
|
|
4704
4720
|
var _asyncNotifications = {
|
|
4705
4721
|
h: null,
|
|
@@ -4757,6 +4773,11 @@ var NotificationManager = /** @class */ (function () {
|
|
|
4757
4773
|
listener[STR_EVENTS_RETRY ](events, statusCode);
|
|
4758
4774
|
});
|
|
4759
4775
|
};
|
|
4776
|
+
_self.hasListener = function (name) {
|
|
4777
|
+
var callback = _self[name];
|
|
4778
|
+
return this !== _self || (callback !== _notificationCallbacks[name] && callback !== _notificationProxies[name]) ||
|
|
4779
|
+
arrSome(_listeners, function (listener) { return !!(listener && listener[name]); });
|
|
4780
|
+
};
|
|
4760
4781
|
_self[STR_OFFLINE_STORE ] = function (events) {
|
|
4761
4782
|
if (events && events[_DYN_LENGTH ]) {
|
|
4762
4783
|
_runListeners(_listeners, STR_OFFLINE_STORE, _asyncNotifications, function (listener) {
|
|
@@ -4810,7 +4831,9 @@ var NotificationManager = /** @class */ (function () {
|
|
|
4810
4831
|
_finishUnload();
|
|
4811
4832
|
}
|
|
4812
4833
|
};
|
|
4834
|
+
_notificationCallbacks = _getNotificationCallbacks(_self);
|
|
4813
4835
|
});
|
|
4836
|
+
_notificationProxies = _getNotificationCallbacks(NotificationManager.prototype);
|
|
4814
4837
|
}
|
|
4815
4838
|
NotificationManager.__ieDyn=1;
|
|
4816
4839
|
return NotificationManager;
|
|
@@ -8750,7 +8773,7 @@ var TraceLevel = (/*@__PURE__*/createEnumStyle({
|
|
|
8750
8773
|
}));
|
|
8751
8774
|
|
|
8752
8775
|
var _a;
|
|
8753
|
-
var ExtVersion = '4.4.6
|
|
8776
|
+
var ExtVersion = '4.4.6';
|
|
8754
8777
|
var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
|
|
8755
8778
|
var Version = ExtVersion;
|
|
8756
8779
|
var FullVersionString = ExtFullVersionString;
|
|
@@ -9687,4 +9710,4 @@ exports.toISOString = toISOString;
|
|
|
9687
9710
|
exports.useXDomainRequest = useXDomainRequest;
|
|
9688
9711
|
|
|
9689
9712
|
}));
|
|
9690
|
-
//# sourceMappingURL=ms.core-4.4.6
|
|
9713
|
+
//# sourceMappingURL=ms.core-4.4.6.gbl.js.map
|