Skip to content

Commit

Permalink
doc: update sdk doc (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
linchen1987 authored Apr 29, 2022
1 parent 8a82ae8 commit c9f882b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.2 (April 28, 2022)

- doc: update sdk doc

## 0.6.1 (四月 27, 2022)

- fix: correct some url
Expand Down
2 changes: 1 addition & 1 deletion blocklet.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '@arcblock/abtnode-docs'
version: 0.6.1
version: 0.6.2
description: >-
Blocklet Server Documentation, a help documentation for quickly get started
with Blocklet Server.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arcblock/abtnode-docs",
"version": "0.6.1",
"version": "0.6.2",
"description": "Blocklet Server Documentation, a help documentation for quickly get started with Blocklet Server.",
"main": "index.js",
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions src/developer/blocklet-sdk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ Get user by user did
- _@param_ **did** `string`
- _@return_ `{ code, user }`

#### client.getOwner()

Get owner of the team

- _@return_ `{ code, user }`

#### client.getUsers()

Get all users of the team
Expand Down
6 changes: 6 additions & 0 deletions src/developer/blocklet-sdk/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ Get user by user did
- _@param_ **did** `string`
- _@return_ `{ code, user }`

#### client.getOwner()

Get owner of the team

- _@return_ `{ code, user }`

#### client.getUsers()

Get all users of the team
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.1
0.6.2

0 comments on commit c9f882b

Please sign in to comment.