Skip to content

Commit

Permalink
Merge pull request #27 from vechain/vendor-owned
Browse files Browse the repository at this point in the history
add method Vendor.owned
  • Loading branch information
qianbin authored Feb 18, 2019
2 parents 7174b56 + 8bb10b9 commit fc89327
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,16 @@ declare namespace Connex {

interface Vendor {
/**
* Acquire the signing service
* Acquire the signing service
* @param kind kind of target to be signed
*/
sign<T extends 'tx' | 'cert'>(kind: T): Vendor.SigningService<T>

/**
* Returns whether an address is owned by user
* @param addr account address
*/
owned(addr: string): boolean
}

namespace Vendor {
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "@vechain/connex",
"version": "1.0.0",
"version": "1.1.0",
"description": "Standard interface to connect DApp with VeChain and user",
"main": "",
"scripts": {
},
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/vechain/connex.git"
Expand Down

0 comments on commit fc89327

Please sign in to comment.