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

magmastream

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magmastream - npm Package Compare versions

Comparing version 2.0.8 to 2.1.0

22

dist/index.d.ts

@@ -757,6 +757,7 @@ /// <reference types="node" />

/**
* Emitted when a player queue ends.
* @event Manager#queueEnd
* Emitted when the state of the player has been changed.
* https://github.com/Blackfort-Hosting/magmastream/issues/16
* @event Manager#playerStateUpdate
*/
on(event: "queueEnd", listener: (player: Player, track: Track | UnresolvedTrack, payload: TrackEndEvent) => void): this;
on(event: "playerStateUpdate", listener: (player: Player) => void): this;
/**

@@ -773,2 +774,12 @@ * Emitted when a player is moved to a new voice channel.

/**
* Emitted when a player queue ends.
* @event Manager#queueEnd
*/
on(event: "queueEnd", listener: (player: Player, track: Track | UnresolvedTrack, payload: TrackEndEvent) => void): this;
/**
* Emitted when a voice connection is closed.
* @event Manager#socketClosed
*/
on(event: "socketClosed", listener: (player: Player, payload: WebSocketClosedEvent) => void): this;
/**
* Emitted when a track starts.

@@ -793,7 +804,2 @@ * @event Manager#trackStart

on(event: "trackError", listener: (player: Player, track: Track | UnresolvedTrack, payload: TrackExceptionEvent) => void): this;
/**
* Emitted when a voice connection is closed.
* @event Manager#socketClosed
*/
on(event: "socketClosed", listener: (player: Player, payload: WebSocketClosedEvent) => void): this;
}

@@ -800,0 +806,0 @@ /**

@@ -250,2 +250,3 @@ "use strict";

}
this.manager.emit("playerStateUpdate", this);
return this;

@@ -270,2 +271,3 @@ }

}
this.manager.emit("playerStateUpdate", this);
return this;

@@ -305,2 +307,3 @@ }

}
this.manager.emit("playerStateUpdate", this);
return this;

@@ -355,2 +358,3 @@ }

});
this.manager.emit("playerStateUpdate", this);
return this;

@@ -357,0 +361,0 @@ }

{
"name": "magmastream",
"version": "2.0.8",
"version": "2.1.0",
"description": "A user-friendly Lavalink client designed for NodeJS.",

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

@@ -38,5 +38,7 @@ # Magmastream

- [Lava Jukebox](https://discord.com/api/oauth2/authorize?client_id=887651843742793779&permissions=-1&redirect_uri=https%3A%2F%2Fdiscord.gg%2F4ZaXbbYSTZ&response_type=code&scope=guilds.join%20bot%20applications.commands)
| Name | Creator |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| [Lava Jukebox](https://discord.com/api/oauth2/authorize?client_id=887651843742793779&permissions=-1&redirect_uri=https%3A%2F%2Fdiscord.gg%2F4ZaXbbYSTZ&response_type=code&scope=guilds.join%20bot%20applications.commands) | Abel Purnwasy |
If you want to add your own bot create a pull request with your bot added.
If you want to add your own bot create a pull request with your bot added. Please add your full name.

@@ -43,0 +45,0 @@ ## Contributors

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