Commit Graph

676 Commits

Author SHA1 Message Date
Pavel Prichodko f72476e248
add protocol provider 2022-06-10 14:16:06 +02:00
Pavel Prichodko 5b7c3cbb5a
fix recoverPublicKey test 2022-06-10 13:45:15 +02:00
Pavel Prichodko e976c5bc1f
add basic validateMessage function 2022-06-10 13:43:48 +02:00
Pavel Prichodko 24614aaca0
add vscode-jest to workspace recommendation 2022-06-10 13:10:49 +02:00
Felicio Mununga 70ec7c030f
change requestToJoin() 2022-06-10 02:13:05 +02:00
Felicio Mununga c34eeea0d6
use Set for waku message IDs 2022-06-10 02:11:29 +02:00
Felicio Mununga e1b1036695
add comment 2022-06-09 21:05:13 +02:00
Felicio Mununga ca66e8b132
use clock 2022-06-09 20:32:36 +02:00
Felicio Mununga d6c1ff0450
change community fetch 2022-06-09 19:33:01 +02:00
Felicio Mununga c84ed7ac7b
return chat messages from history fetch only if new found 2022-06-09 19:22:58 +02:00
Felicio Mununga 2ac11ab094
ignore already received chat messages 2022-06-09 18:48:27 +02:00
Felicio Mununga c416ec3e94
fix observing of new channels 2022-06-09 18:28:52 +02:00
Felicio Mununga 75dd342bcd
remove other waku message handlers 2022-06-09 18:27:47 +02:00
Felicio Mununga faa60f6ad4
add packages/status-js/src/client/community/handle-waku-message.ts 2022-06-09 18:23:31 +02:00
Pavel Prichodko c3840f8725
cleanup generateUsername function 2022-06-09 19:22:05 +02:00
Pavel Prichodko 58a10a5239
add generate username util 2022-06-09 18:59:04 +02:00
Pavel Prichodko bf3e6de2a7
fix sending messages 2022-06-09 15:56:43 +02:00
Pavel Prichodko 6ce1344af1
unify reaction type 2022-06-09 15:56:19 +02:00
Pavel Prichodko 54020b4be6
upgrade stitches 2022-06-09 14:48:54 +02:00
Pavel Prichodko cd0549a418
add more recommended extensions 2022-06-09 14:45:28 +02:00
Pavel Prichodko 128dbbe5f1
fix account tests 2022-06-09 14:44:45 +02:00
Pavel Prichodko 56a44eb255
add methods for sending messages 2022-06-09 14:44:23 +02:00
Pavel Prichodko e2cfc3ca6e
make recoverPublicKey universal 2022-06-09 14:40:08 +02:00
Felicio Mununga 6252736ad2
use pub key to gen chat message id 2022-06-08 17:09:36 +02:00
Felicio Mununga d4c597fa0f
add test for public key recovery 2022-06-08 17:08:03 +02:00
Felicio Mununga 4c1413cadf
use reverse() 2022-06-08 16:18:01 +02:00
Felicio Mununga b9062d556b
fix import of utils in account.ts 2022-06-08 15:40:30 +02:00
Felicio Mununga fb07201081
handle replies 2022-06-08 15:02:16 +02:00
Felicio Mununga 89279dbfbb
set chunk size 2022-06-08 13:17:08 +02:00
Felicio Mununga bd60c88767
try protocol layer first 2022-06-08 13:07:05 +02:00
Felicio Mununga 6826955c69
replace new Promise in observer 2022-06-08 11:52:55 +02:00
Felicio Mununga 109437f451
remove packages/status-js/src/community.ts 2022-06-08 11:45:56 +02:00
Felicio Mununga 857d283307
change client
- split client and community
- split some community methods
- add message fetching
- make observeChannelMessages async
2022-06-08 11:37:53 +02:00
Felicio Mununga cc4765d602
remove logs 2022-06-06 15:37:37 +02:00
Felicio Mununga fa95a375a3
split history fetching 2022-06-06 15:33:56 +02:00
Felicio Mununga e9a00f559e
remove `/proto copy` 2022-06-06 12:55:31 +02:00
Pavel Prichodko ced31593b3
fix account sign method 2022-06-07 16:35:01 +02:00
Pavel Prichodko 5667643068
add recoverPublicKeyFromMetadata util 2022-06-07 16:32:46 +02:00
Pavel Prichodko 643f7faa92
make pbkdf2 async 2022-06-06 11:05:44 +02:00
Pavel Prichodko 817b877634
add idToContentTopic 2022-06-04 13:09:49 +02:00
Pavel Prichodko 6e97051de9
add generateKeyFromPassword 2022-06-04 13:09:31 +02:00
Felicio Mununga 7bebcc9d30
add payload-to-id.ts 2022-06-03 23:36:36 +02:00
Pavel Prichodko 0bf7d05344
remove privateKeyToAddress util 2022-06-03 17:45:07 +02:00
Pavel Prichodko 085906398a
update Account 2022-06-03 17:44:55 +02:00
Pavel Prichodko 4f2581e462
add protocol message protobuf 2022-06-03 11:15:11 +02:00
Pavel Prichodko 1df5721654
add Account 2022-06-02 12:11:40 +02:00
Pavel Prichodko 91f1e75cd5
add ethereum-cryptography package 2022-06-02 12:10:53 +02:00
Pavel Prichodko 8435cfd815
add private key to address function 2022-06-02 12:10:35 +02:00
Felicio Mununga f0a629dfdc
fix test after rebase 2022-06-01 07:39:47 +02:00
Felicio Mununga 127c9081b9
use jest in npm script 2022-06-01 07:14:27 +02:00