ryanlink 1.0.2 → 2.0.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/LICENSE +201 -37
- package/README.md +97 -370
- package/dist/index.cjs +4833 -0
- package/dist/index.d.cts +1703 -0
- package/dist/index.d.ts +1528 -1160
- package/dist/index.js +4262 -4197
- package/dist/index.mjs +4261 -4106
- package/package.json +87 -79
- package/dist/index.d.mts +0 -1335
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/src/audio/AudioFilters.ts +0 -316
- package/src/audio/AudioQueue.ts +0 -782
- package/src/audio/AudioTrack.ts +0 -242
- package/src/audio/QueueController.ts +0 -252
- package/src/audio/TrackCollection.ts +0 -138
- package/src/audio/index.ts +0 -9
- package/src/config/defaults.ts +0 -223
- package/src/config/endpoints.ts +0 -99
- package/src/config/index.ts +0 -9
- package/src/config/patterns.ts +0 -55
- package/src/config/presets.ts +0 -400
- package/src/config/symbols.ts +0 -31
- package/src/core/PluginSystem.ts +0 -50
- package/src/core/RyanlinkPlayer.ts +0 -403
- package/src/core/index.ts +0 -6
- package/src/extensions/AutoplayExtension.ts +0 -283
- package/src/extensions/FairPlayExtension.ts +0 -154
- package/src/extensions/LyricsExtension.ts +0 -187
- package/src/extensions/PersistenceExtension.ts +0 -182
- package/src/extensions/SponsorBlockExtension.ts +0 -81
- package/src/extensions/index.ts +0 -9
- package/src/index.ts +0 -19
- package/src/lavalink/ConnectionPool.ts +0 -326
- package/src/lavalink/HttpClient.ts +0 -316
- package/src/lavalink/LavalinkConnection.ts +0 -409
- package/src/lavalink/index.ts +0 -7
- package/src/metadata.ts +0 -88
- package/src/types/api/Rest.ts +0 -949
- package/src/types/api/Websocket.ts +0 -463
- package/src/types/api/index.ts +0 -6
- package/src/types/audio/FilterManager.ts +0 -29
- package/src/types/audio/Queue.ts +0 -4
- package/src/types/audio/QueueManager.ts +0 -30
- package/src/types/audio/index.ts +0 -7
- package/src/types/common.ts +0 -63
- package/src/types/core/Player.ts +0 -322
- package/src/types/core/index.ts +0 -5
- package/src/types/index.ts +0 -6
- package/src/types/lavalink/Node.ts +0 -173
- package/src/types/lavalink/NodeManager.ts +0 -34
- package/src/types/lavalink/REST.ts +0 -144
- package/src/types/lavalink/index.ts +0 -32
- package/src/types/voice/VoiceManager.ts +0 -176
- package/src/types/voice/index.ts +0 -5
- package/src/utils/helpers.ts +0 -169
- package/src/utils/index.ts +0 -6
- package/src/utils/validators.ts +0 -184
- package/src/voice/RegionSelector.ts +0 -184
- package/src/voice/VoiceConnection.ts +0 -458
- package/src/voice/VoiceSession.ts +0 -297
- package/src/voice/index.ts +0 -7
package/package.json
CHANGED
|
@@ -1,82 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "ryanlink",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "High-performance, flexible and feature-rich lavalink-v4 wrapper for Discord bots,",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"advanced",
|
|
7
|
+
"bot",
|
|
8
|
+
"client",
|
|
9
|
+
"discord",
|
|
10
|
+
"ryanlink",
|
|
11
|
+
"audio",
|
|
12
|
+
"music",
|
|
13
|
+
"typescript",
|
|
14
|
+
"audio-engine"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/ryanwtf7/ryanlink",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/ryanwtf7/ryanlink/issues"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"author": "RY4N",
|
|
22
|
+
"contributors": [],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/ryanwtf7/ryanlink.git"
|
|
26
|
+
},
|
|
27
|
+
"directories": {
|
|
28
|
+
"lib": "src"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"type": "module",
|
|
34
|
+
"main": "./dist/index.cjs",
|
|
35
|
+
"module": "./dist/index.mjs",
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"bun": "./dist/index.mjs",
|
|
41
|
+
"require": "./dist/index.cjs",
|
|
42
|
+
"import": "./dist/index.mjs",
|
|
43
|
+
"default": "./dist/index.mjs"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "tsup",
|
|
51
|
+
"lint": "eslint src",
|
|
52
|
+
"lint:fix": "eslint src --fix",
|
|
53
|
+
"fmt": "prettier --write .",
|
|
54
|
+
"test": "jest",
|
|
55
|
+
"test:jest": "jest",
|
|
56
|
+
"test:watch": "vitest",
|
|
57
|
+
"test:coverage": "vitest run --coverage",
|
|
58
|
+
"prepublishOnly": "npm run fmt && npm run build"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"tslib": "^2.8.1",
|
|
62
|
+
"ws": "^8.19.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@types/bun": "latest",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"@types/node": "^24.10.15",
|
|
68
|
+
"@types/ws": "^8.18.1",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
70
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
71
|
+
"@vitest/coverage-v8": "^1.0.0",
|
|
72
|
+
"eslint": "^9.21.0",
|
|
73
|
+
"jest": "^29.7.0",
|
|
74
|
+
"prettier": "^3.5.3",
|
|
75
|
+
"ts-jest": "^29.2.6",
|
|
76
|
+
"tsup": "^8.5.1",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"vitest": "^1.0.0"
|
|
79
|
+
},
|
|
80
|
+
"engines": {
|
|
81
|
+
"bun": ">=1.1.27",
|
|
82
|
+
"node": ">=18.0.0"
|
|
83
|
+
},
|
|
84
|
+
"packageManager": "bun@1.3.9",
|
|
85
|
+
"pnpm": {
|
|
86
|
+
"onlyBuiltDependencies": [
|
|
87
|
+
"esbuild"
|
|
81
88
|
]
|
|
89
|
+
}
|
|
82
90
|
}
|