@rerouter/helper 0.1.1 → 0.1.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.
package/README.md CHANGED
@@ -94,7 +94,7 @@ The bridge runs on `127.0.0.1:8787` by default. Codex reads `env_key` from `RERO
94
94
  | Variable | Description |
95
95
  |----------|-------------|
96
96
  | `REROUTER_API_KEY` | Your Rerouter API key (`sk-rr-...`). Required for `models`, `configure`, `check-key`. |
97
- | `REROUTER_BASE_URL` | Override base URL (default: `https://api.rerouter.id`). |
97
+ | `REROUTER_BASE_URL` | Override base URL (default: `https://api.rerouter.dev`). |
98
98
 
99
99
  ## Examples
100
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerouter/helper",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Connect coding agents (Claude, Codex, Cursor, opencode, Continue) to Rerouter in seconds",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -36,7 +36,7 @@ UI guide targets: ${GUIDE_TARGETS.join(", ")}
36
36
 
37
37
  Env:
38
38
  REROUTER_API_KEY Rerouter key (sk-rr-...). Never printed or written to any file.
39
- REROUTER_BASE_URL Override base URL (default: https://api.rerouter.id).
39
+ REROUTER_BASE_URL Override base URL (default: https://api.rerouter.dev).
40
40
  `;
41
41
 
42
42
  function fail(err) {
package/src/lib/env.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * to any file.
5
5
  */
6
6
 
7
- export const DEFAULT_BASE_URL = "https://api.rerouter.id";
7
+ export const DEFAULT_BASE_URL = "https://api.rerouter.dev";
8
8
 
9
9
  export function baseUrl() {
10
10
  return (process.env.REROUTER_BASE_URL?.trim() || DEFAULT_BASE_URL).replace(/\/+$/, "");