@microsoft/1ds-post-js 4.3.7-nightly3.2505-01 → 4.3.7-nightly3.2505-03

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 (46) hide show
  1. package/bundle/es5/{ms.post-4.3.7-nightly3.2505-01.gbl.js → ms.post-4.3.7-nightly3.2505-03.gbl.js} +10 -11
  2. package/bundle/es5/ms.post-4.3.7-nightly3.2505-03.gbl.js.map +1 -0
  3. package/bundle/es5/{ms.post-4.3.7-nightly3.2505-01.gbl.min.js → ms.post-4.3.7-nightly3.2505-03.gbl.min.js} +3 -3
  4. package/bundle/es5/ms.post-4.3.7-nightly3.2505-03.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.7-nightly3.2505-03.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.7-nightly3.2505-01.js → ms.post-4.3.7-nightly3.2505-03.js} +10 -11
  7. package/bundle/es5/ms.post-4.3.7-nightly3.2505-03.js.map +1 -0
  8. package/bundle/es5/{ms.post-4.3.7-nightly3.2505-01.min.js → ms.post-4.3.7-nightly3.2505-03.min.js} +3 -3
  9. package/bundle/es5/ms.post-4.3.7-nightly3.2505-03.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +9 -10
  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 +9 -10
  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 +7 -8
  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 +2 -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 +2 -2
  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 +4 -34
  42. package/bundle/es5/ms.post-4.3.7-nightly3.2505-01.gbl.js.map +0 -1
  43. package/bundle/es5/ms.post-4.3.7-nightly3.2505-01.gbl.min.js.map +0 -1
  44. package/bundle/es5/ms.post-4.3.7-nightly3.2505-01.integrity.json +0 -46
  45. package/bundle/es5/ms.post-4.3.7-nightly3.2505-01.js.map +0 -1
  46. package/bundle/es5/ms.post-4.3.7-nightly3.2505-01.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.3.7-nightly3.2505-01
2
+ * 1DS JS SDK POST plugin, 4.3.7-nightly3.2505-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1590,7 +1590,7 @@
1590
1590
  }
1591
1591
  return theObject;
1592
1592
  }
1593
- function isFeatureEnabled(feature, cfg) {
1593
+ function isFeatureEnabled(feature, cfg, sdkDefaultState) {
1594
1594
  var ft = cfg && cfg.featureOptIn && cfg.featureOptIn[feature];
1595
1595
  if (feature && ft) {
1596
1596
  var mode = ft.mode;
@@ -1600,9 +1600,8 @@
1600
1600
  else if (mode === 2 ) {
1601
1601
  return false;
1602
1602
  }
1603
- return UNDEFINED_VALUE;
1604
1603
  }
1605
- return UNDEFINED_VALUE;
1604
+ return sdkDefaultState;
1606
1605
  }
1607
1606
  function getResponseText(xhr) {
1608
1607
  try {
@@ -1908,7 +1907,7 @@
1908
1907
  return result;
1909
1908
  }
1910
1909
 
1911
- var version = '3.3.7-nightly3.2505-01';
1910
+ var version = '3.3.7-nightly3.2505-03';
1912
1911
  var instanceName = "." + newId(6);
1913
1912
  var _dataUid = 0;
1914
1913
  function _canAcceptData(target) {
@@ -4234,7 +4233,7 @@
4234
4233
  var _DYN_PROCESS_TELEMETRY_ST0 = "processTelemetryStart";
4235
4234
 
4236
4235
  var _a$1;
4237
- var Version = '4.3.7-nightly3.2505-01';
4236
+ var Version = '4.3.7-nightly3.2505-03';
4238
4237
  var FullVersionString = "1DS-Web-JS-" + Version;
4239
4238
  var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
4240
4239
  var _fieldTypeEventPropMap = (_a$1 = {},
@@ -5089,7 +5088,7 @@
5089
5088
  }
5090
5089
  _xhrTimeout = channelConfig.xhrTimeout;
5091
5090
  var csStream = getInst("CompressionStream");
5092
- _zipPayload = isFeatureEnabled("zipPayload", coreConfig);
5091
+ _zipPayload = isFeatureEnabled("zipPayload", coreConfig, false);
5093
5092
  if (!isFunction(csStream) || _sendHook) {
5094
5093
  _zipPayload = false;
5095
5094
  }
@@ -5941,7 +5940,7 @@
5941
5940
  var _this = _super.call(this) || this;
5942
5941
  _this.identifier = "PostChannel";
5943
5942
  _this.priority = 1011;
5944
- _this.version = '4.3.7-nightly3.2505-01';
5943
+ _this.version = '4.3.7-nightly3.2505-03';
5945
5944
  var _postConfig;
5946
5945
  var _isTeardownCalled = false;
5947
5946
  var _flushCallbackQueue = [];