@microsoft/1ds-post-js 4.3.11-nightly3.2511-09 → 4.3.11-nightly3.2512-15
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.11-nightly3.2511-09.gbl.js → ms.post-4.3.11-nightly3.2512-15.gbl.js} +18 -16
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.3.11-nightly3.2511-09.js → ms.post-4.3.11-nightly3.2512-15.js} +18 -16
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.js.map +1 -0
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.min.js +7 -0
- package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +17 -15
- 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 +17 -15
- 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 +15 -13
- 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 +6 -2
- package/dist-es5/HttpManager.js.map +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 +9 -9
- 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 +5 -3
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.integrity.json +0 -46
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.js.map +0 -1
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.min.js +0 -7
- package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.min.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK POST plugin, 4.3.11-nightly3.
|
|
2
|
+
* 1DS JS SDK POST plugin, 4.3.11-nightly3.2512-15
|
|
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.11-nightly3.
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_11_nightly3_2512_15", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.3.11-nightly3.2512-15";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -1174,7 +1174,8 @@ var EventsDiscardedReason = ( /* @__PURE__ */createEnumStyle({
|
|
|
1174
1174
|
InvalidEvent: 2 ,
|
|
1175
1175
|
SizeLimitExceeded: 3 ,
|
|
1176
1176
|
KillSwitch: 4 ,
|
|
1177
|
-
QueueFull: 5
|
|
1177
|
+
QueueFull: 5 ,
|
|
1178
|
+
BeaconSendFailure: 6
|
|
1178
1179
|
}));
|
|
1179
1180
|
|
|
1180
1181
|
var _DYN_TO_LOWER_CASE$1 = "toLowerCase";
|
|
@@ -1950,7 +1951,7 @@ function newId(maxLength) {
|
|
|
1950
1951
|
return result;
|
|
1951
1952
|
}
|
|
1952
1953
|
|
|
1953
|
-
var version = '3.3.11-nightly3.
|
|
1954
|
+
var version = '3.3.11-nightly3.2512-15';
|
|
1954
1955
|
var instanceName = "." + newId(6);
|
|
1955
1956
|
var _dataUid = 0;
|
|
1956
1957
|
function _canAcceptData(target) {
|
|
@@ -4277,7 +4278,7 @@ var _DYN_LENGTH$1 = "length";
|
|
|
4277
4278
|
var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
|
|
4278
4279
|
|
|
4279
4280
|
var _a$1;
|
|
4280
|
-
var Version = '4.3.11-nightly3.
|
|
4281
|
+
var Version = '4.3.11-nightly3.2512-15';
|
|
4281
4282
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
4282
4283
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
4283
4284
|
var _fieldTypeEventPropMap = (_a$1 = {},
|
|
@@ -4999,6 +5000,7 @@ var _eventActionMap = (_a = {},
|
|
|
4999
5000
|
_a[200 ] = "sent",
|
|
5000
5001
|
_a[8004 ] = STR_DROPPED,
|
|
5001
5002
|
_a[8003 ] = STR_DROPPED,
|
|
5003
|
+
_a[8006 ] = STR_DROPPED,
|
|
5002
5004
|
_a);
|
|
5003
5005
|
var _collectorQsHeaders = {};
|
|
5004
5006
|
var _collectorHeaderToQs = {};
|
|
@@ -5407,7 +5409,7 @@ var HttpManager = /** @class */ (function () {
|
|
|
5407
5409
|
thePayload.sentEvts = sentBatches_1;
|
|
5408
5410
|
}
|
|
5409
5411
|
if (!persistStorage) {
|
|
5410
|
-
_sendBatchesNotification(droppedBatches_1,
|
|
5412
|
+
_sendBatchesNotification(droppedBatches_1, 8006 , thePayload[_DYN_SEND_TYPE ], true);
|
|
5411
5413
|
}
|
|
5412
5414
|
}
|
|
5413
5415
|
else {
|
|
@@ -5989,7 +5991,7 @@ var PostChannel = /** @class */ (function (_super) {
|
|
|
5989
5991
|
var _this = _super.call(this) || this;
|
|
5990
5992
|
_this.identifier = "PostChannel";
|
|
5991
5993
|
_this.priority = 1011;
|
|
5992
|
-
_this.version = '4.3.11-nightly3.
|
|
5994
|
+
_this.version = '4.3.11-nightly3.2512-15';
|
|
5993
5995
|
var _postConfig;
|
|
5994
5996
|
var _isTeardownCalled = false;
|
|
5995
5997
|
var _flushCallbackQueue = [];
|
|
@@ -6549,7 +6551,7 @@ var PostChannel = /** @class */ (function (_super) {
|
|
|
6549
6551
|
else {
|
|
6550
6552
|
_queueSize -= droppedCount;
|
|
6551
6553
|
}
|
|
6552
|
-
_notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull);
|
|
6554
|
+
_notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull, undefined);
|
|
6553
6555
|
return true;
|
|
6554
6556
|
}
|
|
6555
6557
|
}
|
|
@@ -6743,17 +6745,17 @@ var PostChannel = /** @class */ (function (_super) {
|
|
|
6743
6745
|
_notifyBatchEvents("eventsSent", batches, reason);
|
|
6744
6746
|
_scheduleTimer();
|
|
6745
6747
|
}
|
|
6746
|
-
function _eventsDropped(batches, reason) {
|
|
6748
|
+
function _eventsDropped(batches, reason, isSyncRequest, sendType) {
|
|
6747
6749
|
_notifyBatchEvents(strEventsDiscarded, batches, (reason >= 8000 && reason <= 8999 ?
|
|
6748
6750
|
reason - 8000 :
|
|
6749
|
-
EventsDiscardedReason.Unknown));
|
|
6751
|
+
EventsDiscardedReason.Unknown), sendType);
|
|
6750
6752
|
}
|
|
6751
|
-
function _eventsResponseFail(batches) {
|
|
6752
|
-
_notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus);
|
|
6753
|
+
function _eventsResponseFail(batches, reason, isSyncRequest, sendType) {
|
|
6754
|
+
_notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus, sendType);
|
|
6753
6755
|
_scheduleTimer();
|
|
6754
6756
|
}
|
|
6755
|
-
function _otherEvent(batches, reason) {
|
|
6756
|
-
_notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown);
|
|
6757
|
+
function _otherEvent(batches, reason, isSyncRequest, sendType) {
|
|
6758
|
+
_notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown, sendType);
|
|
6757
6759
|
_scheduleTimer();
|
|
6758
6760
|
}
|
|
6759
6761
|
function _setAutoLimits() {
|