@frontmcp/ui 1.9.1-rc.3 → 1.9.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/README.md CHANGED
@@ -43,12 +43,12 @@ import { McpBridgeProvider, useCallTool, useToolOutput } from '@frontmcp/ui/reac
43
43
 
44
44
  function WeatherWidget() {
45
45
  const output = useToolOutput<{ temp: number }>();
46
- const { call, loading } = useCallTool('get_weather');
46
+ const [callWeather, { loading }] = useCallTool<{ city: string }>('get_weather');
47
47
 
48
48
  return (
49
49
  <div>
50
50
  <p>{output?.temp}C</p>
51
- <button onClick={() => call({ city: 'London' })} disabled={loading}>
51
+ <button onClick={() => callWeather({ city: 'London' })} disabled={loading}>
52
52
  Refresh
53
53
  </button>
54
54
  </div>
package/esm/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/ui",
3
- "version": "1.9.1-rc.3",
3
+ "version": "1.9.2",
4
4
  "description": "FrontMCP UI - MUI-based React components, renderers, and MCP bridge for MCP applications",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "homepage": "https://docs.agentfront.dev",
@@ -439,7 +439,7 @@
439
439
  }
440
440
  },
441
441
  "optionalDependencies": {
442
- "@frontmcp/uipack": "1.9.1-rc.3"
442
+ "@frontmcp/uipack": "1.9.2"
443
443
  },
444
444
  "devDependencies": {
445
445
  "@types/dompurify": "^3.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/ui",
3
- "version": "1.9.1-rc.3",
3
+ "version": "1.9.2",
4
4
  "description": "FrontMCP UI - MUI-based React components, renderers, and MCP bridge for MCP applications",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "homepage": "https://docs.agentfront.dev",
@@ -439,7 +439,7 @@
439
439
  }
440
440
  },
441
441
  "optionalDependencies": {
442
- "@frontmcp/uipack": "1.9.1-rc.3"
442
+ "@frontmcp/uipack": "1.9.2"
443
443
  },
444
444
  "devDependencies": {
445
445
  "@types/dompurify": "^3.0.0",