From d4d0345a554b012ccf09b92b79031dd2acbb603f Mon Sep 17 00:00:00 2001 From: Raphiiko Date: Wed, 30 Oct 2024 22:49:10 +0100 Subject: [PATCH 1/2] Fix Pulsoid account linking (1.14.5) --- CHANGELOG.md | 2 ++ package.json | 2 +- src-core/Cargo.lock | 4 ++-- src-core/Cargo.toml | 2 +- src-core/tauri.conf.json | 6 +++--- src-elevated-sidecar/Cargo.toml | 2 +- src-overlay-ui/package.json | 2 +- src-shared-rust/Cargo.toml | 2 +- src-shared-ts/package.json | 2 +- 9 files changed, 13 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 225f779c..3b3858b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - GPU acceleration for SteamVR overlays (Community contribution by [BenjaminZehowlt](https://github.com/BenjaminZehowlt)) +## [1.14.5] + ### Fixed - Linking your Pulsoid account through the Pulsoid integration no longer functioning. diff --git a/package.json b/package.json index 1b9cfeb5..1b88d915 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oyasumi", - "version": "1.14.4", + "version": "1.14.5", "author": "Raphiiko", "license": "MIT", "type": "module", diff --git a/src-core/Cargo.lock b/src-core/Cargo.lock index 42ff72c7..7a78c78c 100644 --- a/src-core/Cargo.lock +++ b/src-core/Cargo.lock @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "oyasumivr" -version = "1.14.4" +version = "1.14.5" dependencies = [ "async-recursion", "bluest", @@ -4270,7 +4270,7 @@ dependencies = [ [[package]] name = "oyasumivr-shared" -version = "1.14.4" +version = "1.14.5" dependencies = [ "winapi", ] diff --git a/src-core/Cargo.toml b/src-core/Cargo.toml index 7a2a069e..10bdc485 100644 --- a/src-core/Cargo.toml +++ b/src-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr" -version = "1.14.4" +version = "1.14.5" description = "" authors = ["Raphiiko"] license = "MIT" diff --git a/src-core/tauri.conf.json b/src-core/tauri.conf.json index d7f88051..570a6ea7 100644 --- a/src-core/tauri.conf.json +++ b/src-core/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "OyasumiVR", - "version": "1.14.4" + "version": "1.14.5" }, "tauri": { "allowlist": { @@ -201,7 +201,7 @@ "center": true, "theme": "Dark", "transparent": true, - "userAgent": "OyasumiVR/1.14.4 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.14.5 (https://github.com/Raphiiko/OyasumiVR)" }, { "width": 700, @@ -216,7 +216,7 @@ "skipTaskbar": true, "minimizable": false, "alwaysOnTop": true, - "userAgent": "OyasumiVR/1.14.4 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.14.5 (https://github.com/Raphiiko/OyasumiVR)" } ] } diff --git a/src-elevated-sidecar/Cargo.toml b/src-elevated-sidecar/Cargo.toml index a10df238..b1245a4f 100644 --- a/src-elevated-sidecar/Cargo.toml +++ b/src-elevated-sidecar/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-elevated-sidecar" -version = "1.14.4" +version = "1.14.5" authors = ["Raphiiko"] license = "MIT" edition = "2021" diff --git a/src-overlay-ui/package.json b/src-overlay-ui/package.json index d819bacc..0e9a48bb 100644 --- a/src-overlay-ui/package.json +++ b/src-overlay-ui/package.json @@ -1,6 +1,6 @@ { "name": "oyasumivr-overlay-ui", - "version": "1.14.4", + "version": "1.14.5", "private": true, "scripts": { "dev": "vite dev", diff --git a/src-shared-rust/Cargo.toml b/src-shared-rust/Cargo.toml index a7ec5c90..f2a0c264 100644 --- a/src-shared-rust/Cargo.toml +++ b/src-shared-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-shared" -version = "1.14.4" +version = "1.14.5" authors = ["Raphiiko"] edition = "2021" license = "MIT" diff --git a/src-shared-ts/package.json b/src-shared-ts/package.json index 1eac64f1..3909622d 100644 --- a/src-shared-ts/package.json +++ b/src-shared-ts/package.json @@ -2,7 +2,7 @@ "name": "src-shared-ts", "description": "Shared typescript code for Oyasumi modules", "scripts": {}, - "version": "1.14.4", + "version": "1.14.5", "author": "Raphiiko", "license": "MIT", "type": "module", From 125f25818480c3b452dba0bd83c5f0525292ca09 Mon Sep 17 00:00:00 2001 From: Raphiiko Date: Wed, 30 Oct 2024 22:50:03 +0100 Subject: [PATCH 2/2] Prevent error tracking spam --- src-ui/app/services/telemetry.service.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src-ui/app/services/telemetry.service.ts b/src-ui/app/services/telemetry.service.ts index 8e612531..c19e9323 100644 --- a/src-ui/app/services/telemetry.service.ts +++ b/src-ui/app/services/telemetry.service.ts @@ -26,6 +26,8 @@ export class TelemetryService { ); public settings: Observable = this._settings.asObservable(); + private trackedJSErrors: string[] = []; + constructor() {} async init() { @@ -48,6 +50,14 @@ export class TelemetryService { }); window.addEventListener('error', (e) => { + const errorData = JSON.stringify({ + filename: e.filename, + lineno: e.lineno, + colno: e.colno, + message: e.message, + }); + if (this.trackedJSErrors.includes(errorData)) return; + this.trackedJSErrors.push(errorData); this.trackEvent('ui_js_error', { message: e.message, });