@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.
- 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
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.3.4-nightly3.2409-15.js → ms.post-4.3.4-nightly3.2409-18.js} +39 -20
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.js.map +1 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.min.js +7 -0
- package/bundle/es5/ms.post-4.3.4-nightly3.2409-18.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/dist/es5/ms.post.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK POST plugin, 4.3.4-nightly3.2409-
|
|
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
|
*/
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
var ObjClass$1 = Object;
|
|
21
21
|
var ObjProto$1 = ObjClass$1[strShimPrototype];
|
|
22
22
|
|
|
23
|
-
/*! https://github.com/nevware21/ts-utils v0.11.
|
|
23
|
+
/*! https://github.com/nevware21/ts-utils v0.11.4 */
|
|
24
24
|
/*#__NO_SIDE_EFFECTS__*/
|
|
25
25
|
function _pureAssign(func1, func2) {
|
|
26
26
|
return func1 || func2;
|
|
@@ -73,6 +73,10 @@
|
|
|
73
73
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
74
74
|
}
|
|
75
75
|
/*#__NO_SIDE_EFFECTS__*/
|
|
76
|
+
function isStrictUndefined(arg) {
|
|
77
|
+
return !isDefined(arg);
|
|
78
|
+
}
|
|
79
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
76
80
|
function isNullOrUndefined(value) {
|
|
77
81
|
return value === NULL_VALUE || isUndefined(value);
|
|
78
82
|
}
|
|
@@ -144,7 +148,7 @@
|
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
150
|
objForEachKey(value, function (key, value) {
|
|
147
|
-
prop[propMap[key]] =
|
|
151
|
+
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
|
|
148
152
|
});
|
|
149
153
|
return prop;
|
|
150
154
|
}
|
|
@@ -179,7 +183,7 @@
|
|
|
179
183
|
}
|
|
180
184
|
try {
|
|
181
185
|
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
182
|
-
propertyValueDump = (propertyValueDump
|
|
186
|
+
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
183
187
|
}
|
|
184
188
|
catch (e) {
|
|
185
189
|
propertyValueDump = " - " + dumpObj(e, format);
|
|
@@ -264,9 +268,9 @@
|
|
|
264
268
|
var _unwrapFunction = ( _unwrapFunctionWithPoly);
|
|
265
269
|
/*#__NO_SIDE_EFFECTS__*/
|
|
266
270
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
267
|
-
var clsFn = clsProto
|
|
271
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
268
272
|
return function (thisArg) {
|
|
269
|
-
var theFunc = (thisArg
|
|
273
|
+
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
|
|
270
274
|
if (theFunc || polyFunc) {
|
|
271
275
|
var theArgs = arguments;
|
|
272
276
|
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
|
|
@@ -357,24 +361,37 @@
|
|
|
357
361
|
var cachedValue;
|
|
358
362
|
return function () {
|
|
359
363
|
!_globalLazyTestHooks && _initTestHooks();
|
|
360
|
-
(!cachedValue || _globalLazyTestHooks.lzy)
|
|
364
|
+
if (!cachedValue || _globalLazyTestHooks.lzy) {
|
|
365
|
+
cachedValue = createCachedValue(safe(getFn, theArgs).v);
|
|
366
|
+
}
|
|
361
367
|
return cachedValue.v;
|
|
362
368
|
};
|
|
363
369
|
}
|
|
364
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
365
370
|
function getGlobal(useCached) {
|
|
366
371
|
!_globalLazyTestHooks && _initTestHooks();
|
|
367
|
-
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy)
|
|
372
|
+
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
|
|
373
|
+
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
|
|
374
|
+
}
|
|
368
375
|
return _cachedGlobal.v;
|
|
369
376
|
}
|
|
370
377
|
/*#__NO_SIDE_EFFECTS__*/
|
|
371
378
|
function getInst(name, useCached) {
|
|
372
|
-
var gbl
|
|
379
|
+
var gbl;
|
|
380
|
+
if (!_cachedGlobal || useCached === false) {
|
|
381
|
+
gbl = getGlobal(useCached);
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
gbl = _cachedGlobal.v;
|
|
385
|
+
}
|
|
373
386
|
if (gbl && gbl[name]) {
|
|
374
387
|
return gbl[name];
|
|
375
388
|
}
|
|
376
389
|
if (name === WINDOW) {
|
|
377
|
-
|
|
390
|
+
try {
|
|
391
|
+
return window;
|
|
392
|
+
}
|
|
393
|
+
catch (e) {
|
|
394
|
+
}
|
|
378
395
|
}
|
|
379
396
|
return NULL_VALUE;
|
|
380
397
|
}
|
|
@@ -444,7 +461,7 @@
|
|
|
444
461
|
if (iter) {
|
|
445
462
|
if (!isIterator(iter)) {
|
|
446
463
|
!_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
|
|
447
|
-
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() :
|
|
464
|
+
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
|
|
448
465
|
}
|
|
449
466
|
if (isIterator(iter)) {
|
|
450
467
|
var err = UNDEF_VALUE;
|
|
@@ -513,7 +530,7 @@
|
|
|
513
530
|
}
|
|
514
531
|
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
|
|
515
532
|
function arrSlice(theArray, start, end) {
|
|
516
|
-
return ((theArray
|
|
533
|
+
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
|
|
517
534
|
}
|
|
518
535
|
var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
|
|
519
536
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -625,7 +642,7 @@
|
|
|
625
642
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
626
643
|
proto = proto[CONSTRUCTOR];
|
|
627
644
|
}
|
|
628
|
-
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
645
|
+
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
|
|
629
646
|
}
|
|
630
647
|
}
|
|
631
648
|
catch (ex) {
|
|
@@ -735,6 +752,8 @@
|
|
|
735
752
|
return _createTimeoutWith(true, overrideFn, ArrSlice[CALL](arguments, 1));
|
|
736
753
|
}
|
|
737
754
|
|
|
755
|
+
(getGlobal() || {})["Symbol"];
|
|
756
|
+
(getGlobal() || {})["Reflect"];
|
|
738
757
|
var strHasOwnProperty = "hasOwnProperty";
|
|
739
758
|
var extendStaticsFn = function (d, b) {
|
|
740
759
|
extendStaticsFn = ObjClass$1["setPrototypeOf"] ||
|
|
@@ -1794,7 +1813,7 @@
|
|
|
1794
1813
|
return result;
|
|
1795
1814
|
}
|
|
1796
1815
|
|
|
1797
|
-
var version = '3.3.4-nightly3.2409-
|
|
1816
|
+
var version = '3.3.4-nightly3.2409-18';
|
|
1798
1817
|
var instanceName = "." + newId(6);
|
|
1799
1818
|
var _dataUid = 0;
|
|
1800
1819
|
function _canAcceptData(target) {
|
|
@@ -4065,7 +4084,7 @@
|
|
|
4065
4084
|
var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
|
|
4066
4085
|
|
|
4067
4086
|
var _a$1;
|
|
4068
|
-
var Version = '4.3.4-nightly3.2409-
|
|
4087
|
+
var Version = '4.3.4-nightly3.2409-18';
|
|
4069
4088
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
4070
4089
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
4071
4090
|
var _fieldTypeEventPropMap = (_a$1 = {},
|
|
@@ -5758,7 +5777,7 @@
|
|
|
5758
5777
|
var _this = _super.call(this) || this;
|
|
5759
5778
|
_this.identifier = "PostChannel";
|
|
5760
5779
|
_this.priority = 1011;
|
|
5761
|
-
_this.version = '4.3.4-nightly3.2409-
|
|
5780
|
+
_this.version = '4.3.4-nightly3.2409-18';
|
|
5762
5781
|
var _postConfig;
|
|
5763
5782
|
var _isTeardownCalled = false;
|
|
5764
5783
|
var _flushCallbackQueue = [];
|