@microsoft/1ds-post-js 4.3.4-nightly3.2409-15 → 4.3.4-nightly3.2409-17
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.post-4.3.4-nightly3.2409-15.gbl.js → ms.post-4.3.4-nightly3.2409-17.gbl.js} +39 -20
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.3.4-nightly3.2409-15.js → ms.post-4.3.4-nightly3.2409-17.js} +39 -20
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.min.js +7 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-17.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +38 -19
- package/bundle/es5/ms.post.gbl.js.map +1 -1
- package/bundle/es5/ms.post.gbl.min.js +2 -2
- package/bundle/es5/ms.post.gbl.min.js.map +1 -1
- package/bundle/es5/ms.post.integrity.json +17 -17
- package/bundle/es5/ms.post.js +38 -19
- package/bundle/es5/ms.post.js.map +1 -1
- package/bundle/es5/ms.post.min.js +2 -2
- package/bundle/es5/ms.post.min.js.map +1 -1
- package/dist/es5/ms.post.js +36 -17
- package/dist/es5/ms.post.js.map +1 -1
- package/dist/es5/ms.post.min.js +2 -2
- package/dist/es5/ms.post.min.js.map +1 -1
- package/dist-es5/BatchNotificationActions.js +1 -1
- package/dist-es5/ClockSkewManager.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +1 -1
- package/dist-es5/HttpManager.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +1 -1
- package/dist-es5/PostChannel.js +2 -2
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +1 -1
- package/dist-es5/Serializer.js +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +2 -2
- package/types/1ds-post-js.d.ts +1 -1
- package/types/1ds-post-js.namespaced.d.ts +1 -1
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.integrity.json +0 -46
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.js.map +0 -1
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.min.js +0 -7
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-15.min.js.map +0 -1
package/bundle/es5/{ms.post-4.3.4-nightly3.2409-15.gbl.js → ms.post-4.3.4-nightly3.2409-17.gbl.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK POST plugin, 4.3.4-nightly3.2409-
|
|
2
|
+
* 1DS JS SDK POST plugin, 4.3.4-nightly3.2409-17
|
|
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.3.4-nightly3.2409-
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_4_nightly3_2409_17", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.3.4-nightly3.2409-17";
|
|
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.
|
|
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]] =
|
|
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
|
|
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
|
|
288
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
285
289
|
return function (thisArg) {
|
|
286
|
-
var theFunc = (thisArg
|
|
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)
|
|
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)
|
|
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
|
|
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
|
-
|
|
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]() :
|
|
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
|
|
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-
|
|
1833
|
+
var version = '3.3.4-nightly3.2409-17';
|
|
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-
|
|
4104
|
+
var Version = '4.3.4-nightly3.2409-17';
|
|
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-
|
|
5797
|
+
_this.version = '4.3.4-nightly3.2409-17';
|
|
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-
|
|
6582
|
+
//# sourceMappingURL=ms.post-4.3.4-nightly3.2409-17.gbl.js.map
|