@microsoft/1ds-post-js 4.3.11-nightly3.2511-05 → 4.3.11-nightly3.2512-10

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 (48) hide show
  1. package/bundle/es5/{ms.post-4.3.11-nightly3.2511-05.gbl.js → ms.post-4.3.11-nightly3.2512-10.gbl.js} +18 -16
  2. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.11-nightly3.2511-05.js → ms.post-4.3.11-nightly3.2512-10.js} +18 -16
  7. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.js.map +1 -0
  8. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.min.js +7 -0
  9. package/bundle/es5/ms.post-4.3.11-nightly3.2512-10.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +17 -15
  11. package/bundle/es5/ms.post.gbl.js.map +1 -1
  12. package/bundle/es5/ms.post.gbl.min.js +2 -2
  13. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.post.integrity.json +17 -17
  15. package/bundle/es5/ms.post.js +17 -15
  16. package/bundle/es5/ms.post.js.map +1 -1
  17. package/bundle/es5/ms.post.min.js +2 -2
  18. package/bundle/es5/ms.post.min.js.map +1 -1
  19. package/dist/es5/ms.post.js +15 -13
  20. package/dist/es5/ms.post.js.map +1 -1
  21. package/dist/es5/ms.post.min.js +2 -2
  22. package/dist/es5/ms.post.min.js.map +1 -1
  23. package/dist-es5/BatchNotificationActions.js +1 -1
  24. package/dist-es5/ClockSkewManager.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/EventBatch.js +1 -1
  27. package/dist-es5/HttpManager.js +6 -2
  28. package/dist-es5/HttpManager.js.map +1 -1
  29. package/dist-es5/Index.js +1 -1
  30. package/dist-es5/InternalConstants.js +1 -1
  31. package/dist-es5/KillSwitch.js +1 -1
  32. package/dist-es5/PostChannel.js +9 -9
  33. package/dist-es5/PostChannel.js.map +1 -1
  34. package/dist-es5/RetryPolicy.js +1 -1
  35. package/dist-es5/Serializer.js +1 -1
  36. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  37. package/dist-es5/__DynamicConstants.js +1 -1
  38. package/dist-es5/typings/XDomainRequest.js +1 -1
  39. package/package.json +2 -2
  40. package/types/1ds-post-js.d.ts +1 -1
  41. package/types/1ds-post-js.namespaced.d.ts +5 -3
  42. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.gbl.js.map +0 -1
  43. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.gbl.min.js +0 -7
  44. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.gbl.min.js.map +0 -1
  45. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.integrity.json +0 -46
  46. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.js.map +0 -1
  47. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.min.js +0 -7
  48. package/bundle/es5/ms.post-4.3.11-nightly3.2511-05.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.3.11-nightly3.2511-05
2
+ * 1DS JS SDK POST plugin, 4.3.11-nightly3.2512-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1157,7 +1157,8 @@
1157
1157
  InvalidEvent: 2 ,
1158
1158
  SizeLimitExceeded: 3 ,
1159
1159
  KillSwitch: 4 ,
1160
- QueueFull: 5
1160
+ QueueFull: 5 ,
1161
+ BeaconSendFailure: 6
1161
1162
  }));
1162
1163
 
1163
1164
  var _DYN_TO_LOWER_CASE$1 = "toLowerCase";
@@ -1933,7 +1934,7 @@
1933
1934
  return result;
1934
1935
  }
1935
1936
 
1936
- var version = '3.3.11-nightly3.2511-05';
1937
+ var version = '3.3.11-nightly3.2512-10';
1937
1938
  var instanceName = "." + newId(6);
1938
1939
  var _dataUid = 0;
1939
1940
  function _canAcceptData(target) {
@@ -4260,7 +4261,7 @@
4260
4261
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4261
4262
 
4262
4263
  var _a$1;
4263
- var Version = '4.3.11-nightly3.2511-05';
4264
+ var Version = '4.3.11-nightly3.2512-10';
4264
4265
  var FullVersionString = "1DS-Web-JS-" + Version;
4265
4266
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4266
4267
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -4982,6 +4983,7 @@
4982
4983
  _a[200 ] = "sent",
4983
4984
  _a[8004 ] = STR_DROPPED,
4984
4985
  _a[8003 ] = STR_DROPPED,
4986
+ _a[8006 ] = STR_DROPPED,
4985
4987
  _a);
4986
4988
  var _collectorQsHeaders = {};
4987
4989
  var _collectorHeaderToQs = {};
@@ -5390,7 +5392,7 @@
5390
5392
  thePayload.sentEvts = sentBatches_1;
5391
5393
  }
5392
5394
  if (!persistStorage) {
5393
- _sendBatchesNotification(droppedBatches_1, 8003 , thePayload[_DYN_SEND_TYPE ], true);
5395
+ _sendBatchesNotification(droppedBatches_1, 8006 , thePayload[_DYN_SEND_TYPE ], true);
5394
5396
  }
5395
5397
  }
5396
5398
  else {
@@ -5972,7 +5974,7 @@
5972
5974
  var _this = _super.call(this) || this;
5973
5975
  _this.identifier = "PostChannel";
5974
5976
  _this.priority = 1011;
5975
- _this.version = '4.3.11-nightly3.2511-05';
5977
+ _this.version = '4.3.11-nightly3.2512-10';
5976
5978
  var _postConfig;
5977
5979
  var _isTeardownCalled = false;
5978
5980
  var _flushCallbackQueue = [];
@@ -6532,7 +6534,7 @@
6532
6534
  else {
6533
6535
  _queueSize -= droppedCount;
6534
6536
  }
6535
- _notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull);
6537
+ _notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull, undefined);
6536
6538
  return true;
6537
6539
  }
6538
6540
  }
@@ -6726,17 +6728,17 @@
6726
6728
  _notifyBatchEvents("eventsSent", batches, reason);
6727
6729
  _scheduleTimer();
6728
6730
  }
6729
- function _eventsDropped(batches, reason) {
6731
+ function _eventsDropped(batches, reason, isSyncRequest, sendType) {
6730
6732
  _notifyBatchEvents(strEventsDiscarded, batches, (reason >= 8000 && reason <= 8999 ?
6731
6733
  reason - 8000 :
6732
- EventsDiscardedReason.Unknown));
6734
+ EventsDiscardedReason.Unknown), sendType);
6733
6735
  }
6734
- function _eventsResponseFail(batches) {
6735
- _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus);
6736
+ function _eventsResponseFail(batches, reason, isSyncRequest, sendType) {
6737
+ _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus, sendType);
6736
6738
  _scheduleTimer();
6737
6739
  }
6738
- function _otherEvent(batches, reason) {
6739
- _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown);
6740
+ function _otherEvent(batches, reason, isSyncRequest, sendType) {
6741
+ _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown, sendType);
6740
6742
  _scheduleTimer();
6741
6743
  }
6742
6744
  function _setAutoLimits() {