Skip to content

Releases

v0.3.0

Choose a tag to compare

@TokioGaijin TokioGaijin released this 15 Nov 19:31

Depends on cabalspy ^0.5.0. The old range ^0.2.0 only allowed 0.2.x, so x402 users got an outdated SDK without calls, gated signal filters or since/cursor on token transactions.

v0.2.0

Choose a tag to compare

@TokioGaijin TokioGaijin released this 07 Oct 11:36

Spend limits now hold against x402 v2 servers

The CabalSpy API speaks x402 v2. Earlier versions only read the v1 locations, which meant:

  • The price was unreadable, so maxSpendPerCall was skipped. The price is now read from the PAYMENT-REQUIRED header (v1 body as fallback), taking the highest amount across offered networks.
  • No payment was counted, so maxSpendTotal never tripped. Receipts are now read from PAYMENT-RESPONSE (v1 X-PAYMENT-RESPONSE as fallback), and the checked price is recorded because v2 receipts carry no amount.

Behaviour change

A 402 without a readable price is now refused with SpendLimitError (kind: 'unpriced') instead of paid blind. It is only allowed when both limits are Infinity.

Also

  • New exports: readPrice, readReceipt.
  • README: testnet section corrected — api.cabalspy.xyz takes mainnet payments only.
  • Tests: 11 → 19 checks.

🤖 Generated with Claude Code

v0.1.1

Choose a tag to compare

@TokioGaijin TokioGaijin released this 02 Oct 10:51
  • Added the test suite the README describes (npm test, eleven checks, no wallet or chain needed).
  • Fixed the repository and issue URLs in package.json.
  • README: more than 3,000 labeled wallets; links to cabalspy.xyz/x402, the SDKs, the MCP server and the CabalSpy Terminal.
  • Publishing switched to npm Trusted Publishing (no stored token).

No API changes.

v0.1.0

Choose a tag to compare

@TokioGaijin TokioGaijin released this 28 Jul 22:08
c3a7fbf
  • initial commit of CabalSpy_x402 AI Agent payment.