From 1ef7e6206ed7345b80fc26cc09e5b0a82cc58d54 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Thu, 8 Aug 2024 13:17:48 +0200 Subject: [PATCH] [mirotalksfu] - update dep --- app/src/Server.js | 8 +++----- package.json | 5 ++--- public/js/Room.js | 4 ++-- public/js/RoomClient.js | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 78c140ba..432118a7 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -10,7 +10,6 @@ dependencies: { @ffmpeg-installer/ffmpeg: https://www.npmjs.com/package/@ffmpeg-installer/ffmpeg @sentry/node : https://www.npmjs.com/package/@sentry/node - @sentry/integrations : https://www.npmjs.com/package/@sentry/integrations axios : https://www.npmjs.com/package/axios body-parser : https://www.npmjs.com/package/body-parser compression : https://www.npmjs.com/package/compression @@ -44,7 +43,7 @@ dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.44 + * @version 1.5.45 * */ @@ -75,7 +74,6 @@ const yaml = require('js-yaml'); const swaggerUi = require('swagger-ui-express'); const swaggerDocument = yaml.load(fs.readFileSync(path.join(__dirname, '/../api/swagger.yaml'), 'utf8')); const Sentry = require('@sentry/node'); -const { CaptureConsole } = require('@sentry/integrations'); const restrictAccessByIP = require('./middleware/IpWhitelist.js'); const packageJson = require('../../package.json'); @@ -150,7 +148,7 @@ if (sentryEnabled) { Sentry.init({ dsn: sentryDSN, integrations: [ - new CaptureConsole({ + Sentry.captureConsoleIntegration({ // ['log', 'info', 'warn', 'error', 'debug', 'assert'] levels: ['error'], }), @@ -163,7 +161,7 @@ if (sentryEnabled) { log.warn('test-warning'); log.error('test-error'); log.debug('test-debug'); - */ +*/ } // Stats diff --git a/package.json b/package.json index 0a9b3856..ac8a1211 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.5.44", + "version": "1.5.45", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { @@ -57,8 +57,7 @@ "node": ">=18" }, "dependencies": { - "@sentry/integrations": "7.114.0", - "@sentry/node": "7.114.0", + "@sentry/node": "^8.24.0", "axios": "^1.7.3", "body-parser": "1.20.2", "colors": "1.4.0", diff --git a/public/js/Room.js b/public/js/Room.js index 793a75c4..f01bd322 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.44 + * @version 1.5.45 * */ @@ -4335,7 +4335,7 @@ function showAbout() { imageUrl: image.about, customClass: { image: 'img-about' }, position: 'center', - title: 'WebRTC SFU v1.5.44', + title: 'WebRTC SFU v1.5.45', html: `
diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index b5972ebc..9e417de4 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -9,7 +9,7 @@ * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.44 + * @version 1.5.45 * */