@onexapis/cli 1.1.31 → 1.1.32

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.js CHANGED
@@ -4434,7 +4434,7 @@ init_logger();
4434
4434
  var AUTH_DIR = path8__default.default.join(os3__default.default.homedir(), ".onexthm");
4435
4435
  var AUTH_FILE = path8__default.default.join(AUTH_DIR, "auth.json");
4436
4436
  function getApiUrl() {
4437
- return process.env.NEXT_PUBLIC_API_URL || process.env.ONEXTHM_API_URL || "https://platform-dev.onexeos.com";
4437
+ return process.env.ONEXTHM_API_URL || process.env.NEXT_PUBLIC_API_URL || "https://platform-dev.onexeos.com";
4438
4438
  }
4439
4439
  async function saveAuthTokens(tokens) {
4440
4440
  await fs__default.default.ensureDir(AUTH_DIR);