@discordjs/voice 0.19.1-dev.1765324923-548d75258 → 0.19.1-dev.1765454516-df0c28afc
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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -206,7 +206,7 @@ var libs = {
|
|
|
206
206
|
return crypto3.seal(nonce2, cipherText, additionalData);
|
|
207
207
|
}
|
|
208
208
|
}), "@stablelib/xchacha20poly1305"),
|
|
209
|
-
"@noble/ciphers/chacha": /* @__PURE__ */ __name((noble) => ({
|
|
209
|
+
"@noble/ciphers/chacha.js": /* @__PURE__ */ __name((noble) => ({
|
|
210
210
|
crypto_aead_xchacha20poly1305_ietf_decrypt(cipherText, additionalData, nonce2, key) {
|
|
211
211
|
const chacha = noble.xchacha20poly1305(key, nonce2, additionalData);
|
|
212
212
|
return chacha.decrypt(cipherText);
|
|
@@ -215,7 +215,7 @@ var libs = {
|
|
|
215
215
|
const chacha = noble.xchacha20poly1305(key, nonce2, additionalData);
|
|
216
216
|
return chacha.encrypt(plaintext);
|
|
217
217
|
}
|
|
218
|
-
}), "@noble/ciphers/chacha")
|
|
218
|
+
}), "@noble/ciphers/chacha.js")
|
|
219
219
|
};
|
|
220
220
|
var fallbackError = /* @__PURE__ */ __name(() => {
|
|
221
221
|
throw new Error(
|
|
@@ -1852,7 +1852,7 @@ var import_node_crypto2 = __toESM(require("crypto"));
|
|
|
1852
1852
|
var import_v83 = require("discord-api-types/voice/v8");
|
|
1853
1853
|
|
|
1854
1854
|
// src/receive/AudioReceiveStream.ts
|
|
1855
|
-
var import_node_process = require("process");
|
|
1855
|
+
var import_node_process = __toESM(require("process"));
|
|
1856
1856
|
var import_node_stream = require("stream");
|
|
1857
1857
|
var EndBehaviorType = /* @__PURE__ */ ((EndBehaviorType2) => {
|
|
1858
1858
|
EndBehaviorType2[EndBehaviorType2["Manual"] = 0] = "Manual";
|
|
@@ -1890,7 +1890,7 @@ var AudioReceiveStream = class extends import_node_stream.Readable {
|
|
|
1890
1890
|
this.renewEndTimeout(this.end);
|
|
1891
1891
|
}
|
|
1892
1892
|
if (buffer === null) {
|
|
1893
|
-
|
|
1893
|
+
import_node_process.default.nextTick(() => this.destroy());
|
|
1894
1894
|
}
|
|
1895
1895
|
return super.push(buffer);
|
|
1896
1896
|
}
|
|
@@ -3063,7 +3063,7 @@ __name(findPackageJSON, "findPackageJSON");
|
|
|
3063
3063
|
function version(name) {
|
|
3064
3064
|
try {
|
|
3065
3065
|
if (name === "@discordjs/voice") {
|
|
3066
|
-
return "0.19.1-dev.
|
|
3066
|
+
return "0.19.1-dev.1765454516-df0c28afc";
|
|
3067
3067
|
}
|
|
3068
3068
|
const pkg = findPackageJSON((0, import_node_path.dirname)(require.resolve(name)), name, 3);
|
|
3069
3069
|
return pkg?.version ?? "not found";
|
|
@@ -3211,7 +3211,7 @@ async function demuxProbe(stream, probeSize = 1024, validator = validateDiscordO
|
|
|
3211
3211
|
__name(demuxProbe, "demuxProbe");
|
|
3212
3212
|
|
|
3213
3213
|
// src/index.ts
|
|
3214
|
-
var version2 = "0.19.1-dev.
|
|
3214
|
+
var version2 = "0.19.1-dev.1765454516-df0c28afc";
|
|
3215
3215
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3216
3216
|
0 && (module.exports = {
|
|
3217
3217
|
AudioPlayer,
|