Franck Royer
dbab0cc582
Unnecessary and create conflicts due to disparity of version
...
Between libp2p-interfaces from libp2p and libp2p-gossipsub.
2021-06-22 10:08:02 +10:00
Franck Royer
68faba24c1
Move Eth-DM notes to root dir
2021-06-21 15:48:56 +10:00
Franck Royer
d9f875ca4a
Add Eth-DM to CI
2021-06-21 15:41:30 +10:00
Franck Royer
73abcdda46
Prod build uses prod fleet
2021-06-21 14:49:18 +10:00
Franck Royer
85b4879410
Concatenate signature to have enough entropy for eth-crypto
2021-06-21 13:51:11 +10:00
Franck Royer
af2b2691f1
The signature is an hex string, not utf-8
2021-06-21 13:26:33 +10:00
Franck Royer
4b70af1039
Merge pull request #210 from status-im/185-keep-alive
2021-06-21 13:16:46 +10:00
Franck Royer
381fc8b82c
Add keep alive feature
...
Using libp2p ping protocol.
2021-06-21 09:46:41 +10:00
Franck Royer
e3b4a42822
Add keep alive feature
...
Using libp2p ping protocol.
2021-06-21 09:46:29 +10:00
Franck Royer
a676dff148
Merge pull request #204 from status-im/72-eth-dm
2021-06-21 09:04:15 +10:00
Franck Royer
ec90bd021a
Deploy main HEAD eth-dm to GH pages
2021-06-18 16:51:11 +10:00
Franck Royer
f05e3a6bb3
Add key to list items
2021-06-18 15:18:37 +10:00
Franck Royer
c6f73199cb
Remove unused import
2021-06-18 15:12:12 +10:00
Franck Royer
66fcb2e48b
Enable recipient selection and message input
2021-06-18 15:11:54 +10:00
Franck Royer
0c825fe391
Use lightpush for all messages
2021-06-18 15:11:09 +10:00
Franck Royer
6e54e65131
Use material UI
2021-06-18 13:53:12 +10:00
Franck Royer
41533d51e5
Prettier message display
2021-06-18 10:04:38 +10:00
Franck Royer
11f92df0ba
Use light push instead of relay
...
See #209 .
2021-06-17 16:24:05 +10:00
Franck Royer
0c6cb64b72
Ensure observers are deleted
2021-06-17 16:24:05 +10:00
Franck Royer
8e8e3a366c
Only use test fleet for now
2021-06-17 16:24:05 +10:00
Franck Royer
ddf6a9501a
Fix for metamask
2021-06-17 16:24:04 +10:00
Franck Royer
fc987f8f58
Publish eth-dm on GH pages
2021-06-17 16:24:04 +10:00
Franck Royer
7dcb52444b
Display waku readiness
2021-06-17 16:24:04 +10:00
Franck Royer
4e7f75868f
Clean up observer when component dismount
2021-06-17 10:41:00 +10:00
Franck Royer
1d3f0e4c8a
Use npm
...
As it better handles file dependencies by creating a symlink.
2021-06-17 10:41:00 +10:00
Franck Royer
3fa1574696
Display direct messages
2021-06-17 10:41:00 +10:00
Franck Royer
329ed71fb6
Remove unused component
2021-06-17 10:40:59 +10:00
Franck Royer
ed5b7ba542
Send Dummy messages
2021-06-17 10:40:59 +10:00
Franck Royer
69033f4ea5
Receive public key from network and verify it
2021-06-17 10:40:59 +10:00
Franck Royer
3bd6b76916
Publish public key to waku network
2021-06-17 10:40:59 +10:00
Franck Royer
ee38388326
Init repo, add crypto functions
2021-06-17 10:40:59 +10:00
Franck Royer
3ca365c6f8
Merge pull request #208 from status-im/auto-selection-of-peers
2021-06-17 10:40:03 +10:00
Franck Royer
939b5fb20a
Auto select peer if none provided for store and light push protocols
2021-06-16 23:51:20 +10:00
Franck Royer
60eb473047
Add `WakuRelay.deleteObserver` to allow removal of observers
...
Useful when a React component add observers when mounting and needs to
delete it when unmounting.
2021-06-16 16:37:04 +10:00
Franck Royer
af1e97fafe
Use Set to facilitate removal of observers
2021-06-16 16:37:04 +10:00
Franck Royer
9244674cf5
Merge pull request #207 from status-im/release/0.7.0
...
Release 0.7.0
2021-06-15 15:49:54 +10:00
Franck Royer
6ed7445d83
Release 0.7.0
...
### Changed
- Test: Upgrade nim-waku node to v0.4.
- Waku Light Push upgraded to `2.0.0-beta1`.
- Examples (web chat): Catch error if chat message decoding fails.
- Examples (web chat): Do not send message if shift/alt/ctrl is pressed,
enabling multiline messages.
2021-06-15 15:36:47 +10:00
Franck Royer
c7991b3da2
Merge pull request #206 from status-im/nim-waku-v0.4
2021-06-11 15:23:21 +10:00
Franck Royer
c293e268e8
Do not send message if a modifier is pressed to enable multiline msgs
2021-06-11 14:38:31 +10:00
Franck Royer
8073021d82
Do not fail if a chat message is malformed
2021-06-11 14:38:22 +10:00
Franck Royer
bc544c8e0b
Update Light Push protocol string to match nim-waku v0.4
2021-06-11 14:38:08 +10:00
Franck Royer
ba8390f02a
Upgrade nim-waku to v0.4
2021-06-11 14:37:54 +10:00
Franck Royer
4eec3930d5
Merge pull request #202 from status-im/release/0.6.0
...
Release 0.6.0
2021-06-09 21:06:24 +10:00
Franck Royer
e75fb91d3f
Release 0.6.0
...
### Changed
- **Breaking**: Websocket protocol is not automatically added anymore
if the user specifies a protocol in `libp2p.modules` when using
`Waku.create`.
- **Breaking**: Options passed to `Waku.create` used to be passed to
`Libp2p.create`; Now, only the `libp2p` property is passed to
`Libp2p.create`, allowing for a cleaner interface.
- Examples (cli chat): Use tcp protocol instead of websocket.
### Added
- Enable access to `WakuMessage.timestamp`.
- Examples (web chat): Use `WakuMessage.timestamp` as unique key for
list items.
- Doc: Link to new [topic guidelines](https://rfc.vac.dev/spec/23/ ) in
README.
- Doc: Link to [Waku v2 Toy Chat specs](https://rfc.vac.dev/spec/22/ ) in
README.
- Examples (web chat): Persist nick.
- Support for custom PubSub Topics to `Waku`, `WakuRelay`, `WakuStore`
and `WakuLightPush`;
Passing a PubSub Topic is optional and still defaults to
`/waku/2/default-waku/proto`;
JS-Waku currently supports one, and only, PubSub topic per instance.
2021-06-09 20:49:19 +10:00
Franck Royer
b0e9e88081
Merge pull request #203 from status-im/cli-chat-use-tcp
...
Use tcp protocol only for cli-chat
2021-06-09 17:46:44 +10:00
Franck Royer
2350ce5a6f
Clarify new libp2p modules transport behaviour
2021-06-09 16:59:27 +10:00
Franck Royer
1bb1f8f6b6
Use tcp protocol only
...
Due to #201 , Websocket protocol is not added by default if the caller
specifies a protocol for libp2p.
In the case cli-chat. We were using both tcp and ws.
As the web-chat already demonstrates usage of websocket protocol, we
cli-chat to tcp only.
2021-06-09 16:58:08 +10:00
Franck Royer
0136720b48
Merge pull request #201 from status-im/174-custom-pubsub-topic
2021-06-09 16:31:54 +10:00
Franck Royer
5ce0717f05
Enable passing a custom pubsub topic
...
Note that we currently only support one, and only one, pubsub topic for
a given instance across the codebase. The PubSub topic needs to be set
when instantiating the Waku* classes.
At this stage, we believe that most DApp will use, and only use, the
default PubSub topic. Some application want to use an alternative topic
but not use the default one so this behaviour should be fine. See #174
for details.
2021-06-09 15:00:03 +10:00
Franck Royer
f0f14f9995
Rename type before introducing CreateOptions
2021-06-09 15:00:03 +10:00