@drawio/mcp 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawio/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official draw.io MCP server for LLMs - Open diagrams in draw.io editor",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -95,7 +95,7 @@ function generateDrawioUrl(data, type, options = {})
95
95
  params.set("border", border.toString());
96
96
  params.set("edit", edit);
97
97
 
98
- const createHash = "#create=" + encodeURIComponent(JSON.stringify(createObj));
98
+ let createHash = "#create=" + encodeURIComponent(JSON.stringify(createObj));
99
99
 
100
100
  // Workaround for unsupported xml type
101
101
  if (createObj.type === "xml")