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

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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.22.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: return raw price impact values with full precision instead of rounding to 2 decimals
8
+
9
+ Changed price impact return format from `.toFixed(2)` to `.toString()` to preserve the full
10
+ precision of GSwap SDK's price impact calculations. This allows consumers to see the actual price
11
+ impact values without rounding loss.
12
+
13
+ - Updated dependencies
14
+ - @gala-chain/launchpad-sdk@3.27.3
15
+
16
+ ## 1.22.2
17
+
18
+ ### Patch Changes
19
+
20
+ - fix: use GSwap SDK's native price impact calculation instead of custom formula
21
+
22
+ The custom price impact calculation was inaccurate. The GSwap SDK already provides a correct
23
+ `priceImpact` field in its quote responses that accounts for the actual exchange rate and pool
24
+ slippage. We now use that directly instead of computing our own formula.
25
+
26
+ This fixes issues where small swaps incorrectly showed 0% impact and large swaps showed incorrect
27
+ values.
28
+
29
+ - Updated dependencies
30
+ - @gala-chain/launchpad-sdk@3.27.2
31
+
3
32
  ## 1.22.1
4
33
 
5
34
  ### 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.3";
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.3';
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.3",
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.3",
77
77
  "@modelcontextprotocol/sdk": "^0.5.0",
78
78
  "axios": "^1.12.2",
79
79
  "bignumber.js": "^9.1.2",