changelog

Changelog

Every release of the hashspan packages, from GitHub Releases. The public API is stable since 1.0.0; the semantic conventions stay in development under their change policy. The migration guide lists what 1.0 removed.

    • @hashspan/faults0.2.0minor

      Add the fault kind truncate (ADR 0032): the proxy sends the headers, with a content-length larger than what follows, and part of the body, then resets the connection, so the client gets those bytes and then a reset, a response cut off mid-body.

      Release notes →
    • @hashspan/faults0.1.0minor

      Add @hashspan/faults, a JSON-RPC fault proxy for tests, 0.x while its fault model settles (ADR 0032): startFaultProxy(upstream) puts an HTTP proxy on a free port of 127.0.0.1 between an EVM client and a local node and makes chosen JSON-RPC methods…

      Release notes →
    • @hashspan/viem1.3.0minor

      Add propagateTraceContext(), an opt-in onFetchRequest hook for viem's http() transport: each request sends the W3C traceparent (and tracestate) of its JSON-RPC span from traceTransport(), so an RPC gateway such as eRPC records its spans in the…

      Release notes (+2 more changes) →
    • @hashspan/viem1.2.2patch

      The replacement search after a timed-out wait also finds a replacement mined in the first blocks of a chain when viem is older than 2.29.1.

      Release notes (+2 more changes) →
Older releases (27)
    • @hashspan/x402@hashspan/viem@hashspan/core1.2.1patch

      Clearer npm description and keywords

      x402 notes →viem notes →core notes →
    • @hashspan/mpp0.1.1patch

      Clearer npm description and keywords

      Release notes (+2 more changes) →
    • @hashspan/cdp1.2.1patch

      Reads a user operation's outcome only from its EntryPoint: with a reader, the confirm span takes the UserOperationEvent of the contract the bundle transaction called or of a canonical EntryPoint (0.6 to 0.9), and ignores logs of other contracts.

      Release notes (+3 more changes) →
    • @hashspan/mpp0.1.0minor

      Add @hashspan/mpp, 0.x while mppx is (ADR 0029): withHashspan(mppx, { reader }) registers observers on the client Mppx.create() returns, so each Tempo charge paid through its fetch, push or pull, becomes a payment {chainId} span with the payer,…

      Release notes (+1 more change) →
    • @hashspan/core1.2.0minor

      Record payments whose settlement transaction the payer sends or signs itself, as with MPP (ADR 0029): PaymentInput gains sender ('payer' labels the settlement's fee sponsor only when the receipt names another fee payer, never facilitator), hash…

      Release notes →
    • @hashspan/x4021.1.1patch

      Payments with x402's batch-settlement scheme no longer record the channel's deposit as their settlement.

      Release notes (+1 more change) →
    • @hashspan/viem1.1.1patch

      A smart account SDK's sendTransaction, writeContract and sendCalls (permissionless.js createSmartAccountClient, ZeroDev createKernelAccountClient) are no longer recorded as a transaction of the bundle, with the bundler's status and fee, or as a…

      Release notes (+2 more changes) →
    • @hashspan/cdp1.1.0minor

      Record how many confirmations a wait asked for as blockchain.tx.wait.confirmations (int) on a transaction's confirm span, from the wait that ended the span: the one whose receipt ended it, or the last to time out or fail.

      Release notes (+2 more changes) →
    • @hashspan/viem@hashspan/core1.1.0minor

      Name the token a fee was paid in on chains that charge gas in one.

      viem notes →core notes →
    • @hashspan/x402@hashspan/cdp@hashspan/viem@hashspan/core1.0.0major

      1.0: the public API in the API reports is frozen; a breaking change to it now needs a major release (ADR 0027).

      x402 notes →cdp notes →viem notes →core notes →
    • @hashspan/x402@hashspan/cdp@hashspan/viem@hashspan/core1.0.0-rc.0major

      1.0: the public API in the API reports is frozen; a breaking change to it now needs a major release (ADR 0027).

      x402 notes →cdp notes →viem notes →core notes →
    • @hashspan/x4020.12.0patch

      More bounds on what telemetry reads.

      Release notes (+2 more changes) →
    • @hashspan/cdp0.12.0patch

      A network-scoped account's waitForTransactionReceipt without a reader now attributes a receipt of another transaction only to a replacement the SDK's viem client reported through onReplaced (same sender and nonce), with its reason.

      Release notes (+2 more changes) →
    • @hashspan/viem0.12.0minor

      A traced waitForTransactionReceipt with confirmations above 1 now records the receipt the chain holds when the wait resolved, not the one viem read first.

      Release notes (+5 more changes) →
    • @hashspan/core0.12.0minor

      ConfirmHandle.fail of a transaction takes FailOptions, as the confirm handles of user operations and call batches do: an adapter can record its own error.type, and fail(undefined, { errorType }) records no exception event.

      Release notes (+3 more changes) →
    • @hashspan/x402@hashspan/cdp@hashspan/viem0.11.0patch

      The type declarations document every export, and every member of the exported interfaces, with a doc comment.

      x402 notes →cdp notes →viem notes →
    • @hashspan/core0.11.0minor

      blockchain.client.fee samples whose fee the traced sender did not pay now carry blockchain.fee.payer: facilitator for the settlement transaction of a payment, paymaster for a user operation a paymaster paid for.

      Release notes (+7 more changes) →
    • @hashspan/x402@hashspan/cdp@hashspan/viem0.10.0minor

      Background confirmation and watch() now poll again, one polling interval later, after a failed receipt request (an HTTP 429, a JSON-RPC error, a request timeout, a connection reset), until their timeoutMs, as they already did when the receipt was not…

      x402 notes →cdp notes →viem notes →
    • @hashspan/core0.10.0minor

      A confirm span ends even when its receipt cannot be read (a throwing Proxy, null), with error.type _OTHER; before, it stayed open and was never exported.

      Release notes (+1 more change) →
    • @hashspan/cdp0.9.1patch

      A network name that matches an Object.prototype member, such as constructor, is no longer taken for a known network, so no span starts with a non-numeric chain id.

      Release notes →
    • @hashspan/x402@hashspan/cdp0.9.0patch

      The package's npm homepage is now https://hashspan.dev.

      x402 notes →cdp notes →
    • @hashspan/viem0.9.0minor

      withHashspan() traces EIP-5792 call batches (ADR 0022): sendCalls, waitForCallsStatus and sendCallsSync of a wallet client record send and confirm spans identified by the batch id.

      Release notes (+6 more changes) →
    • @hashspan/core0.9.0minor

      Call batches of EIP-5792 wallet_sendCalls (ADR 0022): tracker.startCallBatchSend() records handing a batch to a wallet as a send {chainId} span with blockchain.call_batch.id, .sender and .call_count, and tracker.startCallBatchConfirm() joins…

      Release notes (+5 more changes) →
    • @hashspan/viem0.8.2patch

      The revert reason of a transaction that calls a contract created earlier in the same block is now recorded: when the replay on the previous block does not revert (the contract has no code there yet), the transaction is replayed once more on its own block…

      Release notes →
    • @hashspan/x4020.8.0minor

      A Permit2 settlement is now verified by its nonce (ADR 0017): with a reader, when the receipt carries an exact Permit2 or upto payment, the mined transaction (the replacement, when the reported one was replaced) is read with one more request through…

      Release notes (+1 more change) →
    • @hashspan/x4020.7.0minor

      With a reader, blockchain.payment.verified is also recorded for Permit2 payments (ADR 0017): for an exact payment, true when the settlement transaction was sent to the x402 proxy the payer authorized, the proxy emitted its settlement event and the…

      Release notes (+1 more change) →
    • @hashspan/x4020.6.0minor

      With a reader, a payment span records blockchain.payment.verified (ADR 0017): for an exact payment authorized with EIP-3009, true when the settlement transaction's receipt carries the token's AuthorizationUsed with the payment's nonce and its…

      Release notes (+1 more change) →

Type to search the docs, Learn topics and the blog.