@base44-preview/cli 0.0.55-pr.541.4704675 → 0.0.55-pr.541.4fb2c55

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/cli/index.js CHANGED
@@ -241707,7 +241707,7 @@ async function initAppContext(options = {}) {
241707
241707
  if (!id) {
241708
241708
  throw new InvalidInputError("App id cannot be empty.");
241709
241709
  }
241710
- cache2 = { id, projectRoot: projectRoot?.root };
241710
+ cache2 = { id };
241711
241711
  return cache2;
241712
241712
  }
241713
241713
  if (cache2) {
@@ -241861,8 +241861,8 @@ async function getAppUserToken() {
241861
241861
  throw await ApiError.fromHttpError(error48, "exchanging platform token for app user token");
241862
241862
  }
241863
241863
  }
241864
- async function getSiteUrl(projectId) {
241865
- const id = projectId ?? getAppContext().id;
241864
+ async function getSiteUrl() {
241865
+ const id = getAppContext().id;
241866
241866
  let response;
241867
241867
  try {
241868
241868
  response = await base44Client.get(`api/apps/platform/${id}/published-url`);
@@ -261832,4 +261832,4 @@ export {
261832
261832
  CLIExitError
261833
261833
  };
261834
261834
 
261835
- //# debugId=8E6F4E37112CE9D564756E2164756E21
261835
+ //# debugId=01B7F20ACA5BBEAF64756E2164756E21