Franck Royer
df5a4f8326
waku is undefined
2021-04-21 16:17:32 +10:00
Franck Royer
afba3210e9
Upgrade libp2p to 0.31.0-rc.3
2021-04-21 16:17:32 +10:00
Franck Royer
bf11d76a93
Log in error raised by question
2021-04-21 09:57:21 +10:00
Franck Royer
0241d9edf3
Catch nick promise failure
2021-04-20 15:32:10 +10:00
Franck Royer
e0debac165
Subscribe to default topic when starting, Remove dual Waku relay classes
2021-04-16 11:25:08 +10:00
Franck Royer
896462340a
Simplify API
...
At this stage, if waku relay is mounted then we always want to subscribe
to default topic.
We can re-introduce the flexibility once we know what matters to the user.
Resolves #17 .
2021-04-15 14:45:14 +10:00
Franck Royer
9a305033bc
Use peerStore event to determine if identify is done
2021-04-15 14:44:35 +10:00
Franck Royer
503157401e
Allow passing transports, enable websocket transport
2021-04-15 13:56:07 +10:00
Franck Royer
1a813256e9
Start Waku first
...
So that even if the user does not enter a nick, the chat app
already acts as a waku node.
2021-04-15 13:56:07 +10:00
Franck Royer
4b31a6aaba
Wait for identify protocol to finish when dialing
...
Removes most `delay()`.
2021-04-13 22:43:13 +10:00
Franck Royer
1e10eeb5f5
Change API to directly return array of Waku Messages
2021-04-13 12:51:04 +10:00
Franck Royer
e9d51a6c57
Implement Waku store protocol
2021-04-09 16:54:30 +10:00
Franck Royer
ff8e96b60c
Clean up imports
2021-04-01 18:27:15 +11:00
Franck Royer
433a490dec
Move waku relay codec and default topic to constants module
2021-04-01 16:41:49 +11:00
Franck Royer
5a967ecbcc
Avoid possible type name clash between js-waku and consuming apps
...
`Message` is a very generic name and JS does not offer strong namespace
boundaries. Using `WakuMessage` avoid name clashing with classes
of the consumer app.
2021-04-01 11:18:35 +11:00
Franck Royer
f15f4ff7f2
Reference GitHub issues
2021-04-01 11:15:51 +11:00
Franck Royer
58838ec898
Custom nick
2021-04-01 11:01:15 +11:00
Franck Royer
cca1d685dc
Implement chat message protobuf to support nick and time handles
2021-04-01 11:01:15 +11:00
Franck Royer
0b282be882
Move chat folder inside src
2021-04-01 11:01:15 +11:00