kill-switch-mcp 1.2.13 → 1.2.14

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.
Files changed (2) hide show
  1. package/dist/server.js +4 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -4097,13 +4097,15 @@ async function joinTournament(tournamentAddress, username) {
4097
4097
  }
4098
4098
  const keyAuth = readKeyAuthorization();
4099
4099
  const sponsorOpts = feePayerUrl ? { feePayer: true } : {};
4100
+ const gasOpts = keyAuth ? { gas: 700000n } : {};
4100
4101
  const approveHash = await walletClient.writeContract({
4101
4102
  address: USDC_ADDRESS,
4102
4103
  abi: ERC20_ABI,
4103
4104
  functionName: "approve",
4104
4105
  args: [tournamentAddress, buyIn],
4105
4106
  ...keyAuth ? { keyAuthorization: keyAuth } : {},
4106
- ...sponsorOpts
4107
+ ...sponsorOpts,
4108
+ ...gasOpts
4107
4109
  });
4108
4110
  await pub.waitForTransactionReceipt({ hash: approveHash });
4109
4111
  const usernameBytes = pad(stringToHex(username), { size: 32 });
@@ -4113,6 +4115,7 @@ async function joinTournament(tournamentAddress, username) {
4113
4115
  functionName: "deposit",
4114
4116
  args: [usernameBytes],
4115
4117
  ...keyAuth ? { keyAuthorization: keyAuth } : {},
4118
+ ...gasOpts,
4116
4119
  ...sponsorOpts
4117
4120
  });
4118
4121
  await pub.waitForTransactionReceipt({ hash: depositHash });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kill-switch-mcp",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "Kill Switch MCP Server — AI battle royale powered by Claude Code",
5
5
  "type": "module",
6
6
  "bin": {