@gala-chain/launchpad-mcp-server 1.22.1 → 1.22.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.22.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: use GSwap SDK's native price impact calculation instead of custom formula
8
+
9
+ The custom price impact calculation was inaccurate. The GSwap SDK already provides a correct
10
+ `priceImpact` field in its quote responses that accounts for the actual exchange rate and pool
11
+ slippage. We now use that directly instead of computing our own formula.
12
+
13
+ This fixes issues where small swaps incorrectly showed 0% impact and large swaps showed incorrect
14
+ values.
15
+
16
+ - Updated dependencies
17
+ - @gala-chain/launchpad-sdk@3.27.2
18
+
3
19
  ## 1.22.1
4
20
 
5
21
  ### Patch Changes
@@ -3,5 +3,5 @@
3
3
  * This file is generated by scripts/inject-version.ts during build
4
4
  * DO NOT EDIT MANUALLY
5
5
  */
6
- export declare const MCP_SERVER_VERSION = "1.22.1";
6
+ export declare const MCP_SERVER_VERSION = "1.22.2";
7
7
  //# sourceMappingURL=version.d.ts.map
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.MCP_SERVER_VERSION = void 0;
9
- exports.MCP_SERVER_VERSION = '1.22.1';
9
+ exports.MCP_SERVER_VERSION = '1.22.2';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gala-chain/launchpad-mcp-server",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "description": "MCP server for Gala Launchpad - 62 tools (pool management, GSwap DEX trading, price history, token creation, wallet management) supporting optional wallet (read-only and full-access modes). Production-grade AI agent integration for Claude Desktop with comprehensive validation and 80%+ test coverage",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -73,7 +73,7 @@
73
73
  "dependencies": {
74
74
  "@gala-chain/api": "^2.4.3",
75
75
  "@gala-chain/connect": "^2.4.3",
76
- "@gala-chain/launchpad-sdk": "^3.27.1",
76
+ "@gala-chain/launchpad-sdk": "^3.27.2",
77
77
  "@modelcontextprotocol/sdk": "^0.5.0",
78
78
  "axios": "^1.12.2",
79
79
  "bignumber.js": "^9.1.2",