create-mcp-use-app 0.11.0 → 0.11.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.
@@ -46,7 +46,7 @@ const WeatherWidget: React.FC = () => {
46
46
  }
47
47
 
48
48
  const { city, weather, temperature } = props;
49
- const getWeatherIcon = (weatherType: string) => {
49
+ const getWeatherIcon = (weatherType: string | undefined) => {
50
50
  switch (weatherType?.toLowerCase()) {
51
51
  case "sunny":
52
52
  return "☀️";
@@ -61,7 +61,7 @@ const WeatherWidget: React.FC = () => {
61
61
  }
62
62
  };
63
63
 
64
- const getWeatherColor = (weatherType: string) => {
64
+ const getWeatherColor = (weatherType: string | undefined) => {
65
65
  switch (weatherType?.toLowerCase()) {
66
66
  case "sunny":
67
67
  return "from-yellow-400 to-orange-500";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",