This pull request aims to enhance Fika support by introducing the RaidManager class, implementing sessionId, and refactoring code for better performance and debugging. It also fixes issues with Basic Authentication and packet handling, and adds a cloudflare script outside of the client / server for pulling data down from KV.
Bullet Point
Started work on Fika Support, including introduction of RaidManager class to handle active raids and profiles
Implemented sessionId to payloads for identifying which profile is sending data back, improving Fika support
Merged in Chazu's SAIN Detection/Playback Improvement refactor
Refactored code for better performance and debugging:
Moved WebSocket logic into its own file
Removed unnecessary profiles property from mod.ts
Implemented Logger abstraction for simplified debug dumps
Corrected ./src references across various files
Updated configuration file to improve clarity
Fixed issues with Basic Authentication, using username/password fields from SPT Profile instead of ID
Refactored MapComponent and SessionManager to deal with performance problems and fix raidId null issue in packet handler
Added cloudflare script to pull data down from KV.
Overview
Bullet Point