@gala-chain/launchpad-mcp-server 1.13.3 → 1.13.5

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,65 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Simplify price history response structure with tokenId field
8
+
9
+ Replace individual token class fields (collection, category, type, additionalKey) with a single
10
+ pipe-delimited tokenId field in PriceSnapshot responses.
11
+
12
+ Changes:
13
+ - PriceSnapshot interface now has tokenId: string instead of separate fields
14
+ - Both fetchPriceHistory and fetchPrices return simplified snapshots
15
+ - Updated response transformation logic to construct tokenId from API data
16
+ - Made httpClient optional in PriceHistoryService constructor (only required when using
17
+ fetchPriceHistory, not for MySQL-only methods)
18
+
19
+ Example response change:
20
+ - Before: { price: '0.166', ..., collection: 'GALA', category: 'Unit', type: 'none',
21
+ additionalKey: 'none' }
22
+ - After: { price: '0.166', ..., tokenId: 'GALA|Unit|none|none' }
23
+
24
+ - Updated dependencies
25
+ - @gala-chain/launchpad-sdk@3.17.0
26
+
27
+ ## 1.13.4
28
+
29
+ ### Patch Changes
30
+
31
+ - ## Fix: Support Both GalaChain Token Format Variants (v3.16.4)
32
+
33
+ Enhanced token format handling to support both GalaChain token ID formats seamlessly.
34
+
35
+ GalaChain supports two token ID format variants:
36
+
37
+ **Format 1: Standard (collection="Token")**
38
+
39
+ ```
40
+ Token|Unit|GALA|none → GALA$Unit$none$none
41
+ Token|Unit|SILK|none → SILK$Unit$none$none
42
+ ```
43
+
44
+ **Format 2: Direct (collection=token name)**
45
+
46
+ ```
47
+ GALA|Unit|none|none → GALA$Unit$none$none
48
+ SILK|Unit|none|none → SILK$Unit$none$none
49
+ ```
50
+
51
+ Both are now handled correctly by detecting which field contains the token name and extracting it
52
+ appropriately for the DEX Backend API.
53
+
54
+ Changes:
55
+ - Detect token name location based on collection field
56
+ - Extract from `type` field if collection="Token", otherwise from `collection` field
57
+ - Build API format consistently: `{TOKEN_NAME}$Unit$none$none`
58
+ - Both token format variants now work identically
59
+
60
+ - Updated dependencies
61
+ - @gala-chain/launchpad-sdk@3.16.4
62
+
3
63
  ## 1.13.3
4
64
 
5
65
  ### 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.13.3";
6
+ export declare const MCP_SERVER_VERSION = "1.13.5";
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.13.3';
9
+ exports.MCP_SERVER_VERSION = '1.13.5';
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.13.3",
3
+ "version": "1.13.5",
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.16.3",
67
+ "@gala-chain/launchpad-sdk": "^3.17.0",
68
68
  "@modelcontextprotocol/sdk": "^0.5.0",
69
69
  "axios": "^1.12.2",
70
70
  "bignumber.js": "^9.1.2",