@sentry/opentelemetry 8.47.0 → 8.49.0

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.
@@ -1234,9 +1234,7 @@ function getContextForScope(scope) {
1234
1234
  * It propagates the trace as a remote span, in addition to setting it on the propagation context.
1235
1235
  */
1236
1236
  function continueTrace(options, callback) {
1237
- return core.continueTrace(options, () => {
1238
- return continueTraceAsRemoteSpan(api.context.active(), options, callback);
1239
- });
1237
+ return continueTraceAsRemoteSpan(api.context.active(), options, callback);
1240
1238
  }
1241
1239
 
1242
1240
  /**
@@ -1410,6 +1408,7 @@ function setOpenTelemetryContextAsyncContextStrategy() {
1410
1408
  getActiveSpan,
1411
1409
  suppressTracing,
1412
1410
  getTraceData,
1411
+ continueTrace,
1413
1412
  // The types here don't fully align, because our own `Span` type is narrower
1414
1413
  // than the OTEL one - but this is OK for here, as we now we'll only have OTEL spans passed around
1415
1414
  withActiveSpan: withActiveSpan ,