openzoo 0.50.16 → 0.50.17

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/x402.js +8 -8
  2. package/package.json +1 -1
package/lib/x402.js CHANGED
@@ -373,15 +373,15 @@ export async function buildPaymentOnline(connection, keypair, accept) {
373
373
  // recent blockhash, because a 60-second window beats no payment at all.
374
374
  let nonce = null;
375
375
  const facilitator = accept?.extra?.facilitator;
376
- // OPT-IN UNTIL IT HAS SETTLED ONCE FOR REAL.
376
+ // ON BY DEFAULT PROVEN ON CHAIN 2026-08-28.
377
377
  //
378
- // The fallback below covers a missing/slow/exhausted nonce, but NOT a
379
- // malformed nonce transaction if the instruction order or the account metas
380
- // are wrong, the payment fails and the fallback never runs, because we only
381
- // learn at settle time. This has not yet settled a single real payment, and
382
- // shipping it on by default would bet every Solana payer on that. Set
383
- // OPENZOO_NONCE=1 to use it; the default stays on recent blockhashes.
384
- if (facilitator && process.env.OPENZOO_NONCE === '1') {
378
+ // It shipped opt-in first because the fallback below covers a missing, slow
379
+ // or exhausted nonce but NOT a malformed nonce transaction: a wrong
380
+ // instruction order or account meta only surfaces at settle time, after the
381
+ // fallback is long past. That risk is now retired by a real settlement
382
+ // tx 3pJbRH2u…mMWAZ3, instruction 0 `advanceNonceAccount`, err None.
383
+ // OPENZOO_NONCE=0 is the kill switch back to recent blockhashes.
384
+ if (facilitator && process.env.OPENZOO_NONCE !== '0') {
385
385
  try {
386
386
  const r = await fetch(`${facilitator}/nonce?network=${encodeURIComponent(accept.network)}`, {
387
387
  signal: AbortSignal.timeout(4000),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzoo",
3
- "version": "0.50.16",
3
+ "version": "0.50.17",
4
4
  "description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana and Base rails live; Robinhood experimental.",
5
5
  "license": "MIT",
6
6
  "type": "module",