@weapp-vite/mcp 1.4.0 → 1.4.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/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1199,7 +1199,7 @@ function registerRuntimeNodeTools(server, manager) {
|
|
|
1199
1199
|
innerSelector: innerSelector ?? null,
|
|
1200
1200
|
method,
|
|
1201
1201
|
args: toSerializableValue(callArgs),
|
|
1202
|
-
result: toSerializableValue(await callRequiredMethod(element, method, ...callArgs))
|
|
1202
|
+
result: toSerializableValue(await callRequiredMethod(element, "callMethod", method, ...callArgs))
|
|
1203
1203
|
};
|
|
1204
1204
|
});
|
|
1205
1205
|
return toToolResult(result);
|
|
@@ -1612,7 +1612,7 @@ function registerRuntimePageTools(server, manager) {
|
|
|
1612
1612
|
return {
|
|
1613
1613
|
method,
|
|
1614
1614
|
args: toSerializableValue(callArgs),
|
|
1615
|
-
result: toSerializableValue(await callRequiredMethod(page, method, ...callArgs))
|
|
1615
|
+
result: toSerializableValue(await callRequiredMethod(page, "callMethod", method, ...callArgs))
|
|
1616
1616
|
};
|
|
1617
1617
|
});
|
|
1618
1618
|
return toToolResult(result);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-vite/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"description": "mcp",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
35
35
|
"zod": "^4.4.3",
|
|
36
|
-
"@weapp-vite/devtools-runtime": "0.4.
|
|
36
|
+
"@weapp-vite/devtools-runtime": "0.4.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"dev": "unbuild --stub",
|