Skip to content

feat: add exact bundler preflight#3

Merged
xylophonez merged 1 commit into
mainfrom
feat/bundler-preflight
Jun 19, 2026
Merged

feat: add exact bundler preflight#3
xylophonez merged 1 commit into
mainfrom
feat/bundler-preflight

Conversation

@xylophonez

Copy link
Copy Markdown
Owner

Summary

  • add HyperbalanceClient.preflight / preflightAuto for exact signed bundler request checks
  • advertise /~arweave-byte-pricing@1.0/preflight in the HyperBEAM AO bundler profile
  • keep existing quote and paid request APIs backward-compatible; preflight is opt-in

Version selection

  • major
  • minor
  • patch

Validation

  • npm run check
  • npm run build
  • live smoke against https://mystical.computer: amount-only quote returns paid fallback; exact preflight returns structured free/paid decision

Backward compatibility

Existing reverse dependencies that only call quote, quoteAuto, ensureCredit, or paidRequest do not need changes. Bundlers that do not implement preflight continue to work through the existing quote path; apps should only call preflight when they want deterministic free-tier UX and can fall back to quote on failure.

@xylophonez
xylophonez merged commit 1df5972 into main Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant