fryorcraken.eth
f6bb9b2fcd
chore: print content topic in logs
2022-08-31 13:14:07 +10:00
fryorcraken.eth
987eab5f8f
doc: remove warnings
2022-08-25 15:54:05 +10:00
fryorcraken.eth
863f8ee7a4
fix: do not use uint8arrays/concat as it returns Buffer in NodeJS
...
`Buffer` does not have the same behaviour as `Uint8Array` when creating
a `DataView`. This is a problem when manipulating byte for encoding and
decoding purposes.
2022-08-24 18:42:48 +10:00
fryorcraken.eth
5ddca918ca
fix: stop store pagination if response field is missing
2022-08-24 17:34:37 +10:00
Franck Royer
cd665a1803
test: pass --store
2022-08-24 07:46:35 +10:00
fryorcraken.eth
28f77ec083
fix: use debug instead of console.log
2022-08-17 22:39:42 +10:00
fryorcraken.eth
ecb5b490e3
fix: do not throw on lack of response
...
Expected proto3 behaviour, just no message returned.
2022-08-17 22:39:19 +10:00
fryorcraken.eth
69aee6c1cc
refactor: move createWaku to own module
2022-08-07 12:03:04 +10:00
Franck Royer
275eb72959
fix: ignore store response unspecified error
2022-08-03 09:30:38 +10:00
Franck Royer
4a193e49e0
style: use nullish coalescing instead of if/then
2022-08-03 09:30:38 +10:00
Franck Royer
811685e041
refactor!: Move waitForRemotePeer to own file
2022-08-03 09:30:36 +10:00
Franck Royer
4eeca93d47
chore: bump libp2p to next (0.38.0 rc)
2022-08-03 09:30:36 +10:00
Franck Royer
f768686e51
fix: fix pipe usage
2022-08-03 09:30:33 +10:00
Franck Royer
51d5bc19a2
fix: removed usage of buffer in streams
2022-07-20 12:45:14 +10:00
Franck Royer
9e27a0082e
Sort out ENR key generation, upgrade to @libp2p/crypto
2022-07-20 12:44:44 +10:00
Franck Royer
98c93c8283
Upgrade libp2p, peer-id, multiaddr
...
Use new packages and fix most compilation errors.
Remaining error to be dealt with in waku.ts.
2022-07-20 12:40:37 +10:00
Franck Royer
6c30e8d400
Use PeerId.toString() instead of toB58String()
...
New version of `PeerId` will only support `toString`
2022-07-20 11:55:43 +10:00
Franck Royer
43e9de6fe2
cleanup: Migrate from ts-proto to protons
2022-06-20 14:32:21 +10:00
Franck Royer
ce24c2f530
Do not fail when receiving unspecified error
2022-06-20 14:32:20 +10:00
Franck Royer
9e8d4b9bb1
Mark all proto fields as optional
...
As expected in proto version 3.
2022-06-20 14:32:20 +10:00
Franck Royer
82aba32f9e
Migrate from ts-proto to protons
...
The latter does not bring Buffer/Long and is ESM compatible.
2022-06-20 14:32:20 +10:00
Franck Royer
cb10ca16d1
Migrate package to ESM
2022-06-20 14:32:20 +10:00
Franck Royer
e8e6df767b
Use waitForRemotePeer directly
2022-06-01 13:16:06 +10:00
Franck Royer
9ffedd1fbf
Remove circular dependencies
2022-06-01 12:14:47 +10:00
Franck Royer
20b3b5b667
Move common crypto functions to crypto.ts
2022-05-20 10:59:32 +10:00
Franck Royer
f953a41546
Declare it-pipe dependency, properly import
...
As it was implicitly using it-pipe@1.0.0 that has a different import
format.
2022-04-06 13:41:15 +10:00
Franck
2511b7daec
Nwaku v0.9 is taking more time to start-up
2022-04-06 12:39:18 +10:00
Franck
dc90279905
Rename nim-waku to nwaku
2022-04-06 12:39:18 +10:00
Franck Royer
dc6d37a94e
test: Only use timestamps in the past for a more realistic test
2022-04-06 12:39:18 +10:00
Franck Royer
d95d773f45
Send nanoseconds timestamp in nim-waku RPC
2022-04-06 12:39:18 +10:00
Franck R
e649f772a7
WakuMessage.timestamp field must use nanoseconds (#606 )
2022-03-09 12:00:02 +11:00
Franck R
a488988f37
Implement Waku Store 2.0.0-beta4 ( #566 )
2022-02-24 16:25:58 +11:00
Franck R
cfc5eee4ff
Reduce buffer usage ( #521 )
2022-02-14 10:50:02 +11:00
Franck R
0f678750df
Improve docs ( #519 )
2022-02-11 17:27:15 +11:00
Franck R
4c80f7f0df
Remove odd prettier config ( #500 )
2022-02-04 14:12:00 +11:00
Franck R
69f0005445
Bump libp2p from 0.32.4 to 0.36.2, libp2p-gossipsub from 0.12.1 to 0.13.0 ( #470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 15:12:08 +11:00
Franck R
b257885204
test: Fix flackiness ( #474 )
2022-02-01 12:54:54 +11:00
Franck R
47c5565371
Wait for heartbeat before considering relay peer ready ( #472 )
2022-01-31 15:30:49 +11:00
Franck R
d9248dbc56
Replace waitForConnectedPeer with waitForRemotePeer ( #469 )
2022-01-30 21:56:21 +11:00
Franck R
34e4cbba73
Use websocket instead of tcp in interop tests ( #418 )
2022-01-20 13:00:58 +11:00
Franck R
cba5212872
Upgrade nim-waku to v0.7 ( #417 )
2022-01-19 15:43:45 +11:00
Franck R
96cf24d34e
Allow specifying decryption methods and content topic ( #409 )
2022-01-17 14:11:05 +11:00
F
eb9057fc8f
doc: Remove warnings
2021-12-02 23:51:54 +11:00
Franck Royer
8d469ff842
Enable caller to abort store query
...
If the `callback` function passed to`WakuStore.queryHistory` returns
`true`, then no further pages are retrieved from the store.
2021-10-07 15:33:00 +11:00
Franck Royer
62b30b3f33
Log queried store peer info
2021-10-05 13:36:04 +11:00
Franck Royer
92ee5b060c
doc: Move comments to ensure they appear in generated documentation
2021-10-05 13:36:03 +11:00
Franck Royer
f5a0416efd
Rename to page direction
...
As the direction only affects the page ordering,
not the message ordering in the pages.
2021-10-05 13:36:03 +11:00
Franck Royer
d900945b6d
Add 'node' in test file names that only run on node
2021-09-24 17:09:34 +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
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