mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
chore: bump dependencies (#11356)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -76,7 +76,7 @@ const libs = {
|
||||
return crypto.seal(nonce, cipherText, additionalData);
|
||||
},
|
||||
}),
|
||||
'@noble/ciphers/chacha': (noble: any): Methods => ({
|
||||
'@noble/ciphers/chacha.js': (noble: any): Methods => ({
|
||||
crypto_aead_xchacha20poly1305_ietf_decrypt(cipherText, additionalData, nonce, key) {
|
||||
const chacha = noble.xchacha20poly1305(key, nonce, additionalData);
|
||||
return chacha.decrypt(cipherText);
|
||||
|
||||
Reference in New Issue
Block a user