New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@discordjs/voice

Package Overview
Dependencies
Maintainers
2
Versions
1239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discordjs/voice - npm Package Compare versions

Comparing version 0.11.0-dev.1656590660-525bf03 to 0.11.0-dev.1656634295-819a1fd

30

dist/index.d.ts

@@ -620,3 +620,3 @@ import EventEmitter, { EventEmitter as EventEmitter$1 } from 'node:events';

*
* @param buffer The received buffer
* @param buffer - The received buffer
*/

@@ -1057,3 +1057,3 @@ private onMessage;

*
* @param data The data to update with
* @param data - The data to update with
*/

@@ -1064,3 +1064,3 @@ update(data: VoiceUserData): void;

*
* @param target The target, either their user id or audio SSRC
* @param target - The target, either their user id or audio SSRC
*/

@@ -1071,3 +1071,3 @@ get(target: number | string): VoiceUserData | undefined;

*
* @param target The target of the delete operation, either their audio SSRC or user id
* @param target - The target of the delete operation, either their audio SSRC or user id
*

@@ -1137,3 +1137,3 @@ * @returns The data that was deleted, if any

*
* @param packet The received packet
* @param packet - The received packet
*

@@ -1147,6 +1147,6 @@ * @internal

*
* @param buffer The buffer to parse
* @param mode The encryption mode
* @param nonce The nonce buffer used by the connection for encryption
* @param secretKey The secret key used by the connection for encryption
* @param buffer - The buffer to parse
* @param mode - The encryption mode
* @param nonce - The nonce buffer used by the connection for encryption
* @param secretKey - The secret key used by the connection for encryption
*

@@ -1159,3 +1159,3 @@ * @returns The parsed Opus packet

*
* @param msg The received message
* @param msg - The received message
*

@@ -1168,3 +1168,3 @@ * @internal

*
* @param target The id of the user to subscribe to
* @param target - The id of the user to subscribe to
*

@@ -1626,3 +1626,3 @@ * @returns A readable stream of Opus packets received from the target

*
* @param opusHead The Opus Head to validate
* @param opusHead - The Opus Head to validate
*

@@ -1649,5 +1649,5 @@ * @returns `true` if suitable to play in a Discord voice channel, otherwise `false`

*
* @param stream The readable stream to probe
* @param probeSize The number of bytes to attempt to read before giving up on the probe
* @param validator The Opus Head validator function
* @param stream - The readable stream to probe
* @param probeSize - The number of bytes to attempt to read before giving up on the probe
* @param validator - The Opus Head validator function
*

@@ -1654,0 +1654,0 @@ * @experimental

{
"name": "@discordjs/voice",
"version": "0.11.0-dev.1656590660-525bf03",
"version": "0.11.0-dev.1656634295-819a1fd",
"description": "Implementation of the Discord Voice API for node.js",

@@ -10,3 +10,3 @@ "scripts": {

"format": "prettier --cache --write . && eslint src __tests__ --ext mjs,js,ts --fix --cache",
"docs": "docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript",
"docs": "docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
"prepack": "yarn build && yarn lint && yarn test",

@@ -68,2 +68,3 @@ "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/voice/*'",

"@favware/cliff-jumper": "^1.8.3",
"@microsoft/api-extractor": "^7.28.2",
"@types/jest": "^28.1.2",

@@ -70,0 +71,0 @@ "eslint": "^8.18.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc