@vocoder/cli 0.12.0 → 0.12.2

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.
@@ -44265,10 +44265,10 @@ var VocoderAPI = class {
44265
44265
  }
44266
44266
  }
44267
44267
  /**
44268
- * Add a new ProjectApp to an existing project (monorepo: new app directory).
44268
+ * Add a new App to an existing project (monorepo: new app directory).
44269
44269
  * Does not check plan limits — no new project is created.
44270
44270
  */
44271
- async createProjectApp(userToken, params) {
44271
+ async createApp(userToken, params) {
44272
44272
  const response = await fetch(`${this.apiUrl}/api/cli/project/apps`, {
44273
44273
  method: "POST",
44274
44274
  headers: {
@@ -44282,7 +44282,7 @@ var VocoderAPI = class {
44282
44282
  throw new VocoderAPIError({
44283
44283
  message: extractErrorMessage(
44284
44284
  payload,
44285
- `Failed to create project app (${response.status})`
44285
+ `Failed to create app (${response.status})`
44286
44286
  ),
44287
44287
  status: response.status,
44288
44288
  payload
@@ -44408,7 +44408,7 @@ import { mkdirSync, readFileSync as readFileSync2, unlinkSync, writeFileSync } f
44408
44408
  import { homedir } from "os";
44409
44409
  import { dirname, join as join2 } from "path";
44410
44410
  function getAuthFilePath() {
44411
- return join2(homedir(), ".config", "vocoder", "auth.json");
44411
+ return join2(homedir(), ".vocoder", "auth.json");
44412
44412
  }
44413
44413
  function readAuthData() {
44414
44414
  const filePath = getAuthFilePath();
@@ -51500,4 +51500,4 @@ export {
51500
51500
  loadVocoderConfig,
51501
51501
  StringExtractor
51502
51502
  };
51503
- //# sourceMappingURL=chunk-XUCVAFBG.mjs.map
51503
+ //# sourceMappingURL=chunk-2Q3JPWWV.mjs.map