From 4f0a4c5615682e208fb79b81f2d3e5aa71b0cea6 Mon Sep 17 00:00:00 2001 From: s1gr1d Date: Thu, 24 Apr 2025 16:03:01 +0200 Subject: [PATCH 1/2] docs(core): Fix docs for `beforeSendSpan` --- packages/core/src/types-hoist/options.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/types-hoist/options.ts b/packages/core/src/types-hoist/options.ts index 93f9be36ed25..8fd2a5216555 100644 --- a/packages/core/src/types-hoist/options.ts +++ b/packages/core/src/types-hoist/options.ts @@ -347,7 +347,7 @@ export interface ClientOptions PromiseLike | ErrorEvent | null; /** - * This function can be defined to modify or entirely drop a child span before it's sent. + * This function can be defined to modify a child span before it's sent. * Returning `null` will cause this span to be dropped. * * Note that this function is only called for child spans and not for the root span (formerly known as transaction). @@ -355,7 +355,7 @@ export interface ClientOptions SpanJSON; From 325a430f4203270bcfb210ba9bafa70ea188292c Mon Sep 17 00:00:00 2001 From: Sigrid Huemer <32902192+s1gr1d@users.noreply.github.com> Date: Fri, 25 Apr 2025 14:26:36 +0200 Subject: [PATCH 2/2] Update packages/core/src/types-hoist/options.ts Co-authored-by: Francesco Gringl-Novy --- packages/core/src/types-hoist/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/types-hoist/options.ts b/packages/core/src/types-hoist/options.ts index 8fd2a5216555..4b0010f2b7d7 100644 --- a/packages/core/src/types-hoist/options.ts +++ b/packages/core/src/types-hoist/options.ts @@ -355,7 +355,7 @@ export interface ClientOptions SpanJSON;