magmastream 2.10.3 → 2.10.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/dist/structures/Node.js +1 -1
- package/package.json +3 -2
package/dist/structures/Node.js
CHANGED
|
@@ -544,7 +544,7 @@ class Node {
|
|
|
544
544
|
if (!player || player.node.options.identifier !== this.options.identifier)
|
|
545
545
|
return;
|
|
546
546
|
player.position = payload.state.position ?? 0;
|
|
547
|
-
|
|
547
|
+
// Transport status can lag lifecycle events; expose it without overwriting player.state.
|
|
548
548
|
this.manager.emit(Enums_1.ManagerEventTypes.PlayerUpdate, player, payload);
|
|
549
549
|
}
|
|
550
550
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magmastream",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.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",
|
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
"prepare": "npm run build",
|
|
12
12
|
"build": "tsc",
|
|
13
13
|
"types": "rtb --dist dist",
|
|
14
|
+
"test": "npm run build && node --test tests/player-state.test.cjs",
|
|
14
15
|
"format": "prettier --write .",
|
|
15
16
|
"format:check": "prettier --check .",
|
|
16
17
|
"lint": "eslint \"src/**/*.{ts,js}\"",
|
|
17
18
|
"lint:fix": "eslint --fix \"src/**/*.{ts,js}\"",
|
|
18
|
-
"ci": "run-s format:check lint build types",
|
|
19
|
+
"ci": "run-s format:check lint build types test",
|
|
19
20
|
"version:alpha": "node scripts/prerelease-version.cjs alpha",
|
|
20
21
|
"version:dev": "node scripts/prerelease-version.cjs dev",
|
|
21
22
|
"release:alpha": "npm run format && npm run lint:fix && npm run ci && npm run version:alpha && npm publish --tag alpha && git push && git push --follow-tags",
|