Skip to content

fix: use valid sender fields in transaction examples#161

Open
Genmin wants to merge 1 commit intoaave:mainfrom
Genmin:codex/fix-jsdoc-sender-fields
Open

fix: use valid sender fields in transaction examples#161
Genmin wants to merge 1 commit intoaave:mainfrom
Genmin:codex/fix-jsdoc-sender-fields

Conversation

@Genmin
Copy link
Copy Markdown

@Genmin Genmin commented Apr 28, 2026

Summary

  • Replace stale supplier/borrower fields with sender in transaction examples
  • Cover client README, transaction action JSDoc, health-factor preview examples, and React send helpers

Why

The public examples currently do not match the exported request types in the schema. BorrowRequest, SupplyRequest, RepayRequest, and WithdrawRequest all use sender, so users copying the snippets run into TypeScript errors.

Closes #149.

Validation

  • pnpm lint
  • pnpm build

@Genmin Genmin changed the title [codex] Fix transaction example sender fields fix: use valid sender fields in transaction examples Apr 29, 2026
@Genmin Genmin marked this pull request as ready for review April 29, 2026 20:06
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.

JSDoc examples show wrong field names (supplier/borrower instead of sender)

1 participant