Almeida
08a61ca8e3
refactor(WebSocketManager)!: remove deprecated rest option ( #10998 )
...
BREAKING CHANGE: The `rest` option in the `WebSocketManager` constructor has been removed. Pass a `fetchGatewayInformation` function instead.
2025-07-27 11:49:29 +01:00
Vlad Frangu
5f7d335290
feat: fetch gateway information without requiring rest in ws ( #10651 )
...
* feat: overridable initial gateway URL
* chore: discussion changes
* chore: requested change
* chore: other changes
* Update packages/ws/src/ws/WebSocketManager.ts
* style: run ESLint
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:23:41 +00:00
DD
00da44a120
fix(WebSocketShard): wait a little before reconnecting ( #9517 )
...
* fix(WebSocketShard): wait a little before reconnecting
* chore: leftover comment
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-05 20:14:53 +00:00
DD
3e80f0b384
tests(ws): fix tests ( #9520 )
2023-05-05 22:01:28 +02:00
DD
5c5a5832b9
refactor(WebSocketManager): passing in strategy ( #9122 )
...
* refactor(WebSocketManager): passing in strategy
* chore: update tests
* chore: requested nits
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-19 18:57:31 +00:00
Suneet Tipirneni
edadb9fe5d
refactor: use eslint-config-neon for packages. ( #8579 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-09-01 20:50:16 +02:00
DD
4fd42528fe
fix(WebSocketManager#connect): check if we have enough sessions ( #8481 )
...
* fix(WebSocketManager#connect): check if we have enough sessions
* fix: more useful error message
* fix: tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 15:28:01 +00:00
DD
748d7271c4
feat: @discordjs/ws ( #8260 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
2022-07-22 19:13:47 +02:00