DD
9681f34877
fix(WebSocketShard): proper error bubbling ( #9119 )
...
* fix(WebSocketShard): proper error bubbling
* fix(WebSocketShard): proper success signaling from waitForEvent
* refactor(waitForEvent): better error bubbling behavior
* fix(WebSocketShard): still allow the first connect call to reject
* fix(WebSocketShard): handle potential once error in #send
* refactor(WebSocketShard): waitForEvent & bubbleWaitForEventError
* refactor: success signaling
* chore: bump async EE to allow overwriting the error event
2023-02-19 19:28:34 +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
Jiralite
d44a6f035c
chore: bump discord-api-types and undici ( #9140 )
...
* chore: update discord-api-types to 0.37.35
* fix: exclude stage channels for now
* chore: update undici
* chore: dedupe undici
2023-02-17 19:17:08 +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
Suneet Tipirneni
56ef3ad8a0
ci: update scripts for documentation changes ( #9055 )
...
* ci: update scripts for documentation changes
* refactor: use tsconfig files
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-17 19:15:01 +00:00
Superchupu
1831acaffb
chore: switch tsup config to typescript ( #9057 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-13 09:44:56 +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
Suneet Tipirneni
f6506e99c4
feat(website): add support for source file links ( #9048 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-01-12 13:49:11 +01:00
iCrawl
a4f2f1b5a5
chore: deps
2023-01-12 10:36:48 +01:00
Almeida
2798ba1eb3
style: run prettier ( #9041 )
2023-01-12 09:23:02 +01:00
iCrawl
8dfd0037b5
chore: deps
2023-01-10 18:32:57 +01: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
DD
0ff67d8e7a
feat(ws): metrics ( #9005 )
...
* feat(WebSocketManager): fetch status
* feat(WebSocketShard): heartbeat event
* chore: ci
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-06 12:00:47 +00:00
Cl00e9ment
4ee00b6534
docs: updated @discordjs/ws README.md to include optional packages ( #8973 )
...
* docs: updated ws's readme to include optional packages
- added optional packages to the README.md
- added an example on how to add a listener to the ws manager, in the README.md
* docs: changed "addEventListener" to "on" in ws's readme
changed "addEventListener" to "on" in @discord.js/ws README.md
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-31 00:20:36 +00:00
Suneet Tipirneni
3160ab0fc7
chore: use generator for range utility ( #8825 )
...
* chore: use generator for range utility
* chore: update doc examples
* chore: fix spelling
* chore: fix typo
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:43:58 +00:00
iCrawl
82f4827ee5
chore(ws): release @discordjs/ws@0.6.0
2022-12-16 03:55:39 +01:00
Suneet Tipirneni
3d6fa248c0
feat(core): Add support for role connections ( #8930 )
2022-12-16 03:32:00 +01: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
iCrawl
52f56d3c2e
chore: deps
2022-12-01 21:01:19 +01: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
iCrawl
0fe503b516
chore(ws): release @discordjs/ws@0.5.0
2022-11-28 22:50:16 +01:00
iCrawl
2f4bfedca1
chore: deps
2022-11-28 03:39:50 +01:00
iCrawl
33a82b7bce
chore: next 13
2022-11-25 14:29:32 +01:00
iCrawl
256677b435
chore: deps
2022-11-23 09:34:56 +01:00
iCrawl
ee7d2fd4c8
chore: deps
2022-11-22 13:35:47 +01:00
DD
5152abf728
feat: new select menus ( #8793 )
...
* feat(builders): new select menus
* chore: better re-exporting of deprecated classes
* feat: new select menus
* chore: typings
* chore: add missing todo comment
* chore: finish updating tests
* chore: add runtime deprecation warnings
* chore: format deprecation warning
* feat(BaseInteraction): isAnySelectMenu
* chore: requested changes
* fix: deprecation comments
* chore: update @deprecated comments in typings
* chore: add tests for select menu type narrowing
* fix: bad auto imports
Co-authored-by: Julian Vennen <julian@aternos.org >
* fix: properly handle resolved members
* fix: collectors
* chore: suggested changes
Co-authored-by: Almeida <almeidx@pm.me >
* fix(typings): bad class extends
* feat(ChannelSelectMenuBuilder): validation
* chore: update todo comment
* refactor(ChannelSelectMenu): better handling of channel_types state
* chore: style nit
* chore: suggested nits
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Julian Vennen <julian@aternos.org >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-01 17:36:05 +00:00
iCrawl
b2658ce504
chore: update eslint-config-neon
2022-10-20 03:39:38 +02:00
iCrawl
3cc50b9e95
chore: deps
2022-10-20 03:11:41 +02:00
Jiralite
66097e0cb0
chore: Bump discord-api-types ( #8752 )
2022-10-14 23:20:26 +02:00
Jiralite
179392d6d7
docs: Remove unused imports ( #8744 )
2022-10-13 00:24:04 +02:00
Almeida
d7a45a0567
chore: update api-extractor configurations ( #8738 )
2022-10-12 11:38:14 +02:00
iCrawl
e8f63617a2
chore: deps
2022-10-11 16:01:45 +02:00
iCrawl
9d8179c6a7
fix: pin @types/node version
...
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62629#issuecomment-1273892057
2022-10-11 14:32:38 +02:00
iCrawl
698983b203
chore: deps
2022-10-11 04:09:02 +02:00
Almeida
d587467a38
chore: use @link instead of markdown link in tsdocs ( #8732 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 20:03:35 +00:00
iCrawl
a4bf975f49
chore(ws): release @discordjs/ws@0.4.1
2022-10-10 19:19:21 +02:00
DD
c2b677759b
fix(WebSocketShard): dispatch race condition ( #8731 )
2022-10-10 19:15:04 +02:00
Almeida
02ffce8173
chore: make 'Note to developers' on version constant a regular comment ( #8730 )
...
chore: make 'Note to developers' a regular comment
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 14:42:03 +00:00
iCrawl
3ed668e539
chore: move website and guide out of packages
2022-10-10 01:22:48 +02:00
iCrawl
87ec3922a3
chore: update readmes
2022-10-08 17:55:01 +02:00
iCrawl
4bdd120e62
chore: deps
2022-10-08 16:55:34 +02:00
iCrawl
c0ea782dd4
chore(ws): release @discordjs/ws@0.4.0
2022-10-08 16:37:07 +02:00
Jeroen Claassens
d923d0ab96
build: switch to esbuild-plugin-version-injector for injecting version strings ( #8723 )
2022-10-08 02:54:45 +02:00
iCrawl
62332c2720
chore: deps
2022-10-07 20:26:45 +02:00
Parbez
7af3c3b6f1
fix: ws package.json path ( #8720 )
2022-10-07 19:42:04 +02:00
Noel
0ac3e766bd
feat: web-components ( #8715 )
2022-10-07 06:56:13 +02:00
iCrawl
76a7021452
chore: deps
2022-10-07 02:49:44 +02:00
iCrawl
e745b95677
chore: deps
2022-10-05 20:57:39 +02:00