File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010 getClient ,
1111 GLOBAL_OBJ ,
1212 isSentryRequestUrl ,
13- supportsNativeFetch ,
1413} from '@sentry/core/browser' ;
1514import type { SentryWrappedXMLHttpRequest } from '@sentry/browser-utils' ;
1615import { addXhrInstrumentationHandler , SENTRY_XHR_DATA_KEY } from '@sentry/browser-utils' ;
@@ -282,10 +281,6 @@ function _isInGivenStatusRanges(
282281 * Wraps `fetch` function to capture request and response data
283282 */
284283function _wrapFetch ( client : Client , options : HttpClientOptions ) : void {
285- if ( ! supportsNativeFetch ( ) ) {
286- return ;
287- }
288-
289284 addFetchInstrumentationHandler ( handlerData => {
290285 if ( getClient ( ) !== client ) {
291286 return ;
Original file line number Diff line number Diff line change @@ -15,6 +15,5 @@ export { startIdleSpan } from './tracing/idleSpan';
1515
1616export { spanStreamingIntegration } from './integrations/browserSpanStreaming' ;
1717
18- export { supportsNativeFetch } from './utils/supports' ;
1918export type { XhrBreadcrumbData , XhrBreadcrumbHint } from './types/breadcrumb' ;
2019export type { BrowserClientReplayOptions } from './types/browseroptions' ;
You can’t perform that action at this time.
0 commit comments