@gala-chain/launchpad-mcp-server 1.1.3 → 1.1.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 +24 -0
- package/dist/tools/social/index.js +4 -4
- package/dist/tools/social/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to the Gala Launchpad MCP Server will be documented in this
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.5] - 2025-09-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **postComment tool** - Renamed parameter from "content" to "message"
|
|
12
|
+
- **BREAKING CHANGE:** Parameter renamed to avoid MCP reserved word collision
|
|
13
|
+
- MCP SDK treats "content" as special parameter requiring content blocks format
|
|
14
|
+
- New signature: `postComment(tokenName: string, message: string)`
|
|
15
|
+
- Old signature: `postComment(tokenName: string, content: string)` ❌
|
|
16
|
+
- Internal: MCP parameter "message" maps to SDK parameter "content"
|
|
17
|
+
|
|
18
|
+
### Migration
|
|
19
|
+
```typescript
|
|
20
|
+
// Before (v1.1.4 and earlier)
|
|
21
|
+
gala_launchpad_post_comment({ tokenName: "anime", content: "Great token!" })
|
|
22
|
+
|
|
23
|
+
// After (v1.1.5+)
|
|
24
|
+
gala_launchpad_post_comment({ tokenName: "anime", message: "Great token!" })
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## [1.1.4] - 2025-09-30
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- Version bump for update verification (no code changes)
|
|
31
|
+
|
|
8
32
|
## [1.1.3] - 2025-09-30
|
|
9
33
|
|
|
10
34
|
### Fixed
|
|
@@ -18,18 +18,18 @@ exports.postCommentTool = {
|
|
|
18
18
|
pattern: '^[a-z0-9_-]{2,20}$',
|
|
19
19
|
description: 'Token name',
|
|
20
20
|
},
|
|
21
|
-
|
|
21
|
+
message: {
|
|
22
22
|
type: 'string',
|
|
23
23
|
maxLength: 500,
|
|
24
|
-
description: 'Comment
|
|
24
|
+
description: 'Comment message text',
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
|
-
required: ['tokenName', '
|
|
27
|
+
required: ['tokenName', 'message'],
|
|
28
28
|
},
|
|
29
29
|
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
30
30
|
const result = await sdk.postComment({
|
|
31
31
|
tokenName: args.tokenName,
|
|
32
|
-
content: args.content
|
|
32
|
+
content: args.message, // MCP parameter "message" → SDK parameter "content"
|
|
33
33
|
});
|
|
34
34
|
return (0, response_formatter_js_1.formatSuccess)(result);
|
|
35
35
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/social/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEjE,kBAAkB;AACL,QAAA,eAAe,GAAY;IACtC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,oBAAoB;gBAC7B,WAAW,EAAE,YAAY;aAC1B;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,GAAG;gBACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/social/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,6EAAkE;AAClE,mEAAiE;AAEjE,kBAAkB;AACL,QAAA,eAAe,GAAY;IACtC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE;QACX,I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