For the sentry.client.config.ts file, the website says to use Sentry.nativeNodeFetchIntegration, while the README says to use Sentry.browserTracingIntegration.
For the sentry.server.config.ts file, the website says to use Sentry.winterCGFetchIntegration, while the README says to use Sentry.nativeNodeFetchIntegration.
For the sentry.edge.config.ts file, the website says to use new Sentry.Integrations.WinterCGFetch (which gives an error as it doesn't exist), while the README says to use Sentry.winterCGFetchIntegration.
Describe the improvement
I guess the README is the correct one? As the one on the website gives an error on application startup.
Improve documentation
Link
The integration page for NextJS is providing different file examples as opposed to the README in Github.
Describe the problem
For the
sentry.client.config.ts
file, the website says to useSentry.nativeNodeFetchIntegration
, while the README says to useSentry.browserTracingIntegration
.For the
sentry.server.config.ts
file, the website says to useSentry.winterCGFetchIntegration
, while the README says to useSentry.nativeNodeFetchIntegration
.For the
sentry.edge.config.ts
file, the website says to usenew Sentry.Integrations.WinterCGFetch
(which gives an error as it doesn't exist), while the README says to useSentry.winterCGFetchIntegration
.Describe the improvement
I guess the README is the correct one? As the one on the website gives an error on application startup.