Skip to content

Commit 569cc6f

Browse files
committed
ref: BaseWinterTCOptions -> ServerRuntimeClientOptions
1 parent 0efee19 commit 569cc6f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

packages/bun/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { BaseTransportOptions, BaseWinterTCOptions, ClientOptions, Options } from '@sentry/core';
1+
import type { BaseTransportOptions, ClientOptions, Options, ServerRuntimeOptions } from '@sentry/core';
22

33
/**
44
* Base options for the Sentry Bun SDK.
55
* Extends the common WinterTC options shared with Node.js and other server-side SDKs.
66
*/
77
// eslint-disable-next-line @typescript-eslint/no-empty-interface
8-
export interface BaseBunOptions extends BaseWinterTCOptions {}
8+
export interface BaseBunOptions extends ServerRuntimeOptions {}
99

1010
/**
1111
* Configuration options for the Sentry Bun SDK

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export type { Extra, Extras } from './types-hoist/extra';
386386
export type { Integration, IntegrationFn } from './types-hoist/integration';
387387
export type { Mechanism } from './types-hoist/mechanism';
388388
export type { ExtractedNodeRequestData, HttpHeaderValue, Primitive, WorkerLocation } from './types-hoist/misc';
389-
export type { BaseWinterTCOptions, ClientOptions, CoreOptions as Options } from './types-hoist/options';
389+
export type { ServerRuntimeOptions, ClientOptions, CoreOptions as Options } from './types-hoist/options';
390390
export type { Package } from './types-hoist/package';
391391
export type { PolymorphicEvent, PolymorphicRequest } from './types-hoist/polymorphics';
392392
export type {

packages/core/src/types-hoist/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type { BaseTransportOptions, Transport } from './transport';
2020
*
2121
* @see https://wintercg.org/
2222
*/
23-
export interface BaseWinterTCOptions {
23+
export interface ServerRuntimeOptions {
2424
/**
2525
* List of strings/regex controlling to which outgoing requests
2626
* the SDK will attach tracing headers.

packages/node-core/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import type { Span as WriteableSpan } from '@opentelemetry/api';
22
import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
3-
import type { BaseWinterTCOptions, ClientOptions, Options, SamplingContext, Scope, Span } from '@sentry/core';
3+
import type { ClientOptions, Options, SamplingContext, Scope, ServerRuntimeOptions, Span } from '@sentry/core';
44
import type { NodeTransportOptions } from './transports';
55

66
/**
77
* Base options for the Sentry Node SDK.
88
* Extends the common WinterTC options shared with Bun and other server-side SDKs.
99
*/
10-
export interface BaseNodeOptions extends BaseWinterTCOptions {
10+
export interface BaseNodeOptions extends ServerRuntimeOptions {
1111
/**
1212
* Sets profiling sample rate when @sentry/profiling-node is installed
1313
*

packages/node/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import type { Span as WriteableSpan } from '@opentelemetry/api';
22
import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
3-
import type { BaseWinterTCOptions, ClientOptions, Options, SamplingContext, Scope, Span } from '@sentry/core';
3+
import type { ClientOptions, Options, SamplingContext, Scope, ServerRuntimeOptions, Span } from '@sentry/core';
44
import type { NodeTransportOptions } from '@sentry/node-core';
55

66
/**
77
* Base options for the Sentry Node SDK.
88
* Extends the common WinterTC options shared with Bun and other server-side SDKs.
99
*/
10-
export interface BaseNodeOptions extends BaseWinterTCOptions {
10+
export interface BaseNodeOptions extends ServerRuntimeOptions {
1111
/**
1212
* Sets profiling sample rate when @sentry/profiling-node is installed
1313
*

0 commit comments

Comments
 (0)