@base44-preview/cli 0.0.31-pr.217.83bf70f → 0.0.31-pr.217.ea1f320

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
@@ -184916,7 +184916,8 @@ async function pushAgents(agents) {
184916
184916
  let response;
184917
184917
  try {
184918
184918
  response = await appClient.put("agent-configs", {
184919
- json: agents
184919
+ json: agents,
184920
+ timeout: 60000
184920
184921
  });
184921
184922
  } catch (error48) {
184922
184923
  throw await ApiError.fromHttpError(error48, "syncing agents");
@@ -185432,7 +185433,8 @@ async function syncEntities(entities) {
185432
185433
  response = await appClient.put("entity-schemas", {
185433
185434
  json: {
185434
185435
  entityNameToSchema: schemaSyncPayload
185435
- }
185436
+ },
185437
+ timeout: 60000
185436
185438
  });
185437
185439
  } catch (error48) {
185438
185440
  throw await ApiError.fromHttpError(error48, "syncing entities");
@@ -185559,7 +185561,7 @@ async function deployFunctions(functions) {
185559
185561
  try {
185560
185562
  response = await appClient.put("backend-functions", {
185561
185563
  json: payload,
185562
- timeout: 120000
185564
+ timeout: false
185563
185565
  });
185564
185566
  } catch (error48) {
185565
185567
  throw await ApiError.fromHttpError(error48, "deploying functions");
@@ -185864,7 +185866,8 @@ async function uploadSite(archivePath) {
185864
185866
  let response;
185865
185867
  try {
185866
185868
  response = await appClient.post("deploy-dist", {
185867
- body: formData
185869
+ body: formData,
185870
+ timeout: 180000
185868
185871
  });
185869
185872
  } catch (error48) {
185870
185873
  throw await ApiError.fromHttpError(error48, "deploying site");
@@ -185983,7 +185986,6 @@ async function handleUnauthorized(request, _options, response) {
185983
185986
  }
185984
185987
  var base44Client = distribution_default.create({
185985
185988
  prefixUrl: getBase44ApiUrl(),
185986
- timeout: 180000,
185987
185989
  headers: {
185988
185990
  "User-Agent": "Base44 CLI"
185989
185991
  },
@@ -194319,13 +194321,13 @@ async function runOAuthFlowWithSkip(params) {
194319
194321
  }, {
194320
194322
  interval: POLL_INTERVAL_MS,
194321
194323
  timeout: POLL_TIMEOUT_MS
194322
- }).catch((err) => {
194323
- if (err instanceof TimeoutError2) {
194324
- finalStatus = "PENDING";
194325
- } else {
194326
- throw err;
194327
- }
194328
194324
  });
194325
+ } catch (err) {
194326
+ if (err instanceof TimeoutError2) {
194327
+ finalStatus = "PENDING";
194328
+ } else {
194329
+ throw err;
194330
+ }
194329
194331
  } finally {
194330
194332
  process.exit = originalExit;
194331
194333
  if (!skipped) {
@@ -199660,4 +199662,4 @@ export {
199660
199662
  CLIExitError
199661
199663
  };
199662
199664
 
199663
- //# debugId=2F410FC4ADBC6DC764756E2164756E21
199665
+ //# debugId=997573C26E305DA564756E2164756E21