Commit Graph

916 Commits

Author SHA1 Message Date
Franck Royer 31b007c398
Refresh peer stats every second 2021-08-13 15:58:39 +10:00
Franck Royer 076192aa66
Use EIP-712 to sign public key message 2021-08-13 15:58:39 +10:00
Franck Royer 01696d074c
Add to CI, upload to GH pages 2021-08-12 16:42:36 +10:00
Franck Royer 3b32987ecf
Add check in case user tries with incompatible wallet 2021-08-12 16:42:35 +10:00
Franck Royer 1e69811d8d
Use Web3 wallet for encryption instead of generated keys 2021-08-12 16:42:35 +10:00
Franck Royer 42ace51f35
Init commit Eth-PM Wallet 2021-08-12 16:06:09 +10:00
Franck Royer 85fd5f8f9f
Merge pull request #263 from status-im/eth-dm-cleanup-for-metamask 2021-08-12 15:25:55 +10:00
Franck Royer 6038007d40
No need for a wallet to send messages 2021-08-12 15:15:56 +10:00
Franck Royer a1218c1223
Refresh peer stats every second 2021-08-12 15:14:15 +10:00
Franck Royer 278439df82
Store encryption public key as byte array 2021-08-12 15:14:15 +10:00
Franck Royer 0bbe52ebb1
Rename ethdm*key to encryption*key
The naming was just confusing.
2021-08-12 15:14:15 +10:00
Franck Royer a2b6947b73
Add button to connect to wallet 2021-08-12 15:08:40 +10:00
Franck Royer 19c355e36b
Remove unnecessary parameter 2021-08-11 15:57:37 +10:00
Franck Royer 85231a288f
Simplify expression 2021-08-11 15:34:02 +10:00
Franck Royer bc31089860
Merge pull request #255 from status-im/store-guide 2021-08-09 14:56:06 +10:00
Franck Royer eb04acd1a0
Fix format 2021-08-09 14:40:57 +10:00
Franck Royer 332d05e31d
Not sure why npm does that 2021-08-09 14:22:14 +10:00
Franck Royer fb89b78754
Do not run react tests
Unfortunately, there are issue with react-scripts (jest) and
multiformats: https://github.com/multiformats/js-multiformats/issues/110
2021-08-09 14:21:47 +10:00
Franck Royer 2381adfd17
Do not recommend protobuf
Yet provide guide on how to use protobuf.
2021-08-09 14:03:52 +10:00
Franck Royer bb7ae2f30a
Improve wording 2021-08-09 12:36:53 +10:00
Franck Royer b7bf47715b
Wording 2021-08-09 12:36:53 +10:00
Franck Royer be771d6619
This would have failed if the first node we connect to is NOT store 2021-08-09 12:36:53 +10:00
Franck Royer 951e2e296b
Format 2021-08-09 12:36:53 +10:00
Franck Royer 5076fa553c
Enable spelling for guides and fix it 2021-08-09 12:36:53 +10:00
Franck Royer b4dcb73e30
Add store react to example CI 2021-08-09 12:36:50 +10:00
Franck Royer d3877ac26c
Simplify 2021-08-09 12:36:29 +10:00
Franck Royer 884190c971
Phrasing 2021-08-09 12:36:29 +10:00
Franck Royer ee5d627d14
Correct grammar 2021-08-09 12:36:28 +10:00
Franck Royer e52e564a31
Any value can be undefined 2021-08-09 12:36:28 +10:00
Franck Royer 8322d24ac1
Always clean up listeners! 2021-08-09 12:36:28 +10:00
Franck Royer cecbaad4f2
Finish store guide 2021-08-09 12:36:28 +10:00
Franck Royer a24e9c82c3
Fix protobuf def 2021-08-09 12:36:28 +10:00
Franck Royer f700367e62
Demonstrate how to wait for a store node peer 2021-08-09 12:36:28 +10:00
Franck Royer 3767dd75a7
store-react-js retrieves messages from store 2021-08-09 12:36:27 +10:00
Franck Royer dc9ea6dfac
Add Store example 2021-08-09 12:36:27 +10:00
Franck Royer f83f3037f1
Start store guide 2021-08-09 12:36:27 +10:00
Franck Royer 319f44a0b1
`WakuStore.queryHistory` throws when encountering an error
Instead of returning a `null` value.
2021-08-09 12:36:24 +10:00
Franck Royer b422c9a10b
Move `contentTopics` out the `WakuStore.queryHistory`'s optional params 2021-08-09 12:36:12 +10:00
Franck Royer 55a36f2263
Merge pull request #260 from status-im/remove-chat-message 2021-08-09 12:35:15 +10:00
Franck Royer 355b8414d8
Separate shutdown process to pinpoint CI failure 2021-08-09 12:27:52 +10:00
Franck Royer dcdab3203d
Replace nim-waku log grep with new pattern 2021-08-09 12:27:22 +10:00
Franck Royer 80cfa3c87a
Increase timeout to shutdown node 2021-08-09 12:09:21 +10:00
Franck Royer c14951cb0e
Increase timeout for nim-waku starts
Took 5 seconds in CI run.
2021-08-09 11:58:58 +10:00
Franck Royer ad9d629daa
`ChatMessage` has been moved from js-waku to web-chat example
It is a type used for the [TOY-CHAT](https://rfc.vac.dev/spec/22/)
 protocol;
js-waku users should not build on top if this toy protocol and instead
design message data structures appropriate to their use case.
2021-08-06 17:25:12 +10:00
Franck Royer 0c3995a810
Remove cli-chat example
The focus of this library is on Web environment; Several examples now
cover usage of Waku Relay and Waku Store; web-chat POC should be
preferred to use the [TOY-CHAT](https://rfc.vac.dev/spec/22/) protocol.
2021-08-06 17:25:11 +10:00
Franck Royer 0431088115
Merge pull request #259 from status-im/release/0.10.0
Release 0.10.0
2021-08-06 16:50:48 +10:00
Franck Royer 70c58c8c49
Release 0.10.0
### Added
- Relay and ReactJS guides and examples
  ([#56](https://github.com/status-im/js-waku/issues/56)).

### Changed
- **Breaking**: The `WakuMessage` APIs have been changed to move
  `contentTopic` out of the optional parameters.

### Removed
- Examples (web-chat): Remove broken `/fleet` command.
- **Breaking**: Removed `DefaultContentTopic` as developers must choose
  a content topic for their app; recommendations for content topic can
  be found at https://rfc.vac.dev/spec/23/.

### Fixed
- `WakuMessage.payloadAsUtf8` returning garbage on utf-8 non-ascii
  characters.
- `ChatMessage.payloadAsUtf8` returning garbage on utf-8 non-ascii
  characters.
2021-08-06 16:38:55 +10:00
Franck Royer cbf3fc3f8e
Merge pull request #251 from status-im/rename-min-web-chat 2021-08-05 16:11:01 +10:00
Franck Royer 1b82c21297
Update changelog 2021-08-05 13:39:42 +10:00
Franck Royer c13beae0d2
Include ReactJS in name min web chat name 2021-08-05 13:39:42 +10:00