@microsoft/applicationinsights-web-basic 3.0.0-beta.2208-16 → 3.0.0-beta.2209-01

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 3.0.0-beta.2208-16
2
+ * Microsoft.ApplicationInsights, 3.0.0-beta.2209-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1010,6 +1010,13 @@ declare namespace ApplicationInsights {
1010
1010
  * @defaultValue true
1011
1011
  */
1012
1012
  disableIkeyDeprecationMessage?: boolean;
1013
+ /**
1014
+ * [Optional] Flag to indicate whether the internal looking endpoints should be automatically
1015
+ * added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
1016
+ * This flag exists as the provided regex is generic and may unexpectedly match a domain that
1017
+ * should not be excluded.
1018
+ */
1019
+ addIntEndpoints?: boolean;
1013
1020
  }
1014
1021
 
1015
1022
  /**
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2208-16
2
+ * Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2209-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -1514,7 +1514,7 @@
1514
1514
  }
1515
1515
 
1516
1516
  var _objDefineProperty = ObjDefineProperty;
1517
- var version = "3.0.0-beta.2208-16";
1517
+ var version = "3.0.0-beta.2209-01";
1518
1518
  var instanceName = "." + newId(6);
1519
1519
  var _dataUid = 0;
1520
1520
  function _createAccessor(target, prop, value) {
@@ -4891,7 +4891,7 @@
4891
4891
  }
4892
4892
  }
4893
4893
  var EnvelopeCreator = {
4894
- Version: "3.0.0-beta.2208-16"
4894
+ Version: "3.0.0-beta.2209-01"
4895
4895
  };
4896
4896
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
4897
4897
  EnvelopeCreatorInit(logger, telemetryItem);
@@ -5640,7 +5640,13 @@
5640
5640
  _offlineListener = createOfflineListener(_evtNamespace);
5641
5641
  var defaultConfig = _getDefaultAppInsightsChannelConfig();
5642
5642
  objForEachKey(defaultConfig, function (field, value) {
5643
- _self[_DYN__SENDER_CONFIG ][field] = function () { return ctx.getConfig(identifier, field, value()); };
5643
+ _self[_DYN__SENDER_CONFIG ][field] = function () {
5644
+ var theValue = ctx.getConfig(identifier, field, value());
5645
+ if (!theValue && field === "endpointUrl") {
5646
+ theValue = value();
5647
+ }
5648
+ return theValue;
5649
+ };
5644
5650
  });
5645
5651
  _self._buffer = (_self[_DYN__SENDER_CONFIG ][_DYN_ENABLE_SESSION_STORA4 ]() && utlCanUseSessionStorage())
5646
5652
  ? new SessionStorageSendBuffer(diagLog, _self[_DYN__SENDER_CONFIG ]) : new ArraySendBuffer(diagLog, _self[_DYN__SENDER_CONFIG ]);