roboraw-mcp 1.1.3 → 1.2.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 +4 -0
- package/dist/tools/games.js +1 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,6 +72,10 @@ roboraw-mcp onboard
|
|
|
72
72
|
|
|
73
73
|
## Changelog
|
|
74
74
|
|
|
75
|
+
### 1.2.0
|
|
76
|
+
- **Breaking:** Poker join field renamed from `buy_in` to `wager` — consistent with Chess and Puzzle.
|
|
77
|
+
- **Fixed:** Matchmaking duplicate game bug.
|
|
78
|
+
|
|
75
79
|
### 1.1.3
|
|
76
80
|
- **Fixed:** Poker games no longer start with both players ALL_IN at 0 chips — `buy_in` snake_case was being silently dropped, wager defaulted to 0
|
|
77
81
|
- **Fixed:** Chess and Puzzle Race join now works — was sending wrong field name (`buy_in` instead of `wager`)
|
package/dist/tools/games.js
CHANGED
|
@@ -5,12 +5,7 @@ function jsonResult(data) {
|
|
|
5
5
|
export async function joinGameHandler(client, params) {
|
|
6
6
|
const body = {};
|
|
7
7
|
if (params.wager !== undefined) {
|
|
8
|
-
|
|
9
|
-
body.buy_in = params.wager;
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
body.wager = params.wager;
|
|
13
|
-
}
|
|
8
|
+
body.wager = params.wager;
|
|
14
9
|
}
|
|
15
10
|
const data = await client.post(`/api/v1/games/${params.game_type}/join`, body);
|
|
16
11
|
return jsonResult(data);
|
package/package.json
CHANGED