@discordjs/voice 1.0.0-dev.1790035407-dbb749062 → 1.0.0-dev.1790769779-eec9b8f9a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2377,6 +2377,9 @@ var VoiceConnection = class extends import_node_events8.EventEmitter {
|
|
|
2377
2377
|
if (packet.self_deaf !== void 0) this.joinConfig.selfDeaf = packet.self_deaf;
|
|
2378
2378
|
if (packet.self_mute !== void 0) this.joinConfig.selfMute = packet.self_mute;
|
|
2379
2379
|
if (packet.channel_id) this.joinConfig.channelId = packet.channel_id;
|
|
2380
|
+
if (packet.channel_id && this.state.status === "signalling" /* Signalling */) {
|
|
2381
|
+
this.configureNetworking();
|
|
2382
|
+
}
|
|
2380
2383
|
}
|
|
2381
2384
|
/**
|
|
2382
2385
|
* Called when the networking state changes, and the new ws/udp packet/message handlers need to be rebound
|
|
@@ -3112,7 +3115,7 @@ __name(findPackageJSON, "findPackageJSON");
|
|
|
3112
3115
|
function version(name) {
|
|
3113
3116
|
try {
|
|
3114
3117
|
if (name === "@discordjs/voice") {
|
|
3115
|
-
return "1.0.0-dev.
|
|
3118
|
+
return "1.0.0-dev.1790769779-eec9b8f9a";
|
|
3116
3119
|
}
|
|
3117
3120
|
const pkg = findPackageJSON((0, import_node_path.dirname)(require.resolve(name)), name, 3);
|
|
3118
3121
|
return pkg?.version ?? "not found";
|
|
@@ -3260,7 +3263,7 @@ async function demuxProbe(stream, probeSize = 1024, validator = validateDiscordO
|
|
|
3260
3263
|
__name(demuxProbe, "demuxProbe");
|
|
3261
3264
|
|
|
3262
3265
|
// src/index.ts
|
|
3263
|
-
var version2 = "1.0.0-dev.
|
|
3266
|
+
var version2 = "1.0.0-dev.1790769779-eec9b8f9a";
|
|
3264
3267
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3265
3268
|
0 && (module.exports = {
|
|
3266
3269
|
AudioPacket,
|