Vlad Frangu
323d8e7571
fix(voice): always install Davey as DAVE is becoming required ( #11385 )
...
* fix(voice): always install Davey as DAVE is becoming required
* chore: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-01-25 20:28:04 +00:00
Snazzah
c4fc79a3cd
fix(voice): handle multiple transitions simultaneously ( #11100 )
...
* fix(voice): handle multiple transitions simultaneously
* fix: fix execute transition return
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-12 15:49:37 +00:00
Almeida
87b359e44d
fix: replace usages of Buffer#slice() with Buffer#subarray() ( #11326 )
...
fix: replace usages of Buffer.slice() with Buffer.subarray()
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-02 23:13:10 +00:00
Jiralite
059d274aff
chore: Fix typos ( #11043 )
...
chore: fix typos
2025-08-17 19:45:38 +00:00
Snazzah
8bdea6232b
feat: implement DAVE end-to-end encryption ( #10921 )
...
* feat(voice): implement DAVE E2EE encryption
* chore(voice): update dependencies
* chore(voice): update debug logs and dependency report
* feat(voice): emit and propogate DAVESession errors
* chore(voice): export dave session things
* chore(voice): move expiry numbers to consts
* feat(voice): keep track of and pass connected client IDs
* fix(voice): dont set initial transitions as pending
* feat(voice): dave encryption
* chore(voice): directly reference package name in import
* feat(voice): dave decryption
* chore(deps): update @snazzah/davey
* fix(voice): handle decryption failure tolerance
* fix(voice): move and update decryption failure logic to DAVESession
* feat(voice): propogate voice privacy code
* fix(voice): actually send a transition ready when ready
* feat(voice): propogate transitions and verification code function
* feat(voice): add dave options
* chore: resolve format change requests
* chore: emit debug messages on bad transitions
* chore: downgrade commit/welcome errors as debug messages
* chore: resolve formatting change requests
* chore: update davey dependency
* chore: add types for underlying dave session
* fix: fix rebase
* chore: change "ID" to "id" in typedocs
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-13 17:02:56 +00:00
Snazzah
d40ceedad4
feat(voice): use voice gateway v8 ( #10918 )
...
* feat(voice): use voice gateway v8
* docs: small typo
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-06-02 17:38:50 +00:00
Almeida
78d512c347
docs: export all visible symbols ( #10760 )
...
* docs: export all visible symbols
* fix: discord.js except raw
* refactor: remove raw data types
* docs: add back discord.js tsdoc file
* refactor: remove underscores
* fix: merge
* docs(RPCRedis): make `promises` as internal
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-26 17:41:08 +00:00
pat
9f8b9b1d66
feat(voice)!: add new encryption methods, remove old methods ( #10451 )
...
BREAKING CHANGE: This library no longer supports using `tweetnacl` as an encryption library due to Discord deprecating the algorithms that `tweetnacl` helped us support (read more [here](https://discord.com/developers/docs/change-log#voice-encryption-modes )). Please migrate to one of: `sodium-native`, `sodium`, `@stablelib/xchacha20poly1305`, `@noble/ciphers` or `libsodium-wrappers` unless your system supports `aes-256-gcm` (verify by running `require('node:crypto').getCiphers().includes('aes-256-gcm')`).
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2024-11-18 00:08:51 +02:00
iCrawl
afa98793cd
chore: deps
2023-07-17 09:45:07 +02:00
Almeida
869153c3fd
refactor: compare with undefined directly ( #9191 )
...
* refactor: compare with `undefined` directly
* fix: lint
2023-03-12 20:24:22 +00:00
Vlad Frangu
c6d98fa0c5
fix(Voice): send keep alives without awaiting a response ( #9202 )
2023-03-09 12:12:02 +01:00
Parbez
dbca93098c
chore: remove unused eslint disable comments ( #8595 )
2022-09-08 15:08:04 +02:00
iCrawl
4ffdada4f7
chore: deps
2022-09-04 19:33:57 +02: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
e42fd16369
feat(website): Show constructor information ( #8540 )
2022-08-22 09:45:53 +02:00
iCrawl
c052f56f3e
ci: fix typechecking in ci
2022-08-15 00:42:33 +02:00
iCrawl
b2776c22d4
ci: api-extractor support for docs
2022-06-30 15:46:14 +02:00
Skick
70b42bb64a
types(voice): bring back typed events ( #8109 )
2022-06-23 12:39:36 +02:00
iCrawl
d4b41dd081
feat(docgen): proper event parsing for typescript
2022-06-10 16:22:11 +02:00
DD
e2f5a4a494
chore: enable noUncheckedIndexAccess ( #7931 )
2022-05-18 19:56:42 +02:00
iCrawl
bcf7f1cfad
chore: deps
2022-04-17 11:27:36 +02:00
D Trombett
92a04f4d98
fix: fix some typos ( #7393 )
2022-02-02 22:10:47 +01:00
iCrawl
62c74b8333
test(voice): fix tests
2022-01-11 21:53:08 +01:00
Noel
16938da355
chore: improve linting ( #7244 )
2022-01-11 12:30:08 +01:00
Noel
16390efe6e
chore: monorepo setup ( #7175 )
2022-01-07 17:18:25 +01:00