@base44-preview/cli 0.1.3-pr.567.b7c491a → 0.1.4-pr.567.1d0df8b

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
@@ -242260,10 +242260,21 @@ async function getAuthConfig() {
242260
242260
  }
242261
242261
  async function pushAuthConfigToApi(config4) {
242262
242262
  const { id } = getAppContext();
242263
+ const payload = toAuthConfigPayload(config4);
242264
+ if (hasWorkspaceApiKeyAuth()) {
242265
+ try {
242266
+ await base44Client.put(`api/apps/${id}/deployment/auth-configuration`, {
242267
+ json: payload
242268
+ });
242269
+ } catch (error48) {
242270
+ throw await ApiError.fromHttpError(error48, "updating auth config");
242271
+ }
242272
+ return config4;
242273
+ }
242263
242274
  let response;
242264
242275
  try {
242265
242276
  response = await base44Client.put(`api/apps/${id}`, {
242266
- json: { auth_config: toAuthConfigPayload(config4) }
242277
+ json: { auth_config: payload }
242267
242278
  });
242268
242279
  } catch (error48) {
242269
242280
  throw await ApiError.fromHttpError(error48, "updating auth config");
@@ -244000,7 +244011,7 @@ import { join as join11 } from "node:path";
244000
244011
  // package.json
244001
244012
  var package_default = {
244002
244013
  name: "base44",
244003
- version: "0.1.3",
244014
+ version: "0.1.4",
244004
244015
  description: "Base44 CLI - Unified interface for managing Base44 applications",
244005
244016
  type: "module",
244006
244017
  bin: {
@@ -262921,4 +262932,4 @@ export {
262921
262932
  CLIExitError
262922
262933
  };
262923
262934
 
262924
- //# debugId=FBAB9A49478F781B64756E2164756E21
262935
+ //# debugId=411CA34C835D36D464756E2164756E21