mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
* 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>
48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
export * from './joinVoiceChannel';
|
|
export * from './audio/index';
|
|
export * from './util/index';
|
|
export * from './receive/index';
|
|
|
|
export {
|
|
Networking,
|
|
type ConnectionData,
|
|
type ConnectionOptions,
|
|
type NetworkingState,
|
|
type NetworkingResumingState,
|
|
type NetworkingSelectingProtocolState,
|
|
type NetworkingUdpHandshakingState,
|
|
type NetworkingClosedState,
|
|
type NetworkingIdentifyingState,
|
|
type NetworkingOpeningWsState,
|
|
type NetworkingReadyState,
|
|
NetworkingStatusCode,
|
|
VoiceUDPSocket,
|
|
VoiceWebSocket,
|
|
type SocketConfig,
|
|
DAVESession,
|
|
} from './networking/index.js';
|
|
|
|
export {
|
|
VoiceConnection,
|
|
type VoiceConnectionState,
|
|
VoiceConnectionStatus,
|
|
type VoiceConnectionConnectingState,
|
|
type VoiceConnectionDestroyedState,
|
|
type VoiceConnectionDisconnectedState,
|
|
type VoiceConnectionDisconnectedBaseState,
|
|
type VoiceConnectionDisconnectedOtherState,
|
|
type VoiceConnectionDisconnectedWebSocketState,
|
|
VoiceConnectionDisconnectReason,
|
|
type VoiceConnectionReadyState,
|
|
type VoiceConnectionSignallingState,
|
|
} from './VoiceConnection';
|
|
|
|
export { type JoinConfig, getVoiceConnection, getVoiceConnections, getGroups } from './DataStore';
|
|
|
|
/**
|
|
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/voice#readme | @discordjs/voice} version
|
|
* that you are currently using.
|
|
*/
|
|
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
|
|
export const version = '[VI]{{inject}}[/VI]' as string;
|