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
Release notes →truncate(ADR 0032): the proxy sends the headers, with acontent-lengthlarger 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. - @hashspan/faults0.1.0minor
Add
Release notes →@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 of127.0.0.1between an EVM client and a local node and makes chosen JSON-RPC methods…
- @hashspan/x402@hashspan/cdp@hashspan/viem@hashspan/core1.3.1patch
README reordered for its first screen: what the package records, install, then a minimal example.
x402 notes →cdp notes →viem notes →core notes → - @hashspan/mpp0.1.2patch
README reordered for its first screen: what the package records, install, then a minimal example.
Release notes (+1 more change) →
- @hashspan/viem1.3.0minor
Add
Release notes (+2 more changes) →propagateTraceContext(), an opt-inonFetchRequesthook for viem'shttp()transport: each request sends the W3Ctraceparent(andtracestate) of its JSON-RPC span fromtraceTransport(), so an RPC gateway such as eRPC records its spans in the… - @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
Release notes (+3 more changes) →reader, the confirm span takes theUserOperationEventof the contract the bundle transaction called or of a canonical EntryPoint (0.6 to 0.9), and ignores logs of other contracts. - @hashspan/mpp0.1.0minor
Add
Release notes (+1 more change) →@hashspan/mpp, 0.x while mppx is (ADR 0029):withHashspan(mppx, { reader })registers observers on the clientMppx.create()returns, so each Tempochargepaid through itsfetch, push or pull, becomes apayment {chainId}span with the payer,… - @hashspan/core1.2.0minor
Record payments whose settlement transaction the payer sends or signs itself, as with MPP (ADR 0029):
Release notes →PaymentInputgainssender('payer'labels the settlement's feesponsoronly when the receipt names another fee payer, neverfacilitator),hash… - @hashspan/x4021.1.1patch
Payments with x402's
Release notes (+1 more change) →batch-settlementscheme no longer record the channel's deposit as their settlement. - @hashspan/viem1.1.1patch
A smart account SDK's
Release notes (+2 more changes) →sendTransaction,writeContractandsendCalls(permissionless.jscreateSmartAccountClient, ZeroDevcreateKernelAccountClient) are no longer recorded as a transaction of the bundle, with the bundler's status and fee, or as a…
- @hashspan/cdp1.1.0minor
Record how many confirmations a wait asked for as
Release notes (+2 more changes) →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. - @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
Release notes (+2 more changes) →waitForTransactionReceiptwithout a reader now attributes a receipt of another transaction only to a replacement the SDK's viem client reported throughonReplaced(same sender and nonce), with its reason. - @hashspan/viem0.12.0minor
A traced
Release notes (+5 more changes) →waitForTransactionReceiptwithconfirmationsabove 1 now records the receipt the chain holds when the wait resolved, not the one viem read first. - @hashspan/core0.12.0minor
Release notes (+3 more changes) →ConfirmHandle.failof a transaction takesFailOptions, as the confirm handles of user operations and call batches do: an adapter can record its ownerror.type, andfail(undefined, { errorType })records no exception event.
- @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
Release notes (+7 more changes) →blockchain.client.feesamples whose fee the traced sender did not pay now carryblockchain.fee.payer:facilitatorfor the settlement transaction of a payment,paymasterfor a user operation a paymaster paid for. - @hashspan/x402@hashspan/cdp@hashspan/viem0.10.0minor
Background confirmation and
x402 notes →cdp notes →viem notes →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 theirtimeoutMs, as they already did when the receipt was not… - @hashspan/core0.10.0minor
A confirm span ends even when its receipt cannot be read (a throwing Proxy,
Release notes (+1 more change) →null), witherror.type_OTHER; before, it stayed open and was never exported.
- @hashspan/cdp0.9.1patch
A network name that matches an
Release notes →Object.prototypemember, such asconstructor, is no longer taken for a known network, so no span starts with a non-numeric chain id. - @hashspan/x402@hashspan/cdp0.9.0patch
The package's npm homepage is now https://hashspan.dev.
x402 notes →cdp notes → - @hashspan/viem0.9.0minor
Release notes (+6 more changes) →withHashspan()traces EIP-5792 call batches (ADR 0022):sendCalls,waitForCallsStatusandsendCallsSyncof a wallet client recordsendandconfirmspans identified by the batch id. - @hashspan/core0.9.0minor
Call batches of EIP-5792
Release notes (+5 more changes) →wallet_sendCalls(ADR 0022):tracker.startCallBatchSend()records handing a batch to a wallet as asend {chainId}span withblockchain.call_batch.id,.senderand.call_count, andtracker.startCallBatchConfirm()joins…
- @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
Release notes (+1 more change) →exactPermit2 oruptopayment, the mined transaction (the replacement, when the reported one was replaced) is read with one more request through… - @hashspan/x4020.7.0minor
With a reader,
Release notes (+1 more change) →blockchain.payment.verifiedis also recorded for Permit2 payments (ADR 0017): for anexactpayment,truewhen the settlement transaction was sent to the x402 proxy the payer authorized, the proxy emitted its settlement event and the… - @hashspan/x4020.6.0minor
With a reader, a payment span records
Release notes (+1 more change) →blockchain.payment.verified(ADR 0017): for anexactpayment authorized with EIP-3009,truewhen the settlement transaction's receipt carries the token'sAuthorizationUsedwith the payment's nonce and its…