Commit Graph

8 Commits

Author SHA1 Message Date
Pavel 5b4daedd37
Add members (#271)
* export ColorHash type

* add getObjectsDifference helper

* fix CommunityDescription generated type

* add members to community module

* use members in sidebar
2022-06-13 19:02:37 +02:00
Felicio Mununga 062c29d6fa
Add Chat module (#270)
* add packages/status-js/src/client/chat.ts

* cache received but skipped waku messages

* comment missing Map type in generate proto type

* handle removed and added chats

* remove lodash

* use this.client.waku instead of this.waku in community.ts

* rename community props

* fix waku reference in Community

* fix community reference in chat

* handle chat.description changes

* fix references in ui

* revert use of contentTopic

* fix callback on fetch

* use clock to limit fetch

* fix use of clock for community description

* remove notes

* remove await

* use Object.keys() for diff in chats

* fix typo

* add decryption key in start()

* set content topics when adding decryption keys

* add getter with tmp name

* rename community handler to handleDescription

* return this.description !== undefined

* add options to constructor
2022-06-13 16:33:57 +02:00
Pavel Prichodko 62bd4650a3
add idToContentTopic 2022-06-04 13:09:49 +02:00
Pavel Prichodko 341cd4714a
add protocol message protobuf 2022-06-03 11:15:11 +02:00
Felicio Mununga 9227a83810
fix test after rebase 2022-06-01 07:39:47 +02:00
Pavel Prichodko 9039775d35
feat(status-js): add membership update message 2022-05-24 15:36:14 +02:00
Pavel Prichodko f342f97da9
style(status-js): regenerate protso 2022-05-24 15:36:07 +02:00
Pavel b73831fa44
Use protons to generate TypeScript files (#269)
* feat(status-js): sync protos with status-go

* feat(status-js): set up protons

* feat(status-js): use protons to generate protos

* fix(status-js): remove buf configuration
2022-05-24 12:12:33 +02:00