@zeplin/mcp-server 1.0.5 → 1.0.6
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.
|
@@ -49,7 +49,7 @@ export async function processScreenVersionsAndAnnotations(projectId, screenIds,
|
|
|
49
49
|
const annotations = response.data;
|
|
50
50
|
const screenVersion = screenVersionResponses[index];
|
|
51
51
|
return annotations.map((annotation) => ({
|
|
52
|
-
type: annotation.type
|
|
52
|
+
type: annotation.type?.name ?? "none",
|
|
53
53
|
text: annotation.content,
|
|
54
54
|
position: {
|
|
55
55
|
x: annotation.position.x * (screenVersion.data.width || 0),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeplin/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Zeplin’s official MCP server for AI-assisted UI development",
|
|
5
5
|
"author": "Zeplin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.10.2",
|
|
39
|
-
"@zeplin/sdk": "^1.
|
|
39
|
+
"@zeplin/sdk": "^1.40.0",
|
|
40
40
|
"node-fetch": "^3.3.2",
|
|
41
41
|
"zod": "^3.24.3"
|
|
42
42
|
},
|