routess 1.122.4 → 1.122.6

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4479,7 +4479,7 @@ function loadConfig() {
4479
4479
  const envToken = process.env.ROUTESS_TOKEN?.trim();
4480
4480
  const envApiUrl = process.env.ROUTESS_API_URL?.trim();
4481
4481
  const persisted = readPersisted();
4482
- const apiUrl = envApiUrl || persisted.apiUrl || "https://routess-api.robbeverhelst.com";
4482
+ const apiUrl = envApiUrl || persisted.apiUrl || "https://api.routess.com";
4483
4483
  if (envToken && envToken.length > 0) {
4484
4484
  return { apiUrl, token: envToken, tokenSource: "env" };
4485
4485
  }
@@ -4686,7 +4686,7 @@ init_output();
4686
4686
  var program2 = new Command;
4687
4687
  var packageJsonPath = join2(dirname(fileURLToPath(import.meta.url)), "../package.json");
4688
4688
  var packageVersion = JSON.parse(readFileSync2(packageJsonPath, "utf8")).version;
4689
- program2.name("routess").description("Routess command-line interface. See `routess auth login --help` to get started.").version(packageVersion).option("--json", "emit machine-readable JSON to stdout, errors as DomainErrorPayload to stderr", false).option("--api-url <url>", "override the API base URL (defaults to ROUTESS_API_URL env var or production)");
4689
+ program2.name("routess").description("Routess command-line interface. See `routess auth login --help` to get started.").version(packageVersion).option("--json", "emit machine-readable JSON to stdout, errors as DomainErrorPayload to stderr", false);
4690
4690
  async function runCommand(action) {
4691
4691
  const options = program2.opts();
4692
4692
  const runOptions = { json: Boolean(options.json) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "routess",
3
- "version": "1.122.4",
3
+ "version": "1.122.6",
4
4
  "description": "Command-line interface for Routess, the route-planning product for cyclists, runners, and hikers.",
5
5
  "private": false,
6
6
  "type": "module",