diff --git a/docs/space-daemon/getting-started.md b/docs/space-daemon/getting-started.md index ab0f507..8a24a68 100644 --- a/docs/space-daemon/getting-started.md +++ b/docs/space-daemon/getting-started.md @@ -159,6 +159,8 @@ Creates a new bucket. Returns a Promise that resolves to the new bucket instance console.log(bucket.getPath()); console.log(bucket.getCreatedat()); console.log(bucket.getUpdatedat()); + console.log(bucket.getMembersList()); + console.log(bucket.getIsselectgroupbucket()); }) .catch((err) => { console.error(err); @@ -185,7 +187,7 @@ Returns all the buckets available ```js client - .listBuckets() + .listBuckets({}) .then((res) => { const buckets = res.getBucketsList(); @@ -195,6 +197,8 @@ Returns all the buckets available console.log('path:', bucket.getPath()); console.log('createdAt:', bucket.getCreatedat()); console.log('updatedAt:', bucket.getUpdatedat()); + console.log('membersList:', bucket.getMembersList()); + console.log('isSelectGroupBucket:', bucket.getIsselectgroupbucket()); }); }) .catch((err) => { @@ -466,7 +470,7 @@ Get an indentity based on a username. Returns a Promise that resolves if a usern > .shareBucket({ bucket?: string }) -Shares a bucket. Returns a promis that resolves to the threadInfo (required to join a bucket). +Shares a bucket. Returns a promise that resolves to the threadInfo (required to join a bucket). If you don't specify the `bucket` property, `client.defaultBucket` value is going to be used instead. ```js