Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shoukaku

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shoukaku - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

2

package.json
{
"name": "shoukaku",
"version": "2.1.3",
"version": "2.1.4",
"description": "A lavalink wrapper that supports almost all libraries",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -218,3 +218,3 @@ const EventEmitter = require('events');

throw new Error('Can\'t join this channel. This connection is already connected');
if (player?.connection.reconnecting)
if (player?.connection.reconnecting)
throw new Error('Can\'t join this channel. This connection is currently force-reconnecting');

@@ -344,3 +344,3 @@ try {

const players = [...this.players.values()];
const moved = this.moveOnDisconnect && this.shoukaku.nodes.size > 1;
const moved = this.moveOnDisconnect && [...this.shoukaku.nodes.values()].filter(node => node.group === this.group).length > 1;
for (const player of players) {

@@ -347,0 +347,0 @@ moved ? player.moveNode(this.shoukaku._getIdeal(this.group).name) : player.connection.disconnect();

@@ -86,3 +86,3 @@ const EventEmitter = require('events');

*/
/**
/**
* Emitted when a node becomes ready

@@ -124,2 +124,37 @@ * @event Shoukaku#ready

*/
/**
* Emitted when a track from the player has been started
* @event Shoukaku#playerTrackStart
* @param {ShoukakuPlayer} player The player that sent the track start event
* @param {Object} payload The payload from lavalink
* @memberof Shoukaku
*/
/**
* Emitted when a track from the player has been ended
* @event Shoukaku#playerTrackEnd
* @param {ShoukakuPlayer} player The player that sent the track end event
* @param {Object} payload The payload from lavalink
* @memberof Shoukaku
*/
/**
* Emitted when a player get exception
* @event Shoukaku#playerException
* @param {ShoukakuPlayer} player The player that get the exception
* @param {Object} payload The payload from lavalink
* @memberof Shoukaku
*/
/**
* Emitted when a player was closed
* @event Shoukaku#playerClosed
* @param {ShoukakuPlayer} player The player that get closed
* @param {Object} payload The payload from lavalink
* @memberof Shoukaku
*/
/**
* Emitted when a player get payload update from lavalink
* @event Shoukaku#playerUpdate
* @param {ShoukakuPlayer} player The player that get the payload
* @param {Object} payload The payload from lavalink
* @memberof Shoukaku
*/

@@ -126,0 +161,0 @@ /**

@@ -5,3 +5,3 @@ import * as Constants from "./enums";

export * as Libraries from './libraries';
export * from './enums';
export * as Constants from './enums';
export { version } from '../package.json';

@@ -8,0 +8,0 @@

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