fix: initialize voice encryption libs before first connection

- await sodium.ready + nacl preload (same as original jukebox)
- Add generateDependencyReport() for debugging
- Add type declarations for libsodium-wrappers and tweetnacl

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-06 01:13:46 +01:00
parent 1d4a48cf74
commit 9ac1034e5e
2 changed files with 11 additions and 0 deletions

2
server/src/types/modules.d.ts vendored Normal file
View file

@ -0,0 +1,2 @@
declare module "libsodium-wrappers";
declare module "tweetnacl";