Skip to content

mppx@0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Mar 01:27
· 324 commits to main since this release
dd41fd3

Minor Changes

  • 143ebc9: Support handler function refs in compose().

    • [mppx.tempo.charge, { amount: '1' }] syntaxcompose() now accepts handler function references (e.g. mppx.tempo.charge) as the first element of entry tuples, in addition to Method.AnyServer objects and "name/intent" string keys.
    • _method metadata on nested handlers — nested handler functions are tagged with their source Method.AnyServer, enabling compose() to resolve the correct handler.

Patch Changes

  • db2033c: Set feeToken during server co-sign and simulation for fee-payer transactions.

    When the client sends a fee-payer (0x78) envelope, feeToken is intentionally omitted. The server must set it at co-sign time, but previously never did — causing "Fee token spending limit exceeded" errors. Now resolves feeToken from the deserialized transaction or falls back to the chain's default currency.