Skip to content

Commit

Permalink
Merge pull request #32 from vechain/link
Browse files Browse the repository at this point in the history
add link method for CertSigningService
  • Loading branch information
qianbin authored Feb 28, 2019
2 parents a50ab54 + 8934655 commit a6f154f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ declare namespace Connex {
* TODO: More detailed description
* @param ties a set of addresses, as the condition of cache invalidation
*/
cache(ties: string[]) : this
cache(ties: string[]): this

/**
* Pack arguments into {@link Clause}.
Expand Down Expand Up @@ -488,7 +488,8 @@ declare namespace Connex {
gas(gas: number): this

/**
* set the link to reveal tx related information
* set the link to reveal tx related information.
* first appearance of slice '{txid}' in the given link url will be replaced with txid.
* @param url link url
*/
link(url: string): this
Expand All @@ -513,6 +514,13 @@ declare namespace Connex {
*/
signer(addr: string): this

/**
* set the link to reveal cert related information.
* first appearance of slice '{certid}' in the given link url will be replaced with cert id.
* @param url link url
*/
link(url: string): this

/**
* send request
* @param msg
Expand Down

0 comments on commit a6f154f

Please sign in to comment.