Franck Royer
975fb6245a
Run CI for min js web chat example
2021-08-02 10:45:10 +10:00
Franck Royer
943b1c2456
Add ReactJS Relay guide
2021-08-02 10:45:10 +10:00
Franck Royer
f95e52c2ea
Remove reducer, fix timestamp
2021-08-02 10:45:10 +10:00
Franck Royer
2306bb1708
Add breakdown of what examples demonstrate
...
Also move explanation to each readme.
2021-08-02 10:45:10 +10:00
Franck Royer
8a1babac6f
Fix capitalized titles
2021-08-02 10:45:10 +10:00
Franck Royer
b92b9009b9
Add choose content topic guide
2021-08-02 10:45:09 +10:00
Franck Royer
2dd399d6c6
Run Hemingway app
2021-08-02 10:45:09 +10:00
Franck Royer
97042388b2
Fix odd format
2021-08-02 10:45:09 +10:00
Franck Royer
1f370ae53e
Use protobuf
2021-08-02 10:45:09 +10:00
Franck Royer
3b71fd0b26
Show payload as utf8 usage
2021-08-02 10:45:09 +10:00
Franck Royer
7c715d8fa7
Display messages
2021-08-02 10:45:09 +10:00
Franck Royer
8a7f2401ea
Process incoming messages
2021-08-02 10:45:08 +10:00
Franck Royer
7c5382dfff
Send message
2021-08-02 10:45:08 +10:00
Franck Royer
3f6497634f
Bootstrap
2021-08-02 10:45:08 +10:00
Franck Royer
2ae9a6ca00
Create Waku
2021-08-02 10:45:08 +10:00
Franck Royer
1e64ac8f7c
create react app min-js-web-chat
2021-08-02 10:45:08 +10:00
Franck Royer
a3b7e37d8b
Merge pull request #249 from status-im/utf8
...
Fixed `payloadAsUtf8` returning garbage on utf-8 non-ascii characters
2021-08-02 10:44:45 +10:00
Franck Royer
45dc8f81c9
Fixed `ChatMessage.payloadAsUtf8` returning garbage on utf-8 non-ascii
2021-08-02 10:36:50 +10:00
Franck Royer
1f692f1683
Fixed `payloadAsUtf8` returning garbage on utf-8 non-ascii characters
2021-08-02 09:51:37 +10:00
Franck Royer
159a352088
Merge pull request #248 from status-im/fix-web-chat
...
Limit store retrievals
2021-07-29 20:05:07 +10:00
Franck Royer
d307342f7e
Simplify message handling to avoid re-rendering
...
Only retrieve historical messages when starting the app.
This allows avoid re-rendering issues. This is an example dApp. No need
to waste time on React optimisation.
2021-07-29 17:23:03 +10:00
Franck Royer
b4a440cb03
Merge pull request #247 from status-im/update-chats
...
Update discussion channels
2021-07-28 20:59:56 +10:00
Franck Royer
a5e91b3269
Update discussion channels
2021-07-28 17:12:03 +10:00
Franck Royer
aede51f752
Merge pull request #244 from status-im/remove-default-content-topic
2021-07-28 12:34:06 +10:00
Franck Royer
9aaac20981
Examples: Content Topic moved out of options parameter
2021-07-28 12:03:51 +10:00
Franck Royer
0cfdd34284
Removed `DefaultContentTopic`
...
As developers must choose a content topic for their app.
The`WakuMessage` APIs have been changed to move `contentTopic` out of
the optional parameters. Recommendations for content topic can be found
at https://rfc.vac.dev/spec/23/ .
2021-07-28 12:03:51 +10:00
Franck Royer
5e056d8b81
Shorten imports, remove warning
2021-07-28 11:58:05 +10:00
Franck Royer
53ef23362c
Remove faulty fleet feature
...
It does not work as it can lead to infinite loops due to the handling of
the Waku instance. It should disconnect and reconnect to peers instead
of starting a new waku instance.
2021-07-28 11:58:02 +10:00
Franck Royer
b61e7311af
Merge pull request #243 from status-im/185-idle-stream-abort
2021-07-27 16:42:02 +10:00
Franck Royer
9638f6db10
Introduced new `relayKeepAlive` option
...
..on `Waku` with a default to 5min to send ping messages over relay
to ensure the relay stream stays open.
This is a workaround until
[js-libp2p#744](https://github.com/libp2p/js-libp2p/issues/744 ) is done
as there are issues when TCP(?) timeouts and the stream gets closed.
2021-07-27 16:24:04 +10:00
Franck Royer
ea33b9cd8a
Rename `keepAlive` option to `pingKeepAlive`
...
In preparation for introducing a relay keep alive feature.
2021-07-27 16:06:57 +10:00
Franck Royer
664e5f56a1
Merge pull request #241 from status-im/upgrade-libp2p
...
Upgrade to libp2p 0.32.0
2021-07-27 14:50:34 +10:00
Franck Royer
36a5a51aa8
Upgrade to libp2p 0.32.0
2021-07-27 14:31:06 +10:00
Franck Royer
5a6e4adf35
Merge pull request #242 from status-im/release/0.9.0
...
Release 0.9.0
2021-07-26 20:22:45 +10:00
Franck Royer
c35fe74dad
Release 0.9.0
...
### Changed
- **Breaking**: Store Response Protobuf changed to align with
nim-waku v0.5
([nim-waku#676](https://github.com/status-im/nim-waku/pull/676 )).
2021-07-26 16:49:30 +10:00
Franck Royer
4a85e62c80
Merge pull request #237 from status-im/nim-waku-v0.5
2021-07-26 14:30:51 +10:00
Franck Royer
c4d0501c6a
nim-waku v0.5 uses new waku relay protocol id
2021-07-26 11:35:08 +10:00
Franck Royer
5f7eee394b
Store Response Protobuf change to align with nim-waku
...
status-im/nim-waku#676
2021-07-26 11:35:08 +10:00
Franck Royer
6817a2f6b2
Pass timestamp to RPC call
2021-07-26 11:32:50 +10:00
Franck Royer
c944a802a5
Upgrade nim-waku submodule to v0.5
2021-07-26 11:32:50 +10:00
Franck Royer
1f0569580f
Merge pull request #240 from status-im/238-multiple-protocols
2021-07-22 10:40:08 +10:00
Franck Royer
be007f4839
Ensure there is no infinite loop on error
2021-07-21 15:44:00 +10:00
Franck Royer
92a76b3be0
Support multiple protocol id for relay
...
Support id of latest nim-waku release 0.4 and current master.
2021-07-21 15:43:30 +10:00
Franck Royer
6135127e5d
Correct name
2021-07-21 15:02:38 +10:00
Franck Royer
4e6848bb1c
Merge pull request #236 from status-im/doc
2021-07-21 14:59:32 +10:00
Franck Royer
3bff44432a
Remove some vulnerable packages
...
Thanks to `npm audit`.
2021-07-20 15:30:15 +10:00
Franck Royer
aea70dcea6
Fix title hierarchy
2021-07-20 15:30:14 +10:00
Franck Royer
29b726629d
Merge pull request #235 from status-im/release/0.8.1
...
Release 0.8.1
2021-07-16 12:14:20 +10:00
Franck Royer
0753184079
Release 0.8.1
...
### Added
- Examples (web-chat): New `/fleet` command to switch connection between
Status prod and test fleets.
- Export `generatePrivateKey` and `getPublicKey` directly from the root.
- Usage of the encryption and signature APIs to the readme.
### Changed
- **Breaking**: Renamed `WakuRelay.(add|delete)PrivateDecryptionKey` to
`WakuRelay.(add|delete)DecryptionKey` to make it clearer that it
accepts both symmetric keys and asymmetric private keys.
### Fix
- Align `WakuMessage` readme example with actual code behaviour.
2021-07-16 12:00:43 +10:00
Franck Royer
228cdab89b
Merge pull request #234 from status-im/fix-doc
2021-07-16 11:58:01 +10:00