From 85550dfd2db59198fdf0526f4bb822946992b424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 10 Sep 2024 09:52:54 +0200 Subject: [PATCH] Apply automatic upgrade --- package.json | 1 - src/controllers/AbstractAppController.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 20bbcf2ea042..27ceee4eedc1 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "@lit/reactive-element": "2.0.4", "@popperjs/core": "2.11.8", "@sentry/browser": "8.29.0", - "@sentry/tracing": "7.114.0", "@sentry/types": "8.29.0", "@storybook/addon-essentials": "8.2.9", "@storybook/addon-links": "8.2.9", diff --git a/src/controllers/AbstractAppController.js b/src/controllers/AbstractAppController.js index 3553dd1a694f..3ee45c730300 100644 --- a/src/controllers/AbstractAppController.js +++ b/src/controllers/AbstractAppController.js @@ -48,7 +48,6 @@ import gmfMapComponent from 'gmf/map/component'; import {ThemeEventType} from 'gmf/theme/Manager'; import {getBrowserLanguage} from 'ngeo/utils'; import * as Sentry from '@sentry/browser'; -import {Integrations} from '@sentry/tracing'; import createProjections from 'ngeo/proj/utils'; import olMap from 'ol/Map'; import olView from 'ol/View'; @@ -660,7 +659,7 @@ export function AbstractAppController($scope, $injector, mobile) { if ($injector.has('sentryOptions')) { const options = $injector.get('sentryOptions'); if (options.dsn) { - options.integrations = [new Integrations.BrowserTracing()]; + options.integrations = [Integrations.browserTracingIntegration()]; const tags = options.tags || []; delete options.tags; Object.assign(options, {