Closed
Description
Kind of extracted from #8087, and related to #8688, create a new ServerRuntimeClient
(name tbd) as well as an init
in @sentry/core
. The idea is that this can be called from any JS runtime, so browser, node, edge, ... so it should only contain stuff that works everywhere.
For the first step, we can just implement this based on the EdgeClient from Next.js, as well as an init()
method based on the edge init.
In follow up steps, we can then actually extend from this for node/serverless SDKs, and re-use as much as possible.
### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/pull/8930
- [ ] https://github.com/getsentry/sentry-javascript/pull/8932
- [ ] https://github.com/getsentry/sentry-javascript/pull/8933
- [x] Use `ServerRuntimeClient` in serverless (TODO: Or continue using node?)
- [x] Stretch goal: Use `ServerRuntimeClient` in Sveltekit
Metadata
Metadata
Assignees
Labels
No labels