run402 1.23.0 → 1.23.1

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/lib/config.mjs +7 -1
  2. package/package.json +1 -1
package/lib/config.mjs CHANGED
@@ -29,7 +29,13 @@ export function allowanceAuthHeaders(path) {
29
29
 
30
30
  export function findProject(id) {
31
31
  const p = getProject(id);
32
- if (!p) { console.error(`Project ${id} not found in local registry.`); process.exit(1); }
32
+ if (!p) {
33
+ const hint = id && !id.startsWith("prj_")
34
+ ? ` Hint: project IDs start with "prj_". Check that the argument order is <project_id> <name>.`
35
+ : "";
36
+ console.error(`Project ${id} not found in local registry.${hint}`);
37
+ process.exit(1);
38
+ }
33
39
  return p;
34
40
  }
35
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
4
4
  "description": "CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.",
5
5
  "type": "module",
6
6
  "bin": {