fix: update Sentry integration methods and upgrade dependencies

This commit is contained in:
twwu 2025-02-07 14:15:35 +08:00
parent 2649f9f56f
commit 802dc15d87
2 changed files with 6 additions and 7 deletions

View File

@ -14,9 +14,8 @@ const SentryInit = ({
Sentry.init({
dsn: SENTRY_DSN,
integrations: [
new Sentry.BrowserTracing({
}),
new Sentry.Replay(),
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
],
tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.1,

View File

@ -41,13 +41,13 @@
"@octokit/core": "^6.1.2",
"@octokit/request-error": "^6.1.5",
"@remixicon/react": "^4.5.0",
"@sentry/react": "^7.54.0",
"@sentry/utils": "^7.54.0",
"@sentry/react": "^8.54.0",
"@sentry/utils": "^8.54.0",
"@svgdotjs/svg.js": "^3.2.4",
"@tailwindcss/typography": "^0.5.15",
"@tanstack/react-query": "^5.60.5",
"@tanstack/react-query-devtools": "^5.60.5",
"ahooks": "^3.8.1",
"ahooks": "^3.8.4",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
@ -78,7 +78,7 @@
"negotiator": "^0.6.3",
"next": "15.1.5",
"pinyin-pro": "^3.25.0",
"qrcode.react": "^4.1.0",
"qrcode.react": "^4.2.0",
"qs": "^6.13.0",
"rc-textarea": "^1.8.2",
"react": "19.0.0",