@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.
Files changed (48) hide show
  1. 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
  2. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.js.map +1 -0
  3. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.min.js +7 -0
  4. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.11-nightly3.2511-09.js → ms.post-4.3.11-nightly3.2512-15.js} +18 -16
  7. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.js.map +1 -0
  8. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.min.js +7 -0
  9. package/bundle/es5/ms.post-4.3.11-nightly3.2512-15.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-09.gbl.js.map +0 -1
  43. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.gbl.min.js +0 -7
  44. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.gbl.min.js.map +0 -1
  45. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.integrity.json +0 -46
  46. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.js.map +0 -1
  47. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.min.js +0 -7
  48. package/bundle/es5/ms.post-4.3.11-nightly3.2511-09.min.js.map +0 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "ms.post",
3
+ "version": "4.3.11-nightly3.2512-15",
4
+ "ext": {
5
+ "@gbl.js": {
6
+ "file": "ms.post-4.3.11-nightly3.2512-15.gbl.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-Cezs7oDNbQ4sPVEW0j3kvTU55HYhJvl3LSfczCZyY4I= sha384-Kpi4gWTZ+xWFxkUvHFhfD7WqzUezUa1XtV4zDi6V7AFd9AzCIE77A8G8uXNXyc3O sha512-KlAWjRD3gxaTzHDYi0JvmGY9TzvL5ms8DXrXwYqBzHTRbTo9j24JEQitGAwjqIFQMUAmXZUe0HlqtRZ52qIUNA==",
9
+ "hashes": {
10
+ "sha256": "Cezs7oDNbQ4sPVEW0j3kvTU55HYhJvl3LSfczCZyY4I=",
11
+ "sha384": "Kpi4gWTZ+xWFxkUvHFhfD7WqzUezUa1XtV4zDi6V7AFd9AzCIE77A8G8uXNXyc3O",
12
+ "sha512": "KlAWjRD3gxaTzHDYi0JvmGY9TzvL5ms8DXrXwYqBzHTRbTo9j24JEQitGAwjqIFQMUAmXZUe0HlqtRZ52qIUNA=="
13
+ }
14
+ },
15
+ "@gbl.min.js": {
16
+ "file": "ms.post-4.3.11-nightly3.2512-15.gbl.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-ojzbQhFyLv3wXn5Tamwn2nbKv4OeURgjST8tBqbkVXY= sha384-LT0IyMOACzh4c0sP1Vq0afM6xt7jfaMdJXZP29FJrvAZ2LCWqQ+8D3IRiOfrgS96 sha512-3UjSduSqJSOqhqt4g93CMtoRy5ho6Ghw+Qv7SUue/1s/P8aHwOvJua3JutRhRqSvrXIHf512Ecl+BvT5T8ieSw==",
19
+ "hashes": {
20
+ "sha256": "ojzbQhFyLv3wXn5Tamwn2nbKv4OeURgjST8tBqbkVXY=",
21
+ "sha384": "LT0IyMOACzh4c0sP1Vq0afM6xt7jfaMdJXZP29FJrvAZ2LCWqQ+8D3IRiOfrgS96",
22
+ "sha512": "3UjSduSqJSOqhqt4g93CMtoRy5ho6Ghw+Qv7SUue/1s/P8aHwOvJua3JutRhRqSvrXIHf512Ecl+BvT5T8ieSw=="
23
+ }
24
+ },
25
+ "@js": {
26
+ "file": "ms.post-4.3.11-nightly3.2512-15.js",
27
+ "type": "text/javascript; charset=utf-8",
28
+ "integrity": "sha256-/UyuGCWT86sdjcIKZEJynzKdxAodAB8mrTQY06tXUXw= sha384-hJ4WXFeNavO5f3hqRaF+xHdvSAbHA7s6evb5WzV7JENALA/WcW3CSNDaPhhFwfi7 sha512-8mwIn1X7c3YlrY3JzutsJ+SSCDwX3W3hXOTDsIBdGZh1QhzWlmHen/DMiZtWkQ7cFzdt+7UcPGEy1C8ZQd5ajw==",
29
+ "hashes": {
30
+ "sha256": "/UyuGCWT86sdjcIKZEJynzKdxAodAB8mrTQY06tXUXw=",
31
+ "sha384": "hJ4WXFeNavO5f3hqRaF+xHdvSAbHA7s6evb5WzV7JENALA/WcW3CSNDaPhhFwfi7",
32
+ "sha512": "8mwIn1X7c3YlrY3JzutsJ+SSCDwX3W3hXOTDsIBdGZh1QhzWlmHen/DMiZtWkQ7cFzdt+7UcPGEy1C8ZQd5ajw=="
33
+ }
34
+ },
35
+ "@min.js": {
36
+ "file": "ms.post-4.3.11-nightly3.2512-15.min.js",
37
+ "type": "text/javascript; charset=utf-8",
38
+ "integrity": "sha256-JAwaynCuCRBxIFQ40SYkfkQbbkEho0WZRdY+yR3oWEM= sha384-jPjljPHr8feznLUvc0OdwCk5SnpFwPtkOIx3H6UveWKSZ69kUK4NoGOEsmW8/ALS sha512-9LPweTB7WEWRfmkfETBy/e/J7PZSEzlFqn4LbID8UWT77GJ3rAkR0vbjogI9T/ZkqrxRfTCLwgOpik3zCSyi/Q==",
39
+ "hashes": {
40
+ "sha256": "JAwaynCuCRBxIFQ40SYkfkQbbkEho0WZRdY+yR3oWEM=",
41
+ "sha384": "jPjljPHr8feznLUvc0OdwCk5SnpFwPtkOIx3H6UveWKSZ69kUK4NoGOEsmW8/ALS",
42
+ "sha512": "9LPweTB7WEWRfmkfETBy/e/J7PZSEzlFqn4LbID8UWT77GJ3rAkR0vbjogI9T/ZkqrxRfTCLwgOpik3zCSyi/Q=="
43
+ }
44
+ }
45
+ }
46
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.3.11-nightly3.2511-09
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
  */
@@ -8,8 +8,8 @@
8
8
  typeof exports === "object" && typeof module !== undef ? factory(exports) :
9
9
  typeof define === "function" && define.amd ? define(["exports"], factory) :
10
10
  (function(global){
11
- var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_11_nightly3_2511_09", msMod="__ms$mod__";
12
- var mods={}, modDetail=mods[modName]={}, ver="4.3.11-nightly3.2511-09";
11
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_3_11_nightly3_2512_15", msMod="__ms$mod__";
12
+ var mods={}, modDetail=mods[modName]={}, ver="4.3.11-nightly3.2512-15";
13
13
  // Versioned namespace "oneDS4"
14
14
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
15
  // Global namespace "oneDS"
@@ -1178,7 +1178,8 @@ var EventsDiscardedReason = ( /* @__PURE__ */createEnumStyle({
1178
1178
  InvalidEvent: 2 ,
1179
1179
  SizeLimitExceeded: 3 ,
1180
1180
  KillSwitch: 4 ,
1181
- QueueFull: 5
1181
+ QueueFull: 5 ,
1182
+ BeaconSendFailure: 6
1182
1183
  }));
1183
1184
 
1184
1185
  var _DYN_TO_LOWER_CASE$1 = "toLowerCase";
@@ -1954,7 +1955,7 @@ function newId(maxLength) {
1954
1955
  return result;
1955
1956
  }
1956
1957
 
1957
- var version = '3.3.11-nightly3.2511-09';
1958
+ var version = '3.3.11-nightly3.2512-15';
1958
1959
  var instanceName = "." + newId(6);
1959
1960
  var _dataUid = 0;
1960
1961
  function _canAcceptData(target) {
@@ -4281,7 +4282,7 @@ var _DYN_LENGTH$1 = "length";
4281
4282
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4282
4283
 
4283
4284
  var _a$1;
4284
- var Version = '4.3.11-nightly3.2511-09';
4285
+ var Version = '4.3.11-nightly3.2512-15';
4285
4286
  var FullVersionString = "1DS-Web-JS-" + Version;
4286
4287
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4287
4288
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -5003,6 +5004,7 @@ var _eventActionMap = (_a = {},
5003
5004
  _a[200 ] = "sent",
5004
5005
  _a[8004 ] = STR_DROPPED,
5005
5006
  _a[8003 ] = STR_DROPPED,
5007
+ _a[8006 ] = STR_DROPPED,
5006
5008
  _a);
5007
5009
  var _collectorQsHeaders = {};
5008
5010
  var _collectorHeaderToQs = {};
@@ -5411,7 +5413,7 @@ var HttpManager = /** @class */ (function () {
5411
5413
  thePayload.sentEvts = sentBatches_1;
5412
5414
  }
5413
5415
  if (!persistStorage) {
5414
- _sendBatchesNotification(droppedBatches_1, 8003 , thePayload[_DYN_SEND_TYPE ], true);
5416
+ _sendBatchesNotification(droppedBatches_1, 8006 , thePayload[_DYN_SEND_TYPE ], true);
5415
5417
  }
5416
5418
  }
5417
5419
  else {
@@ -5993,7 +5995,7 @@ var PostChannel = /** @class */ (function (_super) {
5993
5995
  var _this = _super.call(this) || this;
5994
5996
  _this.identifier = "PostChannel";
5995
5997
  _this.priority = 1011;
5996
- _this.version = '4.3.11-nightly3.2511-09';
5998
+ _this.version = '4.3.11-nightly3.2512-15';
5997
5999
  var _postConfig;
5998
6000
  var _isTeardownCalled = false;
5999
6001
  var _flushCallbackQueue = [];
@@ -6553,7 +6555,7 @@ var PostChannel = /** @class */ (function (_super) {
6553
6555
  else {
6554
6556
  _queueSize -= droppedCount;
6555
6557
  }
6556
- _notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull);
6558
+ _notifyBatchEvents(strEventsDiscarded, [droppedEvents], EventsDiscardedReason.QueueFull, undefined);
6557
6559
  return true;
6558
6560
  }
6559
6561
  }
@@ -6747,17 +6749,17 @@ var PostChannel = /** @class */ (function (_super) {
6747
6749
  _notifyBatchEvents("eventsSent", batches, reason);
6748
6750
  _scheduleTimer();
6749
6751
  }
6750
- function _eventsDropped(batches, reason) {
6752
+ function _eventsDropped(batches, reason, isSyncRequest, sendType) {
6751
6753
  _notifyBatchEvents(strEventsDiscarded, batches, (reason >= 8000 && reason <= 8999 ?
6752
6754
  reason - 8000 :
6753
- EventsDiscardedReason.Unknown));
6755
+ EventsDiscardedReason.Unknown), sendType);
6754
6756
  }
6755
- function _eventsResponseFail(batches) {
6756
- _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus);
6757
+ function _eventsResponseFail(batches, reason, isSyncRequest, sendType) {
6758
+ _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.NonRetryableStatus, sendType);
6757
6759
  _scheduleTimer();
6758
6760
  }
6759
- function _otherEvent(batches, reason) {
6760
- _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown);
6761
+ function _otherEvent(batches, reason, isSyncRequest, sendType) {
6762
+ _notifyBatchEvents(strEventsDiscarded, batches, EventsDiscardedReason.Unknown, sendType);
6761
6763
  _scheduleTimer();
6762
6764
  }
6763
6765
  function _setAutoLimits() {
@@ -6781,4 +6783,4 @@ exports.PostChannel = PostChannel;
6781
6783
  exports.RT_PROFILE = RT_PROFILE;
6782
6784
 
6783
6785
  }));
6784
- //# sourceMappingURL=ms.post-4.3.11-nightly3.2511-09.js.map
6786
+ //# sourceMappingURL=ms.post-4.3.11-nightly3.2512-15.js.map