docs: add comprehensive JSDoc documentation for @autonomys/auto-utils package #434
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📚 Add Comprehensive JSDoc Documentation for @autonomys/auto-utils
This PR adds comprehensive JSDoc documentation to the @autonomys/auto-utils package, following the same high-quality documentation standard established in PR #432.
🎯 What Changed
Added complete JSDoc documentation for all exported functions in the auto-utils package, organized into focused atomic commits:
Core Utility Functions
address()
,decode()
- SS58 address conversion and decodingblake2b_256()
,stringToUint8Array()
,concatenateUint8Arrays()
- Cryptographic operationsstringify()
,shortString()
,capitalizeFirstLetter()
,fixLengthEntryId()
- String manipulationparseTokenAmount()
,formatTokenAmount()
,formatSpacePledged()
- Token and space formattingAPI and Network Functions
createConnection()
,activate()
,activateDomain()
,disconnect()
- Network connectionsgetNetworkDetails()
,getNetworkRpcUrls()
,getNetworkDomainDetails()
,getNetworkDomainRpcUrls()
- Network configurationWallet Functions
setupWallet()
,generateWallet()
,activateWallet()
- Wallet creation and activationmockWallets()
,getMockWallet()
- Testing and development helpersTransaction and Event Utilities
signAndSendTx()
- Comprehensive transaction lifecycle managementsignMessage()
,signingKey()
,signatureVerify()
- Message signing and verificationvalidateEvents()
,eventName()
,expectSuccessfulTxEvent()
- Event monitoringAdditional Utilities
detectTxSuccess()
✨ Documentation Features
@throws
tags documenting common error scenarios🔍 Quality Assurance
🚀 Impact
This significantly improves the developer experience by providing the same high-quality documentation standard established in PR #432, making the @autonomys/auto-utils package much more accessible and easier to use for developers building on the Autonomys Network.
Complete the necessary changes to complete this task. Make sure the commits are atomic and descriptive. They should tell a story of the changes made. Implement the changes in the most simple way possible, each change should be well thought out. Adhere strictly to the code style and structure of the project.