@gala-chain/launchpad-mcp-server 1.15.0 → 1.15.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 +26 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix isGraduated flag calculation to use correct saleStatus value
|
|
8
|
+
|
|
9
|
+
**Bug Fix:**
|
|
10
|
+
- Fixed `GalaChainService` calculation of `isGraduated` flag
|
|
11
|
+
- Was: `isGraduated = response.Data.saleStatus === 'Completed'` ❌
|
|
12
|
+
- Now: `isGraduated = response.Data.saleStatus === 'Finished'` ✅
|
|
13
|
+
- Backend actually returns `saleStatus: "Finished"` for graduated tokens, not `"Completed"`
|
|
14
|
+
- `DexService` now correctly uses reliable `isGraduated` flag for graduation detection
|
|
15
|
+
|
|
16
|
+
**Impact:**
|
|
17
|
+
- `fetchLaunchpadTokenSpotPrice()` now correctly identifies graduated tokens using `isGraduated`
|
|
18
|
+
- Tokens with `isGraduated: true` (saleStatus: "Finished") use `/v1/trade/price` DEX endpoint
|
|
19
|
+
- Ensures accurate spot pricing for graduated launchpad tokens like GALADOG
|
|
20
|
+
- No breaking changes - behavior corrected to match backend state progression
|
|
21
|
+
|
|
22
|
+
**Result:**
|
|
23
|
+
- GALADOG: `isGraduated: true` (saleStatus: "Finished") → Uses DEX endpoint ✅
|
|
24
|
+
- Other tokens: `isGraduated: false` (saleStatus: "Ongoing") → Uses bonding curve ✅
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- @gala-chain/launchpad-sdk@3.20.1
|
|
28
|
+
|
|
3
29
|
## 1.15.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"description": "MCP server for Gala Launchpad SDK with 55 tools + 14 slash commands - Production-grade AI agent integration with comprehensive validation, optimized performance, and 80%+ test coverage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@gala-chain/api": "^2.4.3",
|
|
66
66
|
"@gala-chain/connect": "^2.4.3",
|
|
67
|
-
"@gala-chain/launchpad-sdk": "^3.20.
|
|
67
|
+
"@gala-chain/launchpad-sdk": "^3.20.2",
|
|
68
68
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
69
69
|
"axios": "^1.12.2",
|
|
70
70
|
"bignumber.js": "^9.1.2",
|