diff --git a/packages/bun/src/types.ts b/packages/bun/src/types.ts index c62e4fe320e3..933edef42627 100644 --- a/packages/bun/src/types.ts +++ b/packages/bun/src/types.ts @@ -33,24 +33,6 @@ export interface BaseBunOptions { * */ clientClass?: typeof BunClient; - // TODO (v8): Remove this in v8 - /** - * @deprecated Moved to constructor options of the `Http` and `Undici` integration. - * @example - * ```js - * Sentry.init({ - * integrations: [ - * new Sentry.Integrations.Http({ - * tracing: { - * shouldCreateSpanForRequest: (url: string) => false, - * } - * }); - * ], - * }); - * ``` - */ - shouldCreateSpanForRequest?(this: void, url: string): boolean; - /** Callback that is executed when a fatal global error occurs. */ onFatalError?(this: void, error: Error): void; } diff --git a/packages/deno/src/types.ts b/packages/deno/src/types.ts index 50310589666a..92752c5b9d0b 100644 --- a/packages/deno/src/types.ts +++ b/packages/deno/src/types.ts @@ -24,24 +24,6 @@ export interface BaseDenoOptions { /** Sets an optional server name (device name) */ serverName?: string; - // TODO (v8): Remove this in v8 - /** - * @deprecated Moved to constructor options of the `Http` and `Undici` integration. - * @example - * ```js - * Sentry.init({ - * integrations: [ - * new Sentry.Integrations.Http({ - * tracing: { - * shouldCreateSpanForRequest: (url: string) => false, - * } - * }); - * ], - * }); - * ``` - */ - shouldCreateSpanForRequest?(this: void, url: string): boolean; - /** Callback that is executed when a fatal global error occurs. */ onFatalError?(this: void, error: Error): void; }