Releases: wevm/mppx
Releases · wevm/mppx
mppx@0.4.11
Patch Changes
- Fixed close voucher validation to reject vouchers equal to the on-chain settled amount. (GHSA-mv9j-8jvg-j8mr)
- Added Stripe credential replay protection via the
Idempotent-Replayedheader. (GHSA-8mhj-rffc-rcvw)
mppx@0.4.10
Patch Changes
-
b4e1a3d: Add OpenAPI-first discovery tooling via
mppx/discovery, frameworkdiscovery()helpers, andmppx discover validate.This also changes
mppx/proxydiscovery routes:GET /openapi.jsonis now the canonical machine-readable discovery document.GET /llms.txtremains available as the text-friendly discovery view.- Legacy
/discover*routes now return410 Gone.
-
70f6595: Fix two production session/SSE robustness issues.
- Accept exact voucher replays (
cumulativeAmount == highestVoucherAmount) as idempotent success after signature verification, while still rejecting lower cumulative amounts and preserving monotonic state advancement rules. - Prevent invalid null-body response wrapping in SSE receipt transport by returning
101/204/205/304responses directly instead of stream-wrapping them.
- Accept exact voucher replays (
-
3c713c9:
tempo.session()now throws immediately at initialization if no viemAccountis provided, instead of failing later with an opaque error during channel close. The error message includes an example fix.
mppx@0.4.9
Patch Changes
- d9b651d: Added
Store.redis()adapter for standard Redis clients (ioredis, node-redis, Valkey) with BigInt-safe serialization. - b69bbee: Fixed Express middleware hanging by constructing a Fetch
Requestdirectly from Express'sreqAPI. - 7da6cfd: Fixed SSE header normalization.
- a2c6cc9: Skipped route amount/currency/recipient validation for topUp and voucher credentials. These
POSTs carry no application body so the route's request hook may produce a different amount than the challenge echoed from the original request. The on-chain voucher signature is the real validation.
mppx@0.4.8
Patch Changes
- 99920d0: Updated validation.
mppx@0.4.7
Patch Changes
- 2a0b88e: Fixed cooperative close to sign the server-reported spent amount instead of the high-water mark (
cumulativeAmount), preventing overcharging when actual usage was below the pre-authorized voucher amount.
mppx@0.4.6
Patch Changes
- 281005c: Added support for
feePayeras a URL string ontempomethod.
mppx@0.4.5
Patch Changes
- bbd4b3f: Updated Moderato (testnet) escrow contract address to
0xe1c4d3dce17bc111181ddf716f75bae49e61a336.
mppx@0.4.4
Patch Changes
- b09a35a: fix: update getChannel ABI field order to match new escrow contract
- c520705: Fixed
Client.getResolverto inject Tempo serializers onto clients missing them, preventing the default serializer from rejecting Tempo-specific transaction fields. - b09a35a: chore: update mainnet escrow contract address
mppx@0.4.3
Patch Changes
- 7f8d103: chore: update mainnet escrow contract address
mppx@0.4.2
Patch Changes
- c089da5: Added CLI config via
mppx.config.(js|mjs|ts). Allows for extendingmppxCLI to support non-built-in methods.