-
Notifications
You must be signed in to change notification settings - Fork 7
feat: network, client, asset managers in ts; minor refinements in rs and ts to further align with legacy utils-ts #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7252adb to
a8d0196
Compare
70e4681 to
6c2cfef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements key client abstractions and management utilities for the TypeScript AlgoKit Utils package, aligning functionality with the existing Rust implementation. The changes focus on providing NetworkClient, ClientManager, and AssetManager with comprehensive testing coverage.
- Adds NetworkClient, ClientManager, and AssetManager implementations in TypeScript
- Implements comprehensive test coverage for all new client abstractions
- Consolidates common test utilities under algokit-common package
- Updates field naming conventions to align with legacy utils-ts (e.g.,
unit_name_b64→unit_name_bytes)
Reviewed Changes
Copilot reviewed 31 out of 32 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/typescript/package.json | Adds new npm scripts for linting and formatting |
| packages/typescript/algokit_utils/src/clients/ | Implements core client management abstractions |
| packages/typescript/algokit_utils/tests/clients/ | Comprehensive test coverage for new client functionality |
| packages/typescript/algokit_common/tests/helpers.ts | Consolidated test utilities moved from individual packages |
| crates/algokit_utils/src/clients/ | Field naming updates and batch processing improvements in Rust |
Files not reviewed (1)
- packages/typescript/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
ac5eb6e to
4c70c52
Compare
packages/typescript/algokit_utils/tests/indexer/searchApplications.test.ts
Show resolved
Hide resolved
1661920 to
763597e
Compare
763597e to
ca68e91
Compare
8d8f4df to
ceb7a80
Compare
ceb7a80 to
0425f83
Compare
|
🎉 This PR is included in version 1.0.0-alpha.79 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Proposed Changes
Additionally adds test equivalents of tests available for same abstractions in utils crate. Removes most of dependencies on algosdk, adds dependencies on generated algod indexer and kmd, consolidates common helpers under algokit-common package. Adds minor refinements to batch methods in asset manager in both ts and rust to further align with capabilities in legacy utils-ts, as well as minor refinements in further alignment of certain field names (for ex unit_name_b64 - unit_name_bytes).