Skip to content

refactor: group and organize export statements by category - #202

Open
faisalnugroho wants to merge 1 commit into
base:mainfrom
faisalnugroho:refactor/group-exports
Open

refactor: group and organize export statements by category#202
faisalnugroho wants to merge 1 commit into
base:mainfrom
faisalnugroho:refactor/group-exports

Conversation

@faisalnugroho

Copy link
Copy Markdown

Summary

Fixes #195

Organizes the export statements in src/index.ts into logical categories with section headers for better readability and maintainability.

Categories

  • Public Actions — L1 read operations
  • Wallet Actions — L1 write operations
  • Public Decorators — L1/L2 public action decorators
  • Wallet Decorators — L1/L2 wallet action decorators
  • Types — Grouped by domain (Addresses, Deposits, Gas, Contracts, Withdrawals)
  • Utilities — Grouped by domain (Deposits, Withdrawals, Encoding)

Changes

  • Added section header comments (// ===...) to visually separate categories
  • No functional changes — all exports remain identical
  • No import/export changes — purely organizational

Fixes base#195

- Group exports into logical categories with section headers
- Categories: Public Actions, Wallet Actions, Public Decorators,
  Wallet Decorators, Types (Addresses, Deposits, Gas, Contracts,
  Withdrawals), Utilities (Deposits, Withdrawals, Encoding)
- No functional changes, only organizational improvements
@faisalnugroho

Copy link
Copy Markdown
Author

Hi! Following up on this refactor PR. This PR groups and organizes the export statements by category (chains, actions, types) for better readability and maintainability.

All CI checks pass (StepSecurity ✅). Would love to get your review when you have a moment. Thanks!

@faisalnugroho

Copy link
Copy Markdown
Author

Hi! I'd love to get this PR reviewed when you have a moment. This PR addresses group and organize export statements by category. Happy to make any adjustments based on your feedback. Thank you!

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.

Improvement Suggestion: Refactoring and Consistency in Export Statements

1 participant