Pavel
c39b84a1e5
Add persistence of throwaway accounts ( #315 )
...
* add account membership status
* add storage and account listeners
* update membership
* update ui
* update membership status value
* use boolean instead of undefined
* rename callback function
* remove noise
* listeners -> callbacks
* update storage
* lint issue workaround
* update account storing
2022-10-07 20:05:09 +02:00
Pavel
1f567e189a
Use built-in PBKDF2 implementation for browsers ( #295 )
...
* add pbkdf2 browser implementation
* use webcrypto in pbkdf2
* rename pbkdf2 file
* use pbkdf2
* add changeset
* revert rename
* remove browser field from package.json
* use `resolve.alias` for pbkdf2 if test
* use `mode` in vite.config.ts
Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2022-07-19 17:45:29 +02:00
Felicio Mununga
fef65d0fd2
Set clocks ( #284 )
...
* add clock functions
* remove bind
2022-06-30 15:11:13 +02:00
Pavel
81153a3d98
Move to ESM, Vite, Vitest and Turborepo ( #286 )
...
* fix example hot module replacement
* add turbo
* migrate to vite
* use turbo for running scripts
* migrate testing to vitest
* set yarn in settings.json
* set noEmit in base tsconfig
* update yarn.lock
* move protos to src
* remove relative paths from status-js
* remove unused files
* update declaration dir
* use vite-node as a debugging runtime
* fix test
* unify tests
* fix test case typo
2022-06-28 16:40:39 +02:00
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
Pavel Prichodko
08becf1b77
fix: creation of message ID
2022-06-15 15:19:28 +02:00
Pavel Prichodko
2a50181223
add link to generateUsername util
2022-06-15 13:39:29 +02:00
Pavel Prichodko
ef34cb5174
use concatBytes in payloadToId
...
https://jsben.ch/jze3P
2022-06-15 13:38:44 +02:00
Pavel
5031c8ca74
Use chat keys in the UI ( #274 )
...
* add util for compressing public key
* add chat keys to account and member
* use compressPublicKey in color hash util
* use chat keys in UI
2022-06-14 14:28:08 +02:00
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
47ea7a90ad
Add color hash function ( #264 )
2022-06-10 19:30:23 +02:00
Pavel Prichodko
c57458a50d
fix recoverPublicKey test
2022-06-10 13:45:15 +02:00
Pavel Prichodko
13b9b7939a
add basic validateMessage function
2022-06-10 13:43:48 +02:00
Pavel Prichodko
a41091a680
cleanup generateUsername function
2022-06-09 19:22:05 +02:00
Pavel Prichodko
13546f2c0c
add generate username util
2022-06-09 18:59:04 +02:00
Pavel Prichodko
025787a7ec
make recoverPublicKey universal
2022-06-09 14:40:08 +02:00
Felicio Mununga
3e72ef401f
add test for public key recovery
2022-06-08 17:08:03 +02:00
Pavel Prichodko
0699775423
add recoverPublicKeyFromMetadata util
2022-06-07 16:32:46 +02:00
Pavel Prichodko
62bd4650a3
add idToContentTopic
2022-06-04 13:09:49 +02:00
Pavel Prichodko
7addaed9e7
add generateKeyFromPassword
2022-06-04 13:09:31 +02:00
Felicio Mununga
5a9ca4b3dd
add payload-to-id.ts
2022-06-03 23:36:36 +02:00
Pavel Prichodko
1499d879c9
remove privateKeyToAddress util
2022-06-03 17:45:07 +02:00
Pavel Prichodko
6fb97a5614
add private key to address function
2022-06-02 12:10:35 +02:00