From c9f882b94f4f0e6226f0b5f580f410679e6e2737 Mon Sep 17 00:00:00 2001 From: linchen1987 Date: Fri, 29 Apr 2022 14:43:40 +0800 Subject: [PATCH] doc: update sdk doc (#140) --- CHANGELOG.md | 4 ++++ blocklet.yml | 2 +- package.json | 2 +- src/developer/blocklet-sdk/index.md | 6 ++++++ src/developer/blocklet-sdk/index.zh.md | 6 ++++++ version | 2 +- 6 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09eeceb..ea3172f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.2 (April 28, 2022) + +- doc: update sdk doc + ## 0.6.1 (四月 27, 2022) - fix: correct some url diff --git a/blocklet.yml b/blocklet.yml index 7573b2a..0eb208a 100644 --- a/blocklet.yml +++ b/blocklet.yml @@ -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. diff --git a/package.json b/package.json index 4519ef4..56f7d36 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/developer/blocklet-sdk/index.md b/src/developer/blocklet-sdk/index.md index 52065e1..3c04ecf 100644 --- a/src/developer/blocklet-sdk/index.md +++ b/src/developer/blocklet-sdk/index.md @@ -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 diff --git a/src/developer/blocklet-sdk/index.zh.md b/src/developer/blocklet-sdk/index.zh.md index e313c7e..fd5a020 100644 --- a/src/developer/blocklet-sdk/index.zh.md +++ b/src/developer/blocklet-sdk/index.zh.md @@ -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 diff --git a/version b/version index ee6cdce..b616048 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.1 +0.6.2