Commit Graph

16 Commits

Author SHA1 Message Date
PalmDevs
9b6ba56d99 chore: use alternative ways to bundle 2024-07-08 19:43:03 +07:00
PalmDevs
fc7be22c6c fix(apis/websocket): builds not working due to dynamic import requirement 2024-06-24 18:23:39 +07:00
PalmDevs
b6cbe9d64c fix(apis/websocket): improve logging and error handling 2024-06-24 18:23:33 +07:00
PalmDevs
669e24ca81 fix(types): fix issues with typings 2024-06-24 18:23:33 +07:00
PalmDevs
29544d4e01 fix: remove error cb handling for socket.send() calls
Fixes promise not ever being resolved
2024-06-24 18:23:31 +07:00
PalmDevs
b3b7723b4f feat!: big feature changes
BREAKING CHANGES:
- Heartbeating removed
- `config.consoleLogLevel` -> `config.logLevel`

NEW FEATURES:
- Training messages
- Sequence number system
- WebSocket close codes used instead of disconnect packets

FIXES:
- Improved error handling
- Some performance improvements
- Made code more clean
- Updated dependencies
2024-06-24 18:23:27 +07:00
PalmDevs
97c5bd5634 chore(apis/websocket): stop using fastify as a wrapper 2024-06-24 18:23:23 +07:00
PalmDevs
168f40def6 fix(apis/websocket): fix forever stuck Promise 2024-06-24 18:23:22 +07:00
PalmDevs
a6907b16c4 chore(apis/websocket)!: change default port 2024-06-24 18:23:22 +07:00
PalmDevs
a90e59edb8 refactor(apis/websocket): clean up imports, format, and fix issues 2024-06-24 18:23:19 +07:00
PalmDevs
e9638a7713 feat(packages/shared)!: switch to less resource-intensive logger 2024-06-24 18:23:17 +07:00
PalmDevs
17c6be7bee feat(packages/shared): add logger factory
- @revanced/websocket-api now also utilizes the new logger from the shared package
- @revanced/websocket-api/utils/checkEnv has been renamed to its full form
  - It also no longer returns anything as it's no longer needed
2024-06-24 18:23:16 +07:00
PalmDevs
f2d85c32a4 chore: apply code fixes with biome 2024-06-24 18:23:16 +07:00
PalmDevs
a609187174 chore: update scripts 2024-06-24 18:23:15 +07:00
PalmDevs
306f627cef chore: format and remove unneccessary code 2024-06-24 18:23:14 +07:00
PalmDevs
c97ba54802 chore(apps/server)!: rewrite rename and move to appropriate dir 2024-06-24 18:23:12 +07:00