algorandfoundation / algokit-utils-ts

MIT License
19 stars 8 forks source link

feat: Added initial documentation and tweaks to deprecate account, network-client and localnet functions #287

Closed robdmoore closed 5 months ago

robdmoore commented 5 months ago

Inspired by #286, but a slightly different approach that starts to lay the foundation for deprecating the old way of using AlgoKit Utils in favour of the new approach using AlgorandClient.

This method allows us to keep this library in a releasable state while working on the deprecation bit by bit.

The patterns in this pull request help us guide users towards where we want and do proper deprecation of old vs new world, keep the documentation clear, keep the migration path clear and not have to do the migration all in a big bang.

Deprecates the following in favour of new AlgorandClient exposed functionality:

Changes:

Additions:

joe-p commented 5 months ago

LGTM. We should get eyes on it from devrel before merging though mainly to keep them in the loop and make sure there's no objections.

@SilentRhetoric no need for line-by-line review, but general summary is

SilentRhetoric commented 5 months ago

Thank you for your work on this! The consolidation of clients should make the library easier to use, investigate with Intellisense, teach, and maintain.

robdmoore commented 5 months ago

Agreed! This is the first of a number of pull requests to gracefully bring the new way of working with the library into being so expect a few more pull requests.