mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 17:02:28 +00:00
Extracts `fetchProfileFromRelay` helper method in `AuthService` to encapsulate timeout logic and event validation. This simplifies `loadOwnProfile` and makes it more readable and maintainable. Also adds comprehensive tests for `loadOwnProfile` in `tests/auth-service.test.mjs`. Co-authored-by: PR0M3TH3AN <[email protected]>