magmastream 2.2.2 → 2.2.4

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/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
  ![GitHub Stars](https://img.shields.io/github/stars/Blackfort-Hosting/magmastream.svg)
6
6
  [![Issues](https://img.shields.io/github/issues/Blackfort-Hosting/magmastream.svg)](https://github.com/Blackfort-Hosting/magmastream/issues)
7
7
  [![Pull Requests](https://img.shields.io/github/issues-pr/Blackfort-Hosting/magmastream.svg)](https://github.com/Blackfort-Hosting/magmastream/pulls)
8
+ [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/Blackfort-Hosting)
9
+
8
10
 
9
11
  **Magmastream** a lavalink wrapper for NodeJs. Magmastream only supports lavalink version 4.
10
12
 
package/dist/index.d.ts CHANGED
@@ -946,4 +946,4 @@ interface PlaylistData {
946
946
  tracks: Track[];
947
947
  }
948
948
 
949
- export { CPUStats, EqualizerBand, Exception, Extendable, FrameStats, LavalinkResponse, LoadType, Manager, ManagerOptions, MemoryStats, Node, NodeMessage, NodeOptions, NodeStats, NowPlayingMessage, Payload, PlayOptions, Player, PlayerEvent, PlayerEventType, PlayerEvents, PlayerOptions, PlayerUpdate, PlaylistData, PlaylistRawData, Plugin, Queue, SearchPlatform, SearchQuery, SearchResult, Severity, Sizes, State, Structure, Track, TrackData, TrackDataInfo, TrackEndEvent, TrackEndReason, TrackExceptionEvent, TrackStartEvent, TrackStuckEvent, TrackUtils, UnresolvedQuery, UnresolvedTrack, VoicePacket, VoiceServer, VoiceState, WebSocketClosedEvent };
949
+ export { type CPUStats, type EqualizerBand, type Exception, type Extendable, type FrameStats, type LavalinkResponse, type LoadType, Manager, type ManagerOptions, type MemoryStats, Node, type NodeMessage, type NodeOptions, type NodeStats, type NowPlayingMessage, type Payload, type PlayOptions, Player, type PlayerEvent, type PlayerEventType, type PlayerEvents, type PlayerOptions, type PlayerUpdate, type PlaylistData, type PlaylistRawData, Plugin, Queue, type SearchPlatform, type SearchQuery, type SearchResult, type Severity, type Sizes, type State, Structure, type Track, type TrackData, type TrackDataInfo, type TrackEndEvent, type TrackEndReason, type TrackExceptionEvent, type TrackStartEvent, type TrackStuckEvent, TrackUtils, type UnresolvedQuery, type UnresolvedTrack, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent };
@@ -292,7 +292,7 @@ class Player {
292
292
  this.dynamicLoopInterval = setInterval(() => {
293
293
  if (!this.dynamicRepeat)
294
294
  return;
295
- let shuffled = _.shuffle(this.queue);
295
+ const shuffled = _.shuffle(this.queue);
296
296
  this.queue.clear();
297
297
  shuffled.forEach((track) => {
298
298
  this.queue.add(track);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,25 +14,25 @@
14
14
  "ci": "run-s lint build types"
15
15
  },
16
16
  "devDependencies": {
17
- "@favware/rollup-type-bundler": "^2.0.0",
18
- "@types/lodash": "^4.14.196",
19
- "@types/node": "^20.4.6",
20
- "@types/ws": "^8.5.3",
21
- "@typescript-eslint/eslint-plugin": "^6.2.1",
22
- "@typescript-eslint/parser": "^6.2.1",
23
- "eslint": "^8.46.0",
17
+ "@favware/rollup-type-bundler": "^3.2.1",
18
+ "@types/lodash": "^4.14.202",
19
+ "@types/node": "^20.10.4",
20
+ "@types/ws": "^8.5.10",
21
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
22
+ "@typescript-eslint/parser": "^6.13.2",
23
+ "eslint": "^8.55.0",
24
24
  "npm-run-all": "^1.7.0",
25
- "typedoc": "^0.24.8",
25
+ "typedoc": "^0.25.4",
26
26
  "typedoc-plugin-no-inherit": "^1.4.0",
27
- "typescript": "^5.1.6"
27
+ "typescript": "^5.3.3"
28
28
  },
29
29
  "dependencies": {
30
- "@discordjs/collection": "^1.5.2",
31
- "axios": "^1.4.0",
30
+ "@discordjs/collection": "^2.0.0",
31
+ "axios": "^1.6.2",
32
32
  "events": "^3.3.0",
33
33
  "lodash": "^4.17.21",
34
- "tslib": "^2.6.1",
35
- "ws": "^8.8.1"
34
+ "tslib": "^2.6.2",
35
+ "ws": "^8.15.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=16.0.0"
@@ -84,4 +84,4 @@
84
84
  "homepage": "https://docs.blackforthosting.com",
85
85
  "author": "Abel Purnwasy",
86
86
  "license": "Apache-2.0"
87
- }
87
+ }