Felicio Mununga
f3bb59597e
Fix `@status-im/js` build ( #389 )
...
* build cjs
* change mod exports
* tmp: add rebuild script
* export peers
* user browser field
* rm tmp changes
2023-05-03 14:48:16 +02:00
Felicio Mununga
665d2df7e8
Setup apps/website ( #383 )
...
* scaffold website project with Next.js
* set tamagui target
* remove whitespace
* update clean npm scripts
* apply patches post-install
* lock tamagui version
* add patch-package to root
* patch @tamagui/core-node
* patch @tamagui/normalize-css-color
* patch @achingbrain/ssdp
* remove patches from website
* update clean script in website
* remove @tamagui/vite-plugin from dependencies
* patch @tamagui/static
* update node-version
* define env vars
2023-04-26 12:06:18 +02:00
Felicio Mununga
a0406e834a
add `happy-dom` to `@status-im/js`
2023-04-06 17:22:04 +02:00
Pavel Prichodko
a9e9682ed0
rename typegen -> build:types
2023-03-14 13:49:33 +01:00
Pavel Prichodko
47308ca5c3
unify package.jsons
2023-03-13 21:48:42 +01:00
Pavel Prichodko
1042d1acfd
replace rm with rimraf
2023-01-20 15:27:05 +01:00
Felicio Mununga
a0d3277733
Add `ethers` and resolve chat key from ENS name ( #357 )
...
* add `ethers`
* add `resolveChatKey`
2023-04-04 14:10:56 +02:00
Felicio Mununga
67b12fceb0
Add url data encoding ( #345 )
...
* add @scure/base
* add link-preview.proto
* add prototype of encode function
* add tests
* add test cases
* update proto
* more
* more
* add missing community chat description to proto
* more
* more
* add browser brotli and lz-string
* move encoding comparison
* add sinlge encoding
* split encoding
* add decoding
* update .prettierignore
* exclude comparison
* remove comparison tests
* Update packages/status-js/src/utils/encode-url-data.test.ts
* Update packages/status-js/src/utils/encode-url-data.test.ts
* remove checksum
* ensure channel is serializable
* Update .prettierignore
* update protos
* add creaet-url.ts
* set links
* comment
* update protos
* add nominal type for EncodedUrlData
* add sign/verify fns
* export fns from index
* set zlib as external module
* add tag indices
* encode channel uuid
* use `.toJson()` with type assertion
* use uppercase url
* split url creating fns
* fix typo
* describe test suite
* use getters
* fix nominal type
* remove `node:` prefix from `zlib` import
* remove todos?:
* rename URLProps to URLParams
* fix package.json after rebase
2023-03-21 11:05:59 +01:00
Felicio Mununga
6b3ef713e9
Add public key deserialization ( #341 )
...
* add `multiformats` dep
* add `deserialize-public-key.ts`
* compress by default
* add tests
* Update packages/status-js/src/utils/deserialize-public-key.ts
Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com>
* rename vars
---------
Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com>
2023-02-23 16:48:31 +01:00
Felicio Mununga
16edb12048
remove `long`
2023-02-21 13:57:25 +01:00
Felicio Mununga
942146d0be
Use `@bufbuild` ( #337 )
...
* remove old `communities.proto`
* fix `protos` npm script
* apply `protos` changes overwriting `Record<>` patches
* update proto files
* regenerate files
* update `protons*` packages
* regen files
* use `protons` generate communities
* add `@bufbuild*` packages
* update `buf` yaml files
* generate `@bufbuild` files
* use `@bufbuild` files
* format
* remove `protobufjs`
* remove `protons`
* resolve build errors
* fix image content type
2023-02-21 12:34:48 +01:00
Felicio Mununga
d68409eb6f
Install `js-waku@^0.30.0`
2022-11-14 23:06:34 +01:00
Pavel Prichodko
27430ce846
v0.1.1
2022-10-09 18:58:52 -05:00
Pavel Prichodko
3896ea8f6e
v0.1.0
2022-10-07 22:09:04 +02:00
Felicio Mununga
a083d3251b
Install `js-waku@^0.25.0` ( #307 )
...
* install `js-waku@^0.24.0`
* install `js-waku@^0.25.0`
* resolve some breaking changes
* add timeout
* upgrade `eslint-import-resolver-typescript`
* add `process.env.VITEST` condition
* increase timeout
* fixup
* ignore `emitSelf`
* replace `parcel` with `vite`
* update `.gitignore`
* change `dev` npm script
* fix favicon href
* load `.env` files
* remove 'alias"
* add `preview`
* upgrade vite
* set `target`s in `vite.config.ts`
* upgrade `@vitejs/plugin-react`
* remove comment
* Update package.json
* Update vite.config.ts
2022-09-16 16:27:47 +02:00
Felicio Mununga
c4f052f71a
set `"access": "public"` for publishing
2022-07-06 15:37:35 +02:00
Pavel Prichodko
f59b38a3e4
remove unnecessary configuration
2022-07-01 15:22:26 +02:00
Felicio Mununga
d225623df9
v0.1.0-alpha.2
2022-06-30 17:03:12 +02:00
Felicio Mununga
1b89774ad1
v0.1.0-alpha.1
2022-06-30 16:02:34 +02:00
Pavel
0677fedc0e
Setup GitHub Actions ( #287 )
...
* add new GitHub Action for CI
* add yarn flag
* use actions v3
* add ci badge (lol)
* cache lint and format scripts
* add more steps
* remove unused component
* fix lint errors
* remove unsued eslint plugins
2022-06-29 16:46:51 +02:00
Pavel Prichodko
df6b52736e
set mode to development during dev
2022-06-28 16:54:21 +02:00
Pavel
680ce2f79b
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
36f448cb96
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
b62bc86dfe
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
1734f0edeb
remove more debug references
2022-06-10 18:23:37 +02:00
Felicio Mununga
020f20e801
remove debug
2022-06-10 17:46:38 +02:00
Pavel Prichodko
817b877634
add idToContentTopic
2022-06-04 13:09:49 +02:00
Pavel Prichodko
91f1e75cd5
add ethereum-cryptography package
2022-06-02 12:10:53 +02:00
Felicio Mununga
f0a629dfdc
fix test after rebase
2022-06-01 07:39:47 +02:00
Felicio Mununga
697f21a3ab
remove mocha
2022-06-01 06:56:10 +02:00
Felicio Mununga
b1e5bea532
Fix status-js `name` ( #268 )
2022-05-24 12:42:05 +02:00
Pavel
f6c154d4d9
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
ae55f185bf
Rename status-core to status-js ( #265 )
2022-05-23 14:57:01 +02:00