run402 4.75.0 → 4.75.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "surface_version": "4.75.0",
2
+ "surface_version": "4.75.1",
3
3
  "verbs": [
4
4
  "repos create",
5
5
  "repos list",
package/lib/billing.mjs CHANGED
@@ -255,7 +255,7 @@ async function topup(args) {
255
255
  if (final.status === "paid" || final.status === "paid_late") {
256
256
  console.error(`Received — ${final.amount_sats} sats credited $${(final.amount_usd_micros / 1_000_000).toFixed(2)} to the balance${final.status === "paid_late" ? " (paid after the invoice expired; still credited)" : ""}.`);
257
257
  } else if (final.status === "expired") {
258
- console.error("The invoice expired unpaid. Mint a fresh one with the same command.");
258
+ console.error("No payment was observed before the invoice expired. If you already paid, it still credits on its own (the gateway keeps checking for an hour after expiry) — read the top-up again, or rerun with the same --idempotency-key. Otherwise mint a fresh one with the same command.");
259
259
  process.exitCode = 2;
260
260
  } else {
261
261
  console.error("Timed out still pending — a payment that lands later still credits (up to an hour after expiry); poll the top-up.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "4.75.0",
3
+ "version": "4.75.1",
4
4
  "description": "CLI for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.",
5
5
  "type": "module",
6
6
  "bin": {