@microsoft/1ds-post-js 4.1.0-nightly3.2401-20 → 4.1.0-nightly3.2401-22

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 (44) hide show
  1. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.gbl.js → ms.post-4.1.0-nightly3.2401-22.gbl.js} +43 -34
  2. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.gbl.js.map → ms.post-4.1.0-nightly3.2401-22.gbl.js.map} +1 -1
  3. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.gbl.min.js → ms.post-4.1.0-nightly3.2401-22.gbl.min.js} +3 -3
  4. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.gbl.min.js.map → ms.post-4.1.0-nightly3.2401-22.gbl.min.js.map} +1 -1
  5. package/bundle/es5/ms.post-4.1.0-nightly3.2401-22.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.js → ms.post-4.1.0-nightly3.2401-22.js} +43 -34
  7. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.js.map → ms.post-4.1.0-nightly3.2401-22.js.map} +1 -1
  8. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.min.js → ms.post-4.1.0-nightly3.2401-22.min.js} +3 -3
  9. package/bundle/es5/{ms.post-4.1.0-nightly3.2401-20.min.js.map → ms.post-4.1.0-nightly3.2401-22.min.js.map} +1 -1
  10. package/bundle/es5/ms.post.gbl.js +42 -33
  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 +42 -33
  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 +40 -31
  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 +24 -18
  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 +4 -3
  33. package/dist-es5/PostChannel.js.map +1 -1
  34. package/dist-es5/RetryPolicy.js +1 -1
  35. package/dist-es5/Serializer.js +29 -11
  36. package/dist-es5/Serializer.js.map +1 -1
  37. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  38. package/dist-es5/__DynamicConstants.js +2 -1
  39. package/dist-es5/__DynamicConstants.js.map +1 -1
  40. package/dist-es5/typings/XDomainRequest.js +1 -1
  41. package/package.json +2 -2
  42. package/types/1ds-post-js.d.ts +13 -3
  43. package/types/1ds-post-js.namespaced.d.ts +13 -3
  44. package/bundle/es5/ms.post-4.1.0-nightly3.2401-20.integrity.json +0 -46
@@ -1 +1 @@
1
- {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_ALLOW_REQUEST_SENDIN0 = \"allowRequestSending\"; // Count: 3\r\nexport var _DYN_FIRST_REQUEST_SENT = \"firstRequestSent\"; // Count: 2\r\nexport var _DYN_SHOULD_ADD_CLOCK_SKE1 = \"shouldAddClockSkewHeaders\"; // Count: 2\r\nexport var _DYN_GET_CLOCK_SKEW_HEADE2 = \"getClockSkewHeaderValue\"; // Count: 2\r\nexport var _DYN_SET_CLOCK_SKEW = \"setClockSkew\"; // Count: 3\r\nexport var _DYN_LENGTH = \"length\"; // Count: 38\r\nexport var _DYN_CONCAT = \"concat\"; // Count: 9\r\nexport var _DYN_I_KEY = \"iKey\"; // Count: 10\r\nexport var _DYN_COUNT = \"count\"; // Count: 18\r\nexport var _DYN_EVENTS = \"events\"; // Count: 8\r\nexport var _DYN_PUSH = \"push\"; // Count: 14\r\nexport var _DYN_SPLIT = \"split\"; // Count: 7\r\nexport var _DYN_SPLICE = \"splice\"; // Count: 4\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 5\r\nexport var _DYN_HDRS = \"hdrs\"; // Count: 6\r\nexport var _DYN_USE_HDRS = \"useHdrs\"; // Count: 5\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 4\r\nexport var _DYN_SET_TIMEOUT_OVERRIDE = \"setTimeoutOverride\"; // Count: 3\r\nexport var _DYN_CLEAR_TIMEOUT_OVERRI3 = \"clearTimeoutOverride\"; // Count: 3\r\nexport var _DYN_PAYLOAD_PREPROCESSOR = \"payloadPreprocessor\"; // Count: 2\r\nexport var _DYN_OVERRIDE_ENDPOINT_UR4 = \"overrideEndpointUrl\"; // Count: 3\r\nexport var _DYN_AVOID_OPTIONS = \"avoidOptions\"; // Count: 3\r\nexport var _DYN_DISABLE_EVENT_TIMING5 = \"disableEventTimings\"; // Count: 2\r\nexport var _DYN_STRINGIFY_OBJECTS = \"stringifyObjects\"; // Count: 2\r\nexport var _DYN_ENABLE_COMPOUND_KEY = \"enableCompoundKey\"; // Count: 4\r\nexport var _DYN_DISABLE_XHR_SYNC = \"disableXhrSync\"; // Count: 6\r\nexport var _DYN_DISABLE_FETCH_KEEP_A6 = \"disableFetchKeepAlive\"; // Count: 5\r\nexport var _DYN_USE_SEND_BEACON = \"useSendBeacon\"; // Count: 3\r\nexport var _DYN_ALWAYS_USE_XHR_OVERR7 = \"alwaysUseXhrOverride\"; // Count: 3\r\nexport var _DYN_UNLOAD_TRANSPORTS = \"unloadTransports\"; // Count: 2\r\nexport var _DYN_URL_STRING = \"urlString\"; // Count: 7\r\nexport var _DYN_TIMEOUT = \"timeout\"; // Count: 9\r\nexport var _DYN_ONTIMEOUT = \"ontimeout\"; // Count: 3\r\nexport var _DYN_DATA = \"data\"; // Count: 11\r\nexport var _DYN__SEND_REASON = \"_sendReason\"; // Count: 5\r\nexport var _DYN_HEADERS = \"headers\"; // Count: 12\r\nexport var _DYN_GET_RESPONSE_HEADER = \"getResponseHeader\"; // Count: 2\r\nexport var _DYN_GET_ALL_RESPONSE_HEA8 = \"getAllResponseHeaders\"; // Count: 2\r\nexport var _DYN__THE_PAYLOAD = \"_thePayload\"; // Count: 6\r\nexport var _DYN_BATCHES = \"batches\"; // Count: 15\r\nexport var _DYN_SEND_TYPE = \"sendType\"; // Count: 13\r\nexport var _DYN_CAN_SEND_REQUEST = \"canSendRequest\"; // Count: 3\r\nexport var _DYN_SEND_QUEUED_REQUESTS = \"sendQueuedRequests\"; // Count: 5\r\nexport var _DYN_IS_COMPLETELY_IDLE = \"isCompletelyIdle\"; // Count: 2\r\nexport var _DYN_SET_UNLOADING = \"setUnloading\"; // Count: 3\r\nexport var _DYN_IS_TENANT_KILLED = \"isTenantKilled\"; // Count: 3\r\nexport var _DYN_SEND_SYNCHRONOUS_BAT9 = \"sendSynchronousBatch\"; // Count: 2\r\nexport var _DYN__TRANSPORT = \"_transport\"; // Count: 4\r\nexport var _DYN_GET_WPARAM = \"getWParam\"; // Count: 4\r\nexport var _DYN_IS_BEACON = \"isBeacon\"; // Count: 4\r\nexport var _DYN_TIMINGS = \"timings\"; // Count: 4\r\nexport var _DYN_IS_TEARDOWN = \"isTeardown\"; // Count: 3\r\nexport var _DYN_IS_SYNC = \"isSync\"; // Count: 4\r\nexport var _DYN_SEND_POST = \"sendPOST\"; // Count: 3\r\nexport var _DYN_SET_KILL_SWITCH_TENA10 = \"setKillSwitchTenants\"; // Count: 2\r\nexport var _DYN__BACK_OFF_TRANSMISSI11 = \"_backOffTransmission\"; // Count: 2\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 4\r\nexport var _DYN_DISABLE_OPTIMIZE_OBJ = \"disableOptimizeObj\"; // Count: 2\r\nexport var _DYN_IGNORE_MC1_MS0_COOKI12 = \"ignoreMc1Ms0CookieProcessing\"; // Count: 2\r\nexport var _DYN_EVENTS_LIMIT_IN_MEM = \"eventsLimitInMem\"; // Count: 2\r\nexport var _DYN_AUTO_FLUSH_EVENTS_LI13 = \"autoFlushEventsLimit\"; // Count: 2\r\nexport var _DYN_DISABLE_AUTO_BATCH_F14 = \"disableAutoBatchFlushLimit\"; // Count: 2\r\nexport var _DYN_OVERRIDE_INSTRUMENTA15 = \"overrideInstrumentationKey\"; // Count: 2\r\nexport var _DYN_DISABLE_TELEMETRY = \"disableTelemetry\"; // Count: 2\r\nexport var _DYN_SEND_ATTEMPT = \"sendAttempt\"; // Count: 4\r\nexport var _DYN_LATENCY = \"latency\"; // Count: 7\r\nexport var _DYN_BASE_DATA = \"baseData\"; // Count: 3\r\nexport var _DYN_SYNC = \"sync\"; // Count: 7\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;;AAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_ALLOW_REQUEST_SENDIN0 = \"allowRequestSending\"; // Count: 3\r\nexport var _DYN_FIRST_REQUEST_SENT = \"firstRequestSent\"; // Count: 2\r\nexport var _DYN_SHOULD_ADD_CLOCK_SKE1 = \"shouldAddClockSkewHeaders\"; // Count: 2\r\nexport var _DYN_GET_CLOCK_SKEW_HEADE2 = \"getClockSkewHeaderValue\"; // Count: 2\r\nexport var _DYN_SET_CLOCK_SKEW = \"setClockSkew\"; // Count: 3\r\nexport var _DYN_LENGTH = \"length\"; // Count: 38\r\nexport var _DYN_CONCAT = \"concat\"; // Count: 9\r\nexport var _DYN_I_KEY = \"iKey\"; // Count: 10\r\nexport var _DYN_COUNT = \"count\"; // Count: 18\r\nexport var _DYN_EVENTS = \"events\"; // Count: 8\r\nexport var _DYN_PUSH = \"push\"; // Count: 14\r\nexport var _DYN_SPLIT = \"split\"; // Count: 7\r\nexport var _DYN_SPLICE = \"splice\"; // Count: 4\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 5\r\nexport var _DYN_HDRS = \"hdrs\"; // Count: 6\r\nexport var _DYN_USE_HDRS = \"useHdrs\"; // Count: 5\r\nexport var _DYN_INITIALIZE = \"initialize\"; // Count: 4\r\nexport var _DYN_SET_TIMEOUT_OVERRIDE = \"setTimeoutOverride\"; // Count: 3\r\nexport var _DYN_CLEAR_TIMEOUT_OVERRI3 = \"clearTimeoutOverride\"; // Count: 3\r\nexport var _DYN_PAYLOAD_PREPROCESSOR = \"payloadPreprocessor\"; // Count: 2\r\nexport var _DYN_OVERRIDE_ENDPOINT_UR4 = \"overrideEndpointUrl\"; // Count: 3\r\nexport var _DYN_AVOID_OPTIONS = \"avoidOptions\"; // Count: 3\r\nexport var _DYN_DISABLE_EVENT_TIMING5 = \"disableEventTimings\"; // Count: 2\r\nexport var _DYN_STRINGIFY_OBJECTS = \"stringifyObjects\"; // Count: 2\r\nexport var _DYN_ENABLE_COMPOUND_KEY = \"enableCompoundKey\"; // Count: 4\r\nexport var _DYN_DISABLE_XHR_SYNC = \"disableXhrSync\"; // Count: 6\r\nexport var _DYN_DISABLE_FETCH_KEEP_A6 = \"disableFetchKeepAlive\"; // Count: 5\r\nexport var _DYN_EXCLUDE_CS_META_DATA = \"excludeCsMetaData\"; // Count: 2\r\nexport var _DYN_USE_SEND_BEACON = \"useSendBeacon\"; // Count: 3\r\nexport var _DYN_ALWAYS_USE_XHR_OVERR7 = \"alwaysUseXhrOverride\"; // Count: 3\r\nexport var _DYN_UNLOAD_TRANSPORTS = \"unloadTransports\"; // Count: 2\r\nexport var _DYN_URL_STRING = \"urlString\"; // Count: 7\r\nexport var _DYN_TIMEOUT = \"timeout\"; // Count: 9\r\nexport var _DYN_ONTIMEOUT = \"ontimeout\"; // Count: 3\r\nexport var _DYN_DATA = \"data\"; // Count: 11\r\nexport var _DYN__SEND_REASON = \"_sendReason\"; // Count: 5\r\nexport var _DYN_HEADERS = \"headers\"; // Count: 12\r\nexport var _DYN_GET_RESPONSE_HEADER = \"getResponseHeader\"; // Count: 2\r\nexport var _DYN_GET_ALL_RESPONSE_HEA8 = \"getAllResponseHeaders\"; // Count: 2\r\nexport var _DYN__THE_PAYLOAD = \"_thePayload\"; // Count: 6\r\nexport var _DYN_BATCHES = \"batches\"; // Count: 15\r\nexport var _DYN_SEND_TYPE = \"sendType\"; // Count: 13\r\nexport var _DYN_CAN_SEND_REQUEST = \"canSendRequest\"; // Count: 3\r\nexport var _DYN_SEND_QUEUED_REQUESTS = \"sendQueuedRequests\"; // Count: 5\r\nexport var _DYN_IS_COMPLETELY_IDLE = \"isCompletelyIdle\"; // Count: 2\r\nexport var _DYN_SET_UNLOADING = \"setUnloading\"; // Count: 3\r\nexport var _DYN_IS_TENANT_KILLED = \"isTenantKilled\"; // Count: 3\r\nexport var _DYN_SEND_SYNCHRONOUS_BAT9 = \"sendSynchronousBatch\"; // Count: 2\r\nexport var _DYN__TRANSPORT = \"_transport\"; // Count: 4\r\nexport var _DYN_GET_WPARAM = \"getWParam\"; // Count: 4\r\nexport var _DYN_IS_BEACON = \"isBeacon\"; // Count: 4\r\nexport var _DYN_TIMINGS = \"timings\"; // Count: 4\r\nexport var _DYN_IS_TEARDOWN = \"isTeardown\"; // Count: 3\r\nexport var _DYN_IS_SYNC = \"isSync\"; // Count: 4\r\nexport var _DYN_SEND_POST = \"sendPOST\"; // Count: 3\r\nexport var _DYN_SET_KILL_SWITCH_TENA10 = \"setKillSwitchTenants\"; // Count: 2\r\nexport var _DYN__BACK_OFF_TRANSMISSI11 = \"_backOffTransmission\"; // Count: 2\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 4\r\nexport var _DYN_DISABLE_OPTIMIZE_OBJ = \"disableOptimizeObj\"; // Count: 2\r\nexport var _DYN_IGNORE_MC1_MS0_COOKI12 = \"ignoreMc1Ms0CookieProcessing\"; // Count: 2\r\nexport var _DYN_EVENTS_LIMIT_IN_MEM = \"eventsLimitInMem\"; // Count: 2\r\nexport var _DYN_AUTO_FLUSH_EVENTS_LI13 = \"autoFlushEventsLimit\"; // Count: 2\r\nexport var _DYN_DISABLE_AUTO_BATCH_F14 = \"disableAutoBatchFlushLimit\"; // Count: 2\r\nexport var _DYN_OVERRIDE_INSTRUMENTA15 = \"overrideInstrumentationKey\"; // Count: 2\r\nexport var _DYN_DISABLE_TELEMETRY = \"disableTelemetry\"; // Count: 2\r\nexport var _DYN_SEND_ATTEMPT = \"sendAttempt\"; // Count: 4\r\nexport var _DYN_LATENCY = \"latency\"; // Count: 7\r\nexport var _DYN_BASE_DATA = \"baseData\"; // Count: 3\r\nexport var _DYN_SYNC = \"sync\"; // Count: 7\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;;AAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK POST plugin, 4.1.0-nightly3.2401-20
2
+ * 1DS JS SDK POST plugin, 4.1.0-nightly3.2401-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/1ds-post-js",
3
- "version": "4.1.0-nightly3.2401-20",
3
+ "version": "4.1.0-nightly3.2401-22",
4
4
  "description": "Microsoft Application Insights JavaScript SDK - 1ds-post-channel-js",
5
5
  "author": "Microsoft Application Insights Team",
6
6
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@microsoft/applicationinsights-shims": "3.0.1",
29
29
  "@microsoft/dynamicproto-js": "^2.0.3",
30
- "@microsoft/1ds-core-js": "4.1.0-nightly3.2401-20",
30
+ "@microsoft/1ds-core-js": "4.1.0-nightly3.2401-22",
31
31
  "@nevware21/ts-utils": ">= 0.10.4 < 2.x",
32
32
  "@nevware21/ts-async": ">= 0.3.0 < 2.x"
33
33
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.1.0-nightly3.2401-20
2
+ * 1DS JS SDK Post Channel, 4.1.0-nightly3.2401-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -157,8 +157,8 @@ export declare interface IChannelConfiguration {
157
157
  disableFetchKeepAlive?: boolean;
158
158
  /**
159
159
  * [Optional] Avoid adding request headers to the outgoing request that would cause a pre-flight (OPTIONS) request to be sent for each request.
160
- * This currently defaults to true but will be changed once the collector handles additional settings to allow the browser to better cache any
161
- * previous OPTIONS response, at which point some of the current dynamic values sent on the query string will be moved to a header.
160
+ * This currently defaults to false. This is changed as the collector enables Access-Control-Max-Age to allow the browser to better cache any
161
+ * previous OPTIONS response. Hence, we moved some of the current dynamic values sent on the query string to a header.
162
162
  */
163
163
  avoidOptions?: boolean;
164
164
  /**
@@ -209,6 +209,16 @@ export declare interface IChannelConfiguration {
209
209
  * value to indicate that the server should return a 204 for successful requests. Defaults to true
210
210
  */
211
211
  addNoResponse?: boolean;
212
+ /**
213
+ * :warning: DO NOT USE THIS FLAG UNLESS YOU KNOW THAT PII DATA WILL NEVER BE INCLUDED IN THE EVENT!
214
+ *
215
+ * [Optional] Flag to indicate whether the SDK should include the common schema metadata in the payload. Defaults to true.
216
+ * This flag is only applicable to the POST channel and will cause the SDK to exclude the common schema metadata from the payload,
217
+ * while this will reduce the size of the payload, also means that the data marked as PII will not be processed as PII by the backend
218
+ * and will not be included in the PII data purge process.
219
+ * @since 4.1.0
220
+ */
221
+ excludeCsMetaData?: boolean;
212
222
  }
213
223
 
214
224
  export { IPayloadData }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.1.0-nightly3.2401-20
2
+ * 1DS JS SDK Post Channel, 4.1.0-nightly3.2401-22
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -152,8 +152,8 @@ declare namespace oneDS {
152
152
  disableFetchKeepAlive?: boolean;
153
153
  /**
154
154
  * [Optional] Avoid adding request headers to the outgoing request that would cause a pre-flight (OPTIONS) request to be sent for each request.
155
- * This currently defaults to true but will be changed once the collector handles additional settings to allow the browser to better cache any
156
- * previous OPTIONS response, at which point some of the current dynamic values sent on the query string will be moved to a header.
155
+ * This currently defaults to false. This is changed as the collector enables Access-Control-Max-Age to allow the browser to better cache any
156
+ * previous OPTIONS response. Hence, we moved some of the current dynamic values sent on the query string to a header.
157
157
  */
158
158
  avoidOptions?: boolean;
159
159
  /**
@@ -204,6 +204,16 @@ declare namespace oneDS {
204
204
  * value to indicate that the server should return a 204 for successful requests. Defaults to true
205
205
  */
206
206
  addNoResponse?: boolean;
207
+ /**
208
+ * :warning: DO NOT USE THIS FLAG UNLESS YOU KNOW THAT PII DATA WILL NEVER BE INCLUDED IN THE EVENT!
209
+ *
210
+ * [Optional] Flag to indicate whether the SDK should include the common schema metadata in the payload. Defaults to true.
211
+ * This flag is only applicable to the POST channel and will cause the SDK to exclude the common schema metadata from the payload,
212
+ * while this will reduce the size of the payload, also means that the data marked as PII will not be processed as PII by the backend
213
+ * and will not be included in the PII data purge process.
214
+ * @since 4.1.0
215
+ */
216
+ excludeCsMetaData?: boolean;
207
217
  }
208
218
 
209
219
 
@@ -1,46 +0,0 @@
1
- {
2
- "name": "ms.post",
3
- "version": "4.1.0-nightly3.2401-20",
4
- "ext": {
5
- "@gbl.js": {
6
- "file": "ms.post-4.1.0-nightly3.2401-20.gbl.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-VxCX+xC1ELvhkZjaSH8lOWprsLfHhDbXXHUAe5cN9T8= sha384-1HPxhW9ZC7WP7IYVRW8PjOzDsoVTTU0OHN1mf1A5Uwc4DvNg+YsDu0XxBLl+e8+9 sha512-PK8nnL2G9FGE4/r9nTiPqkFAoUJNJ4DCT7tkgUDF932lC9iQZFNHLxpiZWO0HCxc25dUDkPQQQ8EsuNbg5ERUg==",
9
- "hashes": {
10
- "sha256": "VxCX+xC1ELvhkZjaSH8lOWprsLfHhDbXXHUAe5cN9T8=",
11
- "sha384": "1HPxhW9ZC7WP7IYVRW8PjOzDsoVTTU0OHN1mf1A5Uwc4DvNg+YsDu0XxBLl+e8+9",
12
- "sha512": "PK8nnL2G9FGE4/r9nTiPqkFAoUJNJ4DCT7tkgUDF932lC9iQZFNHLxpiZWO0HCxc25dUDkPQQQ8EsuNbg5ERUg=="
13
- }
14
- },
15
- "@gbl.min.js": {
16
- "file": "ms.post-4.1.0-nightly3.2401-20.gbl.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-3unySiAbuzv4qxsKiVZnlqLdZwu72F+iF5ffb1A+r5Y= sha384-BO8UXai6cF0xyVc5wSDkGd90TUlKYAXIWGrRGyfmF+HOuVpnPbO6a+pK4CVdWo6W sha512-3t4tv56ziXdtmOPHSu76gXE2XhDtTB7vJ+qzhPj6uXFR5Mavz/5y/jRyZhGHb0bNeFmQ/mYOmAEpIZwtspwRHw==",
19
- "hashes": {
20
- "sha256": "3unySiAbuzv4qxsKiVZnlqLdZwu72F+iF5ffb1A+r5Y=",
21
- "sha384": "BO8UXai6cF0xyVc5wSDkGd90TUlKYAXIWGrRGyfmF+HOuVpnPbO6a+pK4CVdWo6W",
22
- "sha512": "3t4tv56ziXdtmOPHSu76gXE2XhDtTB7vJ+qzhPj6uXFR5Mavz/5y/jRyZhGHb0bNeFmQ/mYOmAEpIZwtspwRHw=="
23
- }
24
- },
25
- "@js": {
26
- "file": "ms.post-4.1.0-nightly3.2401-20.js",
27
- "type": "text/javascript; charset=utf-8",
28
- "integrity": "sha256-RRj8mmq2Poktu0VgfRDVuFaHZr1NfsAAeIXUZBRgeCk= sha384-iKf81LwD/emNBNoISsaSNUv+mvPenl6dciLaMSxFxH4wXNz3i4yOqXYcNtRQr/lb sha512-5OjtVSKOBktrfMwPerHwFksHt40TDHlGxyJHkmSp25W8CsnNvqRrenoXROTEYq+mxkLV2xnex4oG8uZS4aqqlg==",
29
- "hashes": {
30
- "sha256": "RRj8mmq2Poktu0VgfRDVuFaHZr1NfsAAeIXUZBRgeCk=",
31
- "sha384": "iKf81LwD/emNBNoISsaSNUv+mvPenl6dciLaMSxFxH4wXNz3i4yOqXYcNtRQr/lb",
32
- "sha512": "5OjtVSKOBktrfMwPerHwFksHt40TDHlGxyJHkmSp25W8CsnNvqRrenoXROTEYq+mxkLV2xnex4oG8uZS4aqqlg=="
33
- }
34
- },
35
- "@min.js": {
36
- "file": "ms.post-4.1.0-nightly3.2401-20.min.js",
37
- "type": "text/javascript; charset=utf-8",
38
- "integrity": "sha256-QobaC60KSFOlc67uX7OfzgIFAkDu5UUq+h4LYRfs+sw= sha384-voIMFc5JgVshiVktbFy3q1m3qHUoP/xIiEGeMpR3owZCsOsl2b6VU5C+LIKCXxmB sha512-41s74fb3guGXm+tezZVxxQV9vgU6iZmdiRdM3CRcqcR50jK+ot26axSwmnkvQlMKNQm4+ps0HT/kFW72Qe6/cw==",
39
- "hashes": {
40
- "sha256": "QobaC60KSFOlc67uX7OfzgIFAkDu5UUq+h4LYRfs+sw=",
41
- "sha384": "voIMFc5JgVshiVktbFy3q1m3qHUoP/xIiEGeMpR3owZCsOsl2b6VU5C+LIKCXxmB",
42
- "sha512": "41s74fb3guGXm+tezZVxxQV9vgU6iZmdiRdM3CRcqcR50jK+ot26axSwmnkvQlMKNQm4+ps0HT/kFW72Qe6/cw=="
43
- }
44
- }
45
- }
46
- }