diff --git a/README.md b/README.md index b4b960f8..4048ee22 100644 --- a/README.md +++ b/README.md @@ -853,7 +853,7 @@ Please use **box.openSpace** to get the instance of this class | Name | Type | Description | | --- | --- | --- | -| syncDone | Promise | A promise that is resolved when the box is synced | +| syncDone | Promise | A promise that is resolved when the space data is synced | @@ -880,6 +880,8 @@ Join a thread. Use this to start receiving updates from, and to post in threads | opts.firstModerator | String | DID of first moderator of a thread, by default, user is first moderator | | opts.members | Boolean | join a members only thread, which only members can post in, defaults to open thread | | opts.noAutoSub | Boolean | Disable auto subscription to the thread when posting to it (default false) | +| opts.ghost | Boolean | Enable ephemeral messaging via Ghost Thread | +| opts.ghostBacklogLimit | Number | The number of posts to maintain in the ghost backlog | diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index d5a55d50..fbf14209 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,13 @@ # Release Notes +## v1.12.0 - 2019-10-04 +This release contains a feature called Ghost Threads. These threads are not persisted by in any way except in memory between users. Ghost Threads uses ipfs pubsub to send messages between peers, so in addition we have added a websocket signaling server to make peers discover each other easier. Ghost Threads includes a backlog for users that just joined, this is sent by already connected users that have a copy of recent messages. + +--- +* feat: added Ghost Threads +* feat: enabled websocket signaling server +* fix: small docs and dependency improvements + ## v1.11.0 - 2019-09-24 * feat: 3box instance can now be created with an instance of the IdentityWallet * feat: smarter data syncing logic diff --git a/example/index.html b/example/index.html index 972638da..21fbee16 100644 --- a/example/index.html +++ b/example/index.html @@ -102,6 +102,8 @@

Threads:


Members Only Thread
+ Ghost ? +