create-mcp-use-app 2.0.0-beta.10 → 2.0.0-beta.11

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1532,13 +1532,14 @@ function renderLogo() {
1532
1532
  var packageJson = JSON.parse(
1533
1533
  readFileSync2(join3(__dirname, "../package.json"), "utf-8")
1534
1534
  );
1535
+ var DEFAULT_MCP_USE_VERSION = "2.0.0-beta.36";
1535
1536
  function getCurrentPackageVersions(isDevelopment = false, sdkVersion) {
1536
1537
  if (isDevelopment) {
1537
1538
  return {
1538
1539
  "mcp-use": "workspace:*"
1539
1540
  };
1540
1541
  }
1541
- const requestedSdk = sdkVersion ?? "latest";
1542
+ const requestedSdk = sdkVersion ?? DEFAULT_MCP_USE_VERSION;
1542
1543
  return {
1543
1544
  "mcp-use": requestedSdk
1544
1545
  };
@@ -1553,7 +1554,7 @@ function processTemplateFile(filePath, versions, isDevelopment = false) {
1553
1554
  version
1554
1555
  );
1555
1556
  }
1556
- const mcpUseVersion = isDevelopment ? "workspace:*" : versions["mcp-use"] || "latest";
1557
+ const mcpUseVersion = isDevelopment ? "workspace:*" : versions["mcp-use"] || DEFAULT_MCP_USE_VERSION;
1557
1558
  if (isDevelopment) {
1558
1559
  processedContent = processedContent.replace(
1559
1560
  /"mcp-use": "\^[^"]+"/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "2.0.0-beta.10",
3
+ "version": "2.0.0-beta.11",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",