diff --git a/Block/SentryScript.php b/Block/SentryScript.php index c35b1ef..7325970 100644 --- a/Block/SentryScript.php +++ b/Block/SentryScript.php @@ -9,7 +9,7 @@ class SentryScript extends Template { - const CURRENT_VERSION = '7.39.0'; + const CURRENT_VERSION = '8.7.0'; /** * SentryScript constructor. diff --git a/view/frontend/templates/script/sentry.phtml b/view/frontend/templates/script/sentry.phtml index c1a7c75..7456466 100644 --- a/view/frontend/templates/script/sentry.phtml +++ b/view/frontend/templates/script/sentry.phtml @@ -35,7 +35,9 @@ if (typeof Sentry !== 'undefined') { environment: 'escapeHtml(trim($block->getEnvironment())) ?>', integrations: [ isTracingEnabled()): ?> - new Sentry.BrowserTracing(), + Sentry.browserTracingIntegration({ + enableInp: true, + }), useSessionReplay()): ?> new Sentry.Replay({