aqualink 2.12.2 → 2.14.0

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
@@ -49,7 +49,7 @@
49
49
  </div>
50
50
 
51
51
  ## 📦 Installation
52
- **Latest Stable Release: `v2.11.7`** • **Choose your preferred package manager below**
52
+ **Latest Stable Release: `v2.13.0`** • **Choose your preferred package manager below**
53
53
 
54
54
  <details>
55
55
  <summary><strong>📦 NPM (Most Popular)</strong></summary>
@@ -164,7 +164,7 @@ const nodes = [
164
164
  host: "127.0.0.1",
165
165
  password: "your_password",
166
166
  port: 2333,
167
- secure: false,
167
+ ssl: false,
168
168
  name: "main-node"
169
169
  }
170
170
  ];
@@ -174,8 +174,8 @@ const aqua = new Aqua(client, nodes, {
174
174
  restVersion: "v4",
175
175
  autoResume: true,
176
176
  infiniteReconnects: true,
177
- autoplayPlatform: ['spsearch', 'ytsearch', 'scsearch'],
178
- nodeResolver: 'LeastLoad'
177
+ loadBalancer: 'LeastLoad',
178
+ leaveOnEnd: false
179
179
  });
180
180
 
181
181
  client.aqua = aqua;
@@ -313,7 +313,7 @@ client.on(Events.MessageCreate, async (message) => {
313
313
 
314
314
  For detailed usage, API references, and examples, check out our official documentation:
315
315
 
316
- [![Docs](https://img.shields.io/badge/Documentation-0099FF?style=for-the-badge&logo=readthedocs&logoColor=white)](https://roddynnn.github.io/docs/)
316
+ [![Docs](https://img.shields.io/badge/Documentation-0099FF?style=for-the-badge&logo=readthedocs&logoColor=white)](https://aqualink-6006388d.mintlify.app)
317
317
 
318
318
  📌 **Get Started Quickly**
319
319
  - Installation guide
@@ -321,7 +321,7 @@ For detailed usage, API references, and examples, check out our official documen
321
321
  - Advanced features
322
322
  - Troubleshooting
323
323
 
324
- 🔗 Visit: **[Aqualink Docs](https://roddynnn.github.io/docs)**
324
+ 🔗 Visit: **[Aqualink Docs](https://aqualink-6006388d.mintlify.app)**
325
325
 
326
326
  ## 👑 Premium Bots Using Aqualink
327
327
 
@@ -377,10 +377,10 @@ For detailed usage, API references, and examples, check out our official documen
377
377
  <tbody>
378
378
  <tr>
379
379
  <td align="center" valign="top" width="50%">
380
- <a href="https://github.com/pomicee">
381
- <img src="https://avatars.githubusercontent.com/u/134554554?v=4?s=100" width="100px;" alt="pomicee"/>
380
+ <a href="https://github.com/southctrl">
381
+ <img src="https://avatars.githubusercontent.com/u/134554554?v=4?s=100" width="100px;" alt="southctrl"/>
382
382
  <br />
383
- <sub><b>asynico</b></sub>
383
+ <sub><b>southctrl</b></sub>
384
384
  </a>
385
385
  <br />
386
386
  <a href="#code-pomicee" title="Code">💻</a>
@@ -446,4 +446,4 @@ Join our thriving community of developers and bot creators!
446
446
 
447
447
  <sub>Built with 💙 by the Aqualink Team</sub>
448
448
 
449
- </div>
449
+ </div>
package/build/index.d.ts CHANGED
@@ -113,7 +113,7 @@ declare module "aqualink" {
113
113
  host: string;
114
114
  name: string;
115
115
  port: number;
116
- password: string;
116
+ auth: string;
117
117
  ssl: boolean;
118
118
  sessionId: string | null;
119
119
  regions: string[];
@@ -528,8 +528,8 @@ declare module "aqualink" {
528
528
  host: string;
529
529
  name?: string;
530
530
  port?: number | string;
531
- password?: string;
532
- secure?: boolean;
531
+ auth?: string;
532
+ ssl?: boolean;
533
533
  sessionId?: string;
534
534
  regions?: string[];
535
535
  }
@@ -1016,4 +1016,38 @@ declare module "aqualink" {
1016
1016
  readonly QUEUE: 2;
1017
1017
  };
1018
1018
 
1019
- }
1019
+ export const AqualinkEvents: {
1020
+ readonly TrackStart: 'trackStart';
1021
+ readonly TrackEnd: 'trackEnd';
1022
+ readonly TrackError: 'trackError';
1023
+ readonly TrackStuck: 'trackStuck';
1024
+ readonly TrackChange: 'trackChange';
1025
+ readonly SocketClosed: 'socketClosed';
1026
+ readonly LyricsLine: 'lyricsLine';
1027
+ readonly LyricsFound: 'lyricsFound';
1028
+ readonly LyricsNotFound: 'lyricsNotFound';
1029
+ readonly QueueEnd: 'queueEnd';
1030
+ readonly PlayerUpdate: 'playerUpdate';
1031
+ readonly PlayerMove: 'playerMove';
1032
+ readonly PlayerReconnected: 'playerReconnected';
1033
+ readonly AutoplayFailed: 'autoplayFailed';
1034
+ readonly ReconnectionFailed: 'reconnectionFailed';
1035
+ readonly NodeConnect: 'nodeConnect';
1036
+ readonly NodeCreate: 'nodeCreate';
1037
+ readonly NodeError: 'nodeError';
1038
+ readonly NodeDisconnect: 'nodeDisconnect';
1039
+ readonly NodeReconnect: 'nodeReconnect';
1040
+ readonly NodeDestroy: 'nodeDestroy';
1041
+ readonly NodeReady: 'nodeReady';
1042
+ readonly NodeCustomOp: 'nodeCustomOp';
1043
+ readonly NodeFailover: 'nodeFailover';
1044
+ readonly NodeFailoverComplete: 'nodeFailoverComplete';
1045
+ readonly Debug: 'debug';
1046
+ readonly Error: 'error';
1047
+ readonly PlayerCreate: 'playerCreate';
1048
+ readonly PlayerDestroy: 'playerDestroy';
1049
+ readonly PlayersRebuilt: 'playersRebuilt';
1050
+ readonly PlayerMigrated: 'playerMigrated';
1051
+ };
1052
+
1053
+ }
package/build/index.js CHANGED
@@ -7,6 +7,6 @@ const Plugin = require("./structures/Plugins");
7
7
  const Queue = require("./structures/Queue");
8
8
  const Rest = require("./structures/Rest");
9
9
  const Track = require("./structures/Track");
10
- const SearchPlatforms = require("./structures/SearchPlatforms");
10
+ const { AqualinkEvents } = require("./structures/AqualinkEvents")
11
11
 
12
- module.exports = { Connection, Filters, Node, Aqua, Player, Plugin, Queue, Rest, Track, SearchPlatforms };
12
+ module.exports = { Connection, Filters, Node, Aqua, Player, Plugin, Queue, Rest, Track, AqualinkEvents };