DD
02dfaf1aa2
refactor: abstract identify throttling and correct max_concurrency handling ( #9375 )
...
* refactor: properly support max_concurrency ratelimit keys
* fix: properly block for same key
* chore: export session state
* chore: throttler no longer requires manager
* refactor: abstract throttlers
* chore: proper member order
* chore: remove leftover debug log
* chore: use @link tag in doc comment
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: suggested changes
* fix(WebSocketShard): cancel identify if the shard closed in the meantime
* refactor(throttlers): support abort signals
* fix: memory leak
* chore: remove leftover
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 20:26:37 +00: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
Lioness100
1ba1f238f0
docs: fix typos ( #9127 )
...
* docs: fix typos
* indicies -> indices
* rename file
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-17 20:07:38 +00:00
Synbulat Biishev
8b70f497a1
docs: fix version export ( #9049 )
...
* docs: fix version export
* types: assert `[VI]{{inject}}[/VI]` as string
* types: typo
* Revert "types: typo"
This reverts commit ba983f02be .
* types: typo
I hate my local repo. It can't install deps with `--immutable` and a have weird error on `yarn test`, but the CI passes
2023-01-19 15:56:57 +00:00
DD
05a1cbfe54
fix: ws typo ( #9056 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-13 00:56:43 +00:00
DD
828a13b526
feat(ws): custom workers ( #9004 )
...
* feat(ws): custom workers
* chore: typo
* refactor(WebSocketShard): expose shard id
* chore: remove outdated readme comment
* chore: nits
* chore: remove unnecessary mutation
* feat: fancier resolution
* chore: remove unnecessary exports
* chore: apply suggestions
* refactor: use range errors
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2023-01-10 17:31:56 +00:00
Suneet Tipirneni
273ba45e27
chore: use satisfies where applicable ( #8884 )
...
* chore: use satisfies where applicable
* chore: remove unneeded eslint ignores
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-16 02:12:38 +00:00
DD
8f552a0e17
refactor(WebSocketShard): identify throttling ( #8888 )
...
* refactor(WebSocketShard): identify throttling
* chore: add worker handling
* refactor: worker handling
* chore: update tests
* chore: use satisfies where applicable
* chore: add informative comment
* chore: apply suggestions
* refactor(SimpleContextFetchingStrategy): support multiple managers
2022-12-02 13:04:09 +00:00
DD
40b504a208
fix(WebSocketShard): send ratelimit handling ( #8887 )
...
* fix(WebSocketShard): send ratelimit handling
* chore: remove unnecessary else
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-01 10:58:00 +00:00
Jeroen Claassens
d923d0ab96
build: switch to esbuild-plugin-version-injector for injecting version strings ( #8723 )
2022-10-08 02:54:45 +02:00
Parbez
7af3c3b6f1
fix: ws package.json path ( #8720 )
2022-10-07 19:42:04 +02:00
Suneet Tipirneni
b2ec865765
feat: add @discordjs/util ( #8591 )
...
* feat: add @discordjs/util
* fix: builders test
* refactor: make rest use lazy for ESM import
* chore: make requested changes
* Apply suggestions from code review
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
* chore: make requested changes and add tests
* chore: regen lockfile
* test: add type tests
* chore: push missing files
* chore: make requested changes
* chore: update CI stuff
* chore: fix lockfile
* chore: make requested changes
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-02 18:00:31 +00:00
iCrawl
3b7ba4062e
chore: fix leftover eslint exceptions
2022-09-01 21:26:09 +02: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
Suneet Tipirneni
0f83402985
refactor(website): adjust typography ( #8503 )
2022-08-17 10:17:09 +02:00
Suneet Tipirneni
7116647947
feat(website): render tsdoc examples ( #8494 )
2022-08-16 16:33:49 +02:00
iCrawl
193b252672
docs: fence examples in codeblocks
2022-08-14 19:25:25 +02:00
DD
748d7271c4
feat: @discordjs/ws ( #8260 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
2022-07-22 19:13:47 +02:00