maintainer of the Sentry KMP SDK here.
This is a known issue and we will offer no-ops for the JS target so you can compile without modifying anything.
I don't have a timeline yet when this will land but we are tracking it here: https://github.com/getsentry/sentry-kotlin-multiplatform/issues/327