@microsoft/1ds-post-js 4.4.7-nightly3.2611-06 → 4.4.7-nightly3.2611-07

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 (42) hide show
  1. package/README.md +3 -2
  2. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.gbl.js → ms.post-4.4.7-nightly3.2611-07.gbl.js} +7 -7
  3. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.gbl.js.map → ms.post-4.4.7-nightly3.2611-07.gbl.js.map} +1 -1
  4. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.gbl.min.js → ms.post-4.4.7-nightly3.2611-07.gbl.min.js} +3 -3
  5. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.gbl.min.js.map → ms.post-4.4.7-nightly3.2611-07.gbl.min.js.map} +1 -1
  6. package/bundle/es5/ms.post-4.4.7-nightly3.2611-07.integrity.json +46 -0
  7. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.js → ms.post-4.4.7-nightly3.2611-07.js} +7 -7
  8. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.js.map → ms.post-4.4.7-nightly3.2611-07.js.map} +1 -1
  9. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.min.js → ms.post-4.4.7-nightly3.2611-07.min.js} +3 -3
  10. package/bundle/es5/{ms.post-4.4.7-nightly3.2611-06.min.js.map → ms.post-4.4.7-nightly3.2611-07.min.js.map} +1 -1
  11. package/bundle/es5/ms.post.gbl.js +6 -6
  12. package/bundle/es5/ms.post.gbl.js.map +1 -1
  13. package/bundle/es5/ms.post.gbl.min.js +2 -2
  14. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  15. package/bundle/es5/ms.post.integrity.json +17 -17
  16. package/bundle/es5/ms.post.js +6 -6
  17. package/bundle/es5/ms.post.js.map +1 -1
  18. package/bundle/es5/ms.post.min.js +2 -2
  19. package/bundle/es5/ms.post.min.js.map +1 -1
  20. package/dist/es5/ms.post.js +4 -4
  21. package/dist/es5/ms.post.js.map +1 -1
  22. package/dist/es5/ms.post.min.js +2 -2
  23. package/dist/es5/ms.post.min.js.map +1 -1
  24. package/dist-es5/BatchNotificationActions.js +1 -1
  25. package/dist-es5/ClockSkewManager.js +1 -1
  26. package/dist-es5/DataModels.js +1 -1
  27. package/dist-es5/EventBatch.js +1 -1
  28. package/dist-es5/HttpManager.js +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 +1 -1
  42. package/bundle/es5/ms.post-4.4.7-nightly3.2611-06.integrity.json +0 -46
package/README.md CHANGED
@@ -66,7 +66,8 @@ appInsightsCore.initialize(coreConfig, []);
66
66
  | [maxEventRetryAttempts](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-post-js/interfaces/IChannelConfiguration.html#maxEventRetryAttempts)<br /><sub><i>(Since 3.1.11+)</i></sub> | [Optional] Identifies the number of times any single event will be retried if it receives a failed (retirable) response, this causes the event to be internally "requeued" and resent in the next batch. As each normal batched send request is retried at least once before starting to increase the internal backoff send interval, normally batched events will generally be attempted the next nearest even number of times. This means that the total number of actual send attempts will almost always be even (setting to 5 will cause 6 requests), unless using manual synchronous flushing (calling flush(false)) which is not subject to request level retry attempts. | number<br/>Default: 6
67
67
  | [maxUnloadEventRetryAttempts](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-post-js/interfaces/IChannelConfiguration.html#maxUnloadEventRetryAttempts)<br /><sub><i>(Since 3.1.11+)</i></sub> | [Optional] Identifies the number of times any single event will be retried if it receives a failed (retriable) response as part of processing / flushing events once a page unload state has been detected, this causes the event to be internally "requeued" and resent in the next batch, which during page unload. Unlike the normal batching process, send requests are never retried, so the value listed here is always the maximum number of attempts for any single event.<br/>Notes: The SDK by default will use the sendBeacon() API if it exists which is treated as a fire and forget successful response, so for environments that support or supply this API the events won't be retried (because they will be deeded to be successfully sent). When an environment (IE) doesn't support sendBeacon(), this will cause multiple synchronous (by default) XMLHttpRequests to be sent, which will block the UI until a response is received. You can disable ALL synchronous XHR requests by setting the 'disableXhrSync' configuration setting and/or changing this value to 0 or 1. | number<br/>Default: 2
68
68
  | [addNoResponse](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-post-js/interfaces/IChannelConfiguration.html#addNoResponse) <br /><sub><i>(Since 3.2.8+)</i></sub> | [Optional] flag to indicate whether the sendBeacon and fetch (with keep-alive flag) should add the "NoResponseBody" query string value to indicate that the server should return a 204 for successful requests. | boolean<br/>Default: true
69
- | [disableZip](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-post-js/interfaces/IChannelConfiguration.html#disableZip) <br /><sub><i>(Since 4.3.7+)</i></sub> | [Optional] flag to use CompressionStream API to compress the payload. Compression will only occur if the event is asynchronous. For events like unloads, compression will not be applied. * Note: if user set payloadPreprocessor, this zip compression will not be applied. | boolean<br/>Default: true
69
+
70
+ To enable payload compression, configure [the `zipPayload` feature flag](https://github.com/microsoft/ApplicationInsights-JS#feature) on the core configuration. Compression applies only to asynchronous events when the CompressionStream API is available and no `payloadPreprocessor` is configured.
70
71
 
71
72
  ### [IXHROverride](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-post-js/interfaces/IXHROverride.html)
72
73
 
@@ -259,7 +260,7 @@ The currently configured set of fields include
259
260
 
260
261
  ### Excluded Part A fields
261
262
 
262
- - All direct top-level fields of the envelope, this includes "ver"; "name"; "time" and "iKey". see [Common Schema 4.0 - Part A](https://aka.ms/CommonSchema/PartA) for all defined fields. Note: This exclusion does does not match sub-keys (objects) like "ext", "data" and "properties".
263
+ - All direct top-level fields of the envelope, this includes "ver"; "name"; "time" and "iKey". see [Common Schema 4.0 - Part A](https://msazure.visualstudio.com/One/_git/CommonSchema?path=%2Fv4.0%2FPartA%2FREADME.md&_a=preview) for all defined fields. Note: This exclusion does does not match sub-keys (objects) like "ext", "data" and "properties".
263
264
  - All fields of the web extension, this includes all fields and sub keys of "ext.web" (example fields include "ext.web.browser"; "ext.web.domain"; "ext.web.consentDetails"). see [Common Schema 4.0 - Part A Extension - web](https://aka.ms/CommonSchema/PartA/Web) for the complete set of defined fields.
264
265
  - All fields and paths of the metadata extension, this includes all fields and sub keys of "ext.metadata". see [Common Schema 4.0 - Part A Extension - metadata](https://aka.ms/CommonSchema/PartA/MetaData) for the complete set of defined fields.
265
266
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 4.4.7-nightly3.2611-06
2
+ * 1DS JS SDK POST plugin, 4.4.7-nightly3.2611-07
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 = "es5_ms_post_4_4_7_nightly3_2611_06", msMod="__ms$mod__";
9
- var mods={}, modDetail=mods[modName]={}, ver="4.4.7-nightly3.2611-06";
8
+ var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_4_7_nightly3_2611_07", msMod="__ms$mod__";
9
+ var mods={}, modDetail=mods[modName]={}, ver="4.4.7-nightly3.2611-07";
10
10
  // Versioned namespace "oneDS4"
11
11
  var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
12
12
  // Global namespace "oneDS"
@@ -2021,7 +2021,7 @@ function newId(maxLength) {
2021
2021
  return result;
2022
2022
  }
2023
2023
 
2024
- var version = '3.4.7-nightly3.2611-06';
2024
+ var version = '3.4.7-nightly3.2611-07';
2025
2025
  var instanceName = "." + newId(6);
2026
2026
  var _dataUid = 0;
2027
2027
  function _canAcceptData(target) {
@@ -4318,7 +4318,7 @@ function removePageShowEventListener(listener, evtNamespace) {
4318
4318
  }
4319
4319
 
4320
4320
  var _a$1;
4321
- var ExtVersion = '4.4.7-nightly3.2611-06';
4321
+ var ExtVersion = '4.4.7-nightly3.2611-07';
4322
4322
  var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
4323
4323
  var FullVersionString = ExtFullVersionString;
4324
4324
  var ObjHasOwnProperty = Object.prototype.hasOwnProperty;
@@ -6030,7 +6030,7 @@ var PostChannel = /** @class */ (function (_super) {
6030
6030
  var _this = _super.call(this) || this;
6031
6031
  _this.identifier = "PostChannel";
6032
6032
  _this.priority = 1011;
6033
- _this.version = '4.4.7-nightly3.2611-06';
6033
+ _this.version = '4.4.7-nightly3.2611-07';
6034
6034
  var _postConfig;
6035
6035
  var _isTeardownCalled = false;
6036
6036
  var _flushCallbackQueue = [];
@@ -6846,4 +6846,4 @@ exports.PostChannel = PostChannel;
6846
6846
  exports.RT_PROFILE = RT_PROFILE;
6847
6847
 
6848
6848
  }));
6849
- //# sourceMappingURL=ms.post-4.4.7-nightly3.2611-06.gbl.js.map
6849
+ //# sourceMappingURL=ms.post-4.4.7-nightly3.2611-07.gbl.js.map