@sentry/replay 7.37.0 → 7.37.1

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.
package/esm/index.js CHANGED
@@ -3952,7 +3952,8 @@ function createPerformanceSpans(
3952
3952
  }
3953
3953
 
3954
3954
  /**
3955
- * Check whether a given request URL should be filtered out.
3955
+ * Check whether a given request URL should be filtered out. This is so we
3956
+ * don't log Sentry ingest requests.
3956
3957
  */
3957
3958
  function shouldFilterRequest(replay, url) {
3958
3959
  // If we enabled the `traceInternals` experiment, we want to trace everything
@@ -3960,7 +3961,7 @@ function shouldFilterRequest(replay, url) {
3960
3961
  return false;
3961
3962
  }
3962
3963
 
3963
- return !_isSentryRequest(url);
3964
+ return _isSentryRequest(url);
3964
3965
  }
3965
3966
 
3966
3967
  /**