@sentry/opentelemetry 8.47.0 → 8.48.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.
- package/build/cjs/index.js +2 -3
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.js +3 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/asyncContextStrategy.d.ts.map +1 -1
- package/build/types/trace.d.ts +1 -2
- package/build/types/trace.d.ts.map +1 -1
- package/build/types-ts3.8/trace.d.ts +1 -2
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -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
|
|
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 ,
|