Commit Graph

866 Commits

Author SHA1 Message Date
Franck Royer 2eb88068ae
Test default discovery as part of the CI 2021-09-21 14:47:45 +10:00
Franck Royer 640a672257
Do not setup libp2p discovery module if we fail to retrieve node addrs 2021-09-21 14:47:45 +10:00
Franck Royer a95315eeb5
Ensure node address is returned for Object type responses 2021-09-21 14:47:45 +10:00
Franck Royer eef6ff89c3
Merge pull request #300 from status-im/release/0.12.0
Merge hotfix 0.12.1 to main
2021-09-21 14:47:24 +10:00
Franck Royer 5443e3b4a7
Merge branch 'main' of github.com:status-im/waku-js into release/0.12.0 2021-09-21 14:31:28 +10:00
Franck Royer a0aa4395f9
Merge pull request #297 from status-im/release/0.12.1 2021-09-16 15:39:03 +10:00
Franck Royer def38b4234
Release 0.12.1 2021-09-16 15:21:45 +10:00
Franck Royer 8a4e7f5f3c
Connects to a limited number of bootstrap nodes, defaults to 1 2021-09-16 15:16:32 +10:00
Franck Royer a4ae4b4237
Merge pull request #295 from status-im/release/0.13.0 2021-09-16 15:13:51 +10:00
Franck Royer 6bd114f551
Release 0.13.0 2021-09-16 14:57:10 +10:00
Franck Royer 69778d065f
Merge pull request #294 from status-im/limit-connections
Connects to a limited number of bootstrap nodes, defaults to 1
2021-09-16 10:58:01 +10:00
Franck Royer 6504106a9e
Connects to a limited number of bootstrap nodes, defaults to 1 2021-09-16 10:38:01 +10:00
Franck Royer 1a9ab2ec77
Merge pull request #293 from status-im/182-async-await-syntax 2021-09-15 10:36:25 +10:00
Franck Royer a352cb0b38
Examples with no async/await syntax
Useful for those using ClojureScript.

Resolves #182.
2021-09-07 14:44:33 +10:00
Franck Royer 898f93371c
Merge pull request #292 from status-im/store-guide-react-js 2021-09-07 14:36:37 +10:00
Franck Royer c468bfd662
Minor correct, simplify code 2021-09-07 14:17:29 +10:00
Franck Royer 893e0b1af9
Add guide to use Waku Store in ReactJS 2021-09-07 14:17:29 +10:00
Franck Royer 064bad5a75
Remove interval 2021-09-07 14:17:29 +10:00
Franck Royer f6aa758712
Small cleanup 2021-09-07 14:17:29 +10:00
Franck Royer d6d52b72dd
Merge pull request #291 from status-im/upgrade-libp2p
Upgrade libp2p libraries
2021-09-06 11:27:52 +10:00
Franck Royer ca09c34ac6
Upgrade libp2p libraries 2021-09-03 16:02:22 +10:00
Franck Royer 0b869ab07f
Merge pull request #289 from status-im/release/0.12.0
Release 0.12.0
2021-09-02 19:59:11 +10:00
Franck Royer 3bf7e2250c
Release 0.12.0 2021-09-02 16:38:56 +10:00
Franck Royer 189e8f6c4e
Merge pull request #288 from status-im/fix-typo
Fix typo
2021-09-02 16:38:29 +10:00
Franck Royer d8bdbac2a5
Fix typo 2021-09-02 16:32:38 +10:00
Franck Royer 0d38e80497
Merge pull request #287 from status-im/wait-for-connected-peer
Added `Waku.waitForConnectedPeer` helper
2021-09-02 16:28:14 +10:00
Franck Royer a21d641280
Added `Waku.waitForConnectedPeer` helper
To ensure that we are connected to Waku peers when using the bootstrap
option.
2021-09-02 15:46:23 +10:00
Franck Royer 524fbc9361
Merge pull request #286 from status-im/encryption-api 2021-09-02 15:45:53 +10:00
Franck Royer 3c0884a96e
Update changelog 2021-09-02 15:27:39 +10:00
Franck Royer 87fd5ac171
Update guide to pass decryption keys to the `Waku` instance
Make the guide and API simpler as there is no need to learn/use both
`WakuStore` and `WakuRelay` APIs to decrypt messages.
2021-09-02 15:20:44 +10:00
Franck Royer 75f605a676
Improve error text
To make it clearer what the issue is.
2021-09-02 15:20:44 +10:00
Franck Royer 50fb533e44
test: Increase timeouts + add debug logs 2021-09-02 15:20:43 +10:00
Franck Royer cfb97b6bde
Allow passing decryption keys to `Waku` instance
Keys can be set at creation or at run time.
They are passed to `WakuStore` and `WakuRelay` instances.
2021-09-02 15:20:43 +10:00
Franck Royer 911ce5bab7
Allow passing decryption keys to `WakuStore` instance
To avoid having to pass them at every `queryHistory` call.
2021-09-02 15:17:40 +10:00
Franck Royer f4cae60ef8
Fix documentation 2021-09-02 15:15:43 +10:00
Franck Royer 931a414a3c
Allow passing decryption keys in hex string format 2021-09-02 15:13:50 +10:00
Franck Royer 75352abcac
Promote dedicated symmetric key generation API
Using the private key API for symmetric key is confusing.
2021-09-02 15:09:31 +10:00
Franck Royer f0183784a3
Merge pull request #283 from status-im/guide-encrypt-version-1
Add guide to encrypt messages using version 1
2021-08-30 20:01:08 +10:00
Franck Royer c9678aa665
Fix link 2021-08-30 19:54:36 +10:00
Franck Royer e0d199ef14
Add word 2021-08-30 15:13:03 +10:00
Franck Royer 4504de55f3
Use more precise terminology 2021-08-27 15:00:00 +10:00
Franck Royer 659e167c06
Mention CryptoSubtle for key storage/export 2021-08-27 14:40:46 +10:00
Franck Royer 6e5cbefc49
Mention Eth-PM 2021-08-26 16:34:32 +10:00
Franck Royer cc84edca9c
Rephrase, typos 2021-08-26 16:34:32 +10:00
Franck Royer 880746a0df
Add guide to encrypt messages using version 1 2021-08-26 16:34:29 +10:00
Franck Royer 6dd54d2458
Merge pull request #282 from status-im/encrypt-eth-pm 2021-08-26 16:33:31 +10:00
Franck Royer 5af6d84852
Encrypt Public Key Messages using symmetric encryption 2021-08-26 16:12:53 +10:00
Franck Royer 2f2eada322
Log error when failing to encode Public Key Message 2021-08-26 16:12:53 +10:00
Franck Royer 398f34b57f
Fixed Buffer.concat error when using symmetric encryption in the browser 2021-08-26 16:12:53 +10:00
Franck Royer 489fc5af08
Merge pull request #281 from status-im/node-16
Run build with NodeJS 16
2021-08-26 15:25:36 +10:00