File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const spanStreamingIntegration = defineIntegration(() => {
1414 name : 'SpanStreaming' ,
1515
1616 beforeSetup ( client ) {
17- // If users only set spanstreamingIntegration , without traceLifecycle, we set it to "stream" for them.
17+ // If users only set spanStreamingIntegration , without traceLifecycle, we set it to "stream" for them.
1818 // This avoids the classic double-opt-in problem we'd otherwise have in the browser SDK.
1919 const clientOptions = client . getOptions ( ) ;
2020 if ( ! clientOptions . traceLifecycle ) {
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ export class SentrySpan implements Span {
342342 return ;
343343 } else if ( client && hasSpanStreamingEnabled ( client ) ) {
344344 // TODO (spans): Remove standalone span custom logic in favor of sending simple v2 web vital spans
345- client ? .emit ( 'afterSegmentSpanEnd' , this ) ;
345+ client . emit ( 'afterSegmentSpanEnd' , this ) ;
346346 return ;
347347 }
348348
You can’t perform that action at this time.
0 commit comments