Commit Graph

11 Commits

Author SHA1 Message Date
Felicio Mununga 6d30b8ac25
Fix key and topic generation, and remove dependencies (#285)
* update yarn.lock

* remove modules

* move client

* move account

* revert chat_identity.ts

* fix key gen

* fix topic gen

* fix non-null assertion

* fix build errors
2022-06-24 17:39:09 +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
Felicio Mununga 774f75fec9
remove more debug references 2022-06-10 18:23:37 +02:00
Felicio Mununga a646fbcc6c
remove debug 2022-06-10 17:46:38 +02:00
Pavel Prichodko 62bd4650a3
add idToContentTopic 2022-06-04 13:09:49 +02:00
Pavel Prichodko fd0dde5cd5
add ethereum-cryptography package 2022-06-02 12:10:53 +02:00
Felicio Mununga 9227a83810
fix test after rebase 2022-06-01 07:39:47 +02:00
Felicio Mununga 84749cee74
remove mocha 2022-06-01 06:56:10 +02:00
Felicio Mununga 97e18b5181
Fix status-js `name` (#268) 2022-05-24 12:42:05 +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
Felicio Mununga ec73a3e159
Rename status-core to status-js (#265) 2022-05-23 14:57:01 +02:00