Franck Royer
|
c41dfcba40
|
test: Increase timeout
|
2022-05-10 15:24:53 +10:00 |
|
Franck Royer
|
7a15fbf8f8
|
test: Ensure private key is not 0
|
2022-05-10 15:07:17 +10:00 |
|
Franck Royer
|
50fa2d881d
|
Use @noble/secp2156k1 's sha3 util
|
2022-05-10 10:59:27 +10:00 |
|
Franck Royer
|
9829cc2cab
|
Use @noble/secp2156k1 's random byte util
|
2022-05-10 10:47:13 +10:00 |
|
Franck Royer
|
1fd32639b9
|
Private Key 0..0 is not valid
|
2022-05-09 23:10:16 +10:00 |
|
Franck Royer
|
1ca7215478
|
Improve error feedback when crypto/subtle is not available
|
2022-05-09 23:10:16 +10:00 |
|
Franck Royer
|
d3671b7167
|
Remove secp256k1 usage from entree.ts
|
2022-05-09 23:10:15 +10:00 |
|
Franck Royer
|
3f6d9fb590
|
Remove secp256k1 usage from secp256k1.ts
|
2022-05-09 23:10:14 +10:00 |
|
Franck Royer
|
ae6cb98d5d
|
Remove secp256k1 usage from enr.ts
|
2022-05-09 23:10:14 +10:00 |
|
Franck Royer
|
8e6f9e320e
|
Remove secp256k1 usage from version_1
|
2022-05-09 16:57:48 +10:00 |
|
Franck Royer
|
12528acaeb
|
Remove node crypto import
|
2022-05-09 16:05:22 +10:00 |
|
Franck Royer
|
111f31bb53
|
Remove node implementation
|
2022-05-09 16:05:22 +10:00 |
|
Franck Royer
|
9dae5168fc
|
Use browser (subtle) implementation for all env
|
2022-05-09 16:05:14 +10:00 |
|
Franck Royer
|
a5219efc14
|
Support ENR waku2 field
|
2022-05-05 14:40:53 +10:00 |
|
Franck Royer
|
d30a918a44
|
Fix odd case where 0 is encoded as an empty byte array
|
2022-05-05 14:40:53 +10:00 |
|
Franck Royer
|
5de2f1996f
|
Facilitate the use of a polyfill for BigInt
By preferring the use of `BigInt` over integer literal (`n` postfix).
|
2022-05-02 14:51:14 +10:00 |
|
Franck Royer
|
277e11f781
|
Remove unneeded path from libp2p-noise import
|
2022-04-06 13:41:15 +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 Royer
|
c07396c30b
|
Update nwaku RPC with nanoseconds timestamp
|
2022-04-06 12:39:18 +10:00 |
|
Franck Royer
|
49998c02bd
|
Ensure Uint8Array is passed to utf-8 conversion function
Proto unexpectedly returns an `Array<number>`.
|
2022-03-25 17:08:03 +11:00 |
|
Franck Royer
|
52009b7be9
|
Use concat to simplify code
|
2022-03-25 17:08:03 +11:00 |
|
Franck Royer
|
bf63e85e9e
|
Move utf-8 utils to utils
|
2022-03-25 17:08:03 +11:00 |
|
Franck Royer
|
638b96c17d
|
Replace custom utf-8 convert implementations with uint8arrays
|
2022-03-25 17:08:03 +11:00 |
|
Franck Royer
|
6ef0550433
|
Replace custom utf-8 convert implementations with uint8arrays
|
2022-03-25 17:08:03 +11:00 |
|
Franck Royer
|
33e6c3fe39
|
Replace custom hex implementations with uint8arrays
|
2022-03-25 17:08:02 +11:00 |
|
Franck Royer
|
a915acfcda
|
Remove deprecated utils functions
|
2022-03-25 17:08:02 +11:00 |
|
Franck Royer
|
c4d779d1db
|
Remove equalByteArrays
|
2022-03-25 17:08:02 +11:00 |
|
Franck Royer
|
d0dea3884b
|
Replace Base 64 buggy conversion functions with uint8arrays
|
2022-03-25 11:02:40 +11:00 |
|
Dylan Oliver
|
9cf2924f7b
|
check presence of window before using it and appease ts types
|
2022-03-18 14:41:32 +11:00 |
|
Franck R
|
c806135810
|
Revert "Use BigInt constructor instead of happening n as it seems to have better browser support. (#611)" (#613)
This reverts commit f4e81dd29ce6a0c98a9c10d7a8bf3e6a3f17b0a0.
|
2022-03-13 20:33:47 +11:00 |
|
Franck R
|
f4e81dd29c
|
Use BigInt constructor instead of happening n as it seems to have better browser support. (#611)
|
2022-03-13 10:11:04 +11:00 |
|
Franck R
|
b904114d1f
|
Export protocols (#609)
|
2022-03-10 14:00:09 +11:00 |
|
Franck R
|
ed23332965
|
Allow passing multiaddr to bootstrap.peers (#608)
|
2022-03-09 18:38:28 +11:00 |
|
Franck R
|
e649f772a7
|
WakuMessage.timestamp field must use nanoseconds (#606)
|
2022-03-09 12:00:02 +11:00 |
|
Franck R
|
2798376776
|
Remove ecies-geth (#598)
* test: specify encryption method
Makes debugging easier.
* Fix log typo
* Remove ecies-geth
Start removal of elliptic dependency and move towards exclusive usage to
CryptoSubtle.
|
2022-03-06 23:20:59 +11:00 |
|
Franck R
|
ad5b3ddc7f
|
New pubsub_topic field on the cursor of Waku Store queries (#596)
|
2022-03-04 16:47:23 +11:00 |
|
Franck Royer
|
f73afc5244
|
Handle errors thrown when converting to utf-8
|
2022-03-01 16:58:15 +11:00 |
|
Franck R
|
a488988f37
|
Implement Waku Store 2.0.0-beta4 (#566)
|
2022-02-24 16:25:58 +11:00 |
|
Franck R
|
3a4e98e184
|
Remove unnecessary use of Buffer (#548)
|
2022-02-17 13:23:39 +11:00 |
|
Franck R
|
64657a250f
|
Replace rlp with ethers' rlp (#526)
|
2022-02-16 14:08:48 +11:00 |
|
Franck R
|
297d65ce03
|
Reduce Buffer usage in ENR module (#522)
|
2022-02-16 12:11:54 +11:00 |
|
Franck R
|
146c67e43e
|
Predefine bootstrap node (#528)
|
2022-02-16 11:43:57 +11:00 |
|
Franck R
|
cfc5eee4ff
|
Reduce buffer usage (#521)
|
2022-02-14 10:50:02 +11:00 |
|
Franck R
|
2dc8764be2
|
Remove axios (#520)
|
2022-02-14 09:26:22 +11:00 |
|
Franck R
|
160fea0e7b
|
Waku.dial accepts protocols expected from the peer. Defaults to Waku Relay only. (#516)
|
2022-02-13 19:04:50 +11:00 |
|
Franck R
|
0f678750df
|
Improve docs (#519)
|
2022-02-11 17:27:15 +11:00 |
|