mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +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
|
1. `AuthExtension` and all higher level Stargate clients only support
|
||||||
`BaseAccount`s for all functionality, including getting account numbers and
|
`BaseAccount`s for all functionality, including getting account numbers and
|
||||||
sequences for transaction signing. This will be implemented in the 0.25
|
sequences for transaction signing. This will be implemented for all common
|
||||||
series.
|
Cosmos SDK account types in the 0.25 series.
|
||||||
|
|
||||||
## Get in touch
|
## Get in touch
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ function accountFromBaseAccount(input: BaseAccount): Account {
|
|||||||
/**
|
/**
|
||||||
* Takes an `Any` encoded account from the chain and extracts some common
|
* Takes an `Any` encoded account from the chain and extracts some common
|
||||||
* `Account` information from it. This is supposed to support the most relevant
|
* `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.
|
* you'll need to write your own account decoder.
|
||||||
*/
|
*/
|
||||||
export function accountFromAny(input: Any): Account {
|
export function accountFromAny(input: Any): Account {
|
||||||
|
@ -9,7 +9,7 @@ export interface AuthExtension {
|
|||||||
* Returns an account if it exists and `null` otherwise.
|
* Returns an account if it exists and `null` otherwise.
|
||||||
*
|
*
|
||||||
* The account is a protobuf Any in order to be able to support many different
|
* 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.
|
* `typeUrl` and decode the `value` using its own type decoder.
|
||||||
*/
|
*/
|
||||||
readonly account: (address: string) => Promise<Any | null>;
|
readonly account: (address: string) => Promise<Any | null>;
|
||||||
@ -18,7 +18,7 @@ export interface AuthExtension {
|
|||||||
* Returns an account if it exists and `null` otherwise.
|
* Returns an account if it exists and `null` otherwise.
|
||||||
*
|
*
|
||||||
* The account is a protobuf Any in order to be able to support many different
|
* 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.
|
* `typeUrl` and decode the `value` using its own type decoder.
|
||||||
*/
|
*/
|
||||||
readonly account: (address: string) => Promise<Any | null>;
|
readonly account: (address: string) => Promise<Any | null>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user