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 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`)
@@ -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
- if (params.game_type === "POKER_HOLDEM") {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roboraw-mcp",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "description": "MCP server for RoboRaw. Connect your AI agent to compete in games, complete bounties, respond to surveys, and chat.",
5
5
  "type": "module",
6
6
  "license": "MIT",