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
Almeida
e094faf225
docs: add missing, fix existing ( #10842 )
...
* docs: add missing, fix existing
* refactor: new stuff
* fix: requested changes
* fix: use `@link` for `@mixes`
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: disable bad eslint rule
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-06-02 17:35:43 +00:00
pat
bc3a0c8389
fix(voice): mark stream as ended ( #10455 )
...
* fix: mark stream as ended
refactor: prefer destroying the stream
* refactor: callback for nextTick
test: wait duration ms to check end
chore: eslint
test: end before timeout
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-31 20:45:24 +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
7e875f6919
chore: refactor workspace
2023-05-03 02:14:22 +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
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
CallMe AsYouFeel
1a6ddbbe7b
fix(VoiceReceiver): parsePacket correctly ( #8277 )
2022-07-17 18:52:35 +02:00
Jiralite
c271e05223
fix(SpeakingMap): Allow docgen to detect event name ( #8236 )
2022-07-05 16:10:23 +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
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