@sentry/opentelemetry 10.27.0 → 10.28.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 +58 -40
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.js +59 -41
- package/build/esm/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/trace.d.ts +1 -1
- package/build/types/trace.d.ts.map +1 -1
- package/build/types-ts3.8/trace.d.ts +1 -1
- package/package.json +2 -2
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.28.0","sideEffects":false}
|
package/build/types/trace.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { OpenTelemetrySpanContext } from './types';
|
|
|
14
14
|
export declare function startSpan<T>(options: OpenTelemetrySpanContext, callback: (span: Span) => T): T;
|
|
15
15
|
/**
|
|
16
16
|
* Similar to `Sentry.startSpan`. Wraps a function with a span, but does not finish the span
|
|
17
|
-
* after the function is done automatically. You'll have to call `span.end()` manually.
|
|
17
|
+
* after the function is done automatically. You'll have to call `span.end()` or the `finish` function passed to the callback manually.
|
|
18
18
|
*
|
|
19
19
|
* The created span is the active span and will be used as parent by other spans created inside the function
|
|
20
20
|
* and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../src/trace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,IAAI,EAAoC,MAAM,oBAAoB,CAAC;AAG1F,OAAO,KAAK,EACV,MAAM,EACN,aAAa,IAAI,iBAAiB,EAClC,sBAAsB,EACtB,KAAK,EAEL,YAAY,EACb,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../src/trace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,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emetrySpanContext, callback: (span: Span) => T): T;
|
|
15
15
|
/**
|
|
16
16
|
* Similar to `Sentry.startSpan`. Wraps a function with a span, but does not finish the span
|
|
17
|
-
* after the function is done automatically. You'll have to call `span.end()` manually.
|
|
17
|
+
* after the function is done automatically. You'll have to call `span.end()` or the `finish` function passed to the callback manually.
|
|
18
18
|
*
|
|
19
19
|
* The created span is the active span and will be used as parent by other spans created inside the function
|
|
20
20
|
* and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/opentelemetry",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.28.0",
|
|
4
4
|
"description": "Official Sentry utilities for OpenTelemetry",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/opentelemetry",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sentry/core": "10.
|
|
42
|
+
"@sentry/core": "10.28.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@opentelemetry/api": "^1.9.0",
|