@qodalis/cli-core 2.0.0-beta.2 → 2.0.0-beta.4

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/public-api.mjs CHANGED
@@ -2317,14 +2317,14 @@ var ServerVersionNegotiator = class {
2317
2317
  */
2318
2318
  static async discover(baseUrl) {
2319
2319
  try {
2320
- const response = await fetch(`${baseUrl}/api/cli/versions`);
2320
+ const response = await fetch(`${baseUrl}/api/qcli/versions`);
2321
2321
  if (!response.ok) return null;
2322
2322
  const info = await response.json();
2323
2323
  const version = this.negotiate(info);
2324
2324
  if (version === null) return null;
2325
2325
  return {
2326
2326
  apiVersion: version,
2327
- basePath: `${baseUrl}/api/v${version}/cli`
2327
+ basePath: `${baseUrl}/api/v${version}/qcli`
2328
2328
  };
2329
2329
  } catch {
2330
2330
  return null;
@@ -2458,7 +2458,7 @@ var utils = {
2458
2458
  };
2459
2459
 
2460
2460
  // src/lib/version.ts
2461
- var LIBRARY_VERSION = "2.0.0-beta.2";
2461
+ var LIBRARY_VERSION = "2.0.0-beta.4";
2462
2462
  var API_VERSION = 2;
2463
2463
 
2464
2464
  // src/lib/modules/cli-module-registry.ts