Skip to content

docs(tempo): use bech32m addresses in JSDoc examples#186

Merged
jxom merged 1 commit intomainfrom
jxom/tempo-jsdoc-addresses
Mar 5, 2026
Merged

docs(tempo): use bech32m addresses in JSDoc examples#186
jxom merged 1 commit intomainfrom
jxom/tempo-jsdoc-addresses

Conversation

@jxom
Copy link
Member

@jxom jxom commented Mar 5, 2026

Updates all user-facing input addresses in JSDoc @example blocks across the tempo module to use Tempo bech32m format (tempo1...) instead of raw hex.

What changed

  • AuthorizationTempo.ts: address: fields in from(), getSignPayload(), hash(), toRpc(), toTuple() examples
  • KeyAuthorization.ts: address: and token: fields across all examples
  • TxEnvelopeTempo.ts: to: in calls, sender: options
  • TransactionRequest.ts: to: and feeToken: fields
  • TokenId.ts: fromAddress() and compute() sender input
  • index.ts: Module-level overview examples

What stayed as hex

  • @log output lines (showing resolved hex is correct)
  • RPC format examples (Transaction.fromRpc, TransactionReceipt.fromRpc)
  • RLP tuple data (fromTuple, fromTupleList)
  • Signature r/s values and serialized transaction strings

Update all user-facing input addresses in JSDoc @example blocks to use
Tempo bech32m format (tempo1...) instead of raw hex. Output/log lines,
RPC format examples, RLP tuples, and signature data remain as hex.

Amp-Thread-ID: https://ampcode.com/threads/T-019cbba1-87d6-75f0-a887-8361637420ab
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Building Building Preview, Comment Mar 5, 2026 3:32am

Request Review

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 5, 2026

Open in StackBlitz

npm i https://pkg.pr.new/ox@186

commit: 3ee4d62

@jxom jxom marked this pull request as ready for review March 5, 2026 03:34
@jxom jxom merged commit e818cb7 into main Mar 5, 2026
16 of 19 checks passed
@jxom jxom deleted the jxom/tempo-jsdoc-addresses branch March 5, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant