sentry-javascript
sentry-javascript copied to clipboard
Extend BunOptions with NodeOptions
Description
It seems that the init function of @sentry/bun passes everything down to the init of @sentry/node:
https://github.com/getsentry/sentry-javascript/blob/167b6dbc785dfac32201c01ec2f0c40e261e1c32/packages/bun/src/sdk.ts#L116
However we have separate BunOptions available for the init of bun, which causes fixes such as #18436 or #17349. If we e.g. extend the NodeOptions, we won't have a problem anymore, but we need to verify if that wouldn't cause any issues.