mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Fix doc comments and README
This commit is contained in:
parent
3a18b0ec43
commit
02b6262696
@ -99,8 +99,8 @@ discussion please reach out to the team.
|
||||
|
||||
1. `AuthExtension` and all higher level Stargate clients only support
|
||||
`BaseAccount`s for all functionality, including getting account numbers and
|
||||
sequences for transaction signing. This will be implemented in the 0.25
|
||||
series.
|
||||
sequences for transaction signing. This will be implemented for all common
|
||||
Cosmos SDK account types in the 0.25 series.
|
||||
|
||||
## Get in touch
|
||||
|
||||
|
@ -39,7 +39,7 @@ function accountFromBaseAccount(input: BaseAccount): Account {
|
||||
/**
|
||||
* Takes an `Any` encoded account from the chain and extracts some common
|
||||
* `Account` information from it. This is supposed to support the most relevant
|
||||
* common Cosmos SDK account types. If you need support for exotix account types,
|
||||
* common Cosmos SDK account types. If you need support for exotic account types,
|
||||
* you'll need to write your own account decoder.
|
||||
*/
|
||||
export function accountFromAny(input: Any): Account {
|
||||
|
@ -9,7 +9,7 @@ export interface AuthExtension {
|
||||
* Returns an account if it exists and `null` otherwise.
|
||||
*
|
||||
* The account is a protobuf Any in order to be able to support many different
|
||||
* account types in one API. The caller needs to switch over the expeced and supported
|
||||
* account types in one API. The caller needs to switch over the expected and supported
|
||||
* `typeUrl` and decode the `value` using its own type decoder.
|
||||
*/
|
||||
readonly account: (address: string) => Promise<Any | null>;
|
||||
@ -18,7 +18,7 @@ export interface AuthExtension {
|
||||
* Returns an account if it exists and `null` otherwise.
|
||||
*
|
||||
* The account is a protobuf Any in order to be able to support many different
|
||||
* account types in one API. The caller needs to switch over the expeced and supported
|
||||
* account types in one API. The caller needs to switch over the expected and supported
|
||||
* `typeUrl` and decode the `value` using its own type decoder.
|
||||
*/
|
||||
readonly account: (address: string) => Promise<Any | null>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user