diff --git a/index.d.ts b/index.d.ts index e4e21dd..7016831 100644 --- a/index.d.ts +++ b/index.d.ts @@ -79,10 +79,10 @@ declare namespace Connex { namespace Thor { interface Ticker { /** - * @returns a promise resolves right after head block changed + * @returns a promise resolves to summary of head block right after head block changed * @remarks The returned promise never rejects. */ - next(): Promise + next(): Promise } interface AccountVisitor { @@ -486,7 +486,7 @@ declare namespace Connex { * Returns whether an address is owned by user * @param addr account address */ - owned(addr: string): boolean + owned(addr: string): Promise } namespace Vendor {