sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Session API methods arent exported on latest NextJS SDK version

Open idosun opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

7.101.1

Framework Version

sentry/nextjs

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Missing methods

  • Sentry.startSession()
  • Sentry.captureSession()
  • Sentry.endSession()

Expected Result

Missing methods should be exported and available for users to use when using

import * as Sentry from "@sentry/nextjs";

Actual Result

Methods are not available

idosun avatar Feb 16 '24 19:02 idosun