fryorcraken.eth
94940411b0
fix: ensure that websocket multiaddrs are returned from ENR ( #1275 )
...
Closes : #1271
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-03-28 22:44:03 +05:30
Danish Arora
a30b2bd747
chore!: add exports map to @waku/utils ( #1201 )
...
* add exports map
* merge: master
* export subdir with default export path
* import according to the export path
2023-03-14 10:10:38 +05:30
fryorcraken.eth
b3228a2dfe
chore: refactor delete undefined logic
2023-03-14 11:07:57 +11:00
fryorcraken.eth
5a8de54d50
chore: remove some code duplication
2023-03-14 11:07:57 +11:00
fryorcraken.eth
1181eadcf8
doc: fix references in comments
2023-03-10 10:23:39 +11:00
fryorcraken.eth
81ad14cad3
chore: segregate basic access to fields and more advanced logic
...
Move basic access to ENR fields (with conversion) to `RawEnr`
`ENR` inherits from `RawEnr` and add a layer of logic.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
6dbcde041a
chore!: directly convert from ENR to `PeerInfo`, remove unneeded utility
2023-03-10 10:23:39 +11:00
fryorcraken.eth
84f114bfa4
chore: extract and simplify `getLocationMultiaddr`
...
Using switch/case when appropriate.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
af5c5733a5
chore: split functions
2023-03-10 10:23:39 +11:00
fryorcraken.eth
22ffcf571a
chore!: extract encoder code
...
Separation of concerns by moving encoding logic in new class.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
130c49b636
chore!: extract decoder code
...
Separation of concerns by moving decoding logic in new class.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
8fd1455122
chore: extract test code
...
createFrom* functions are only used in test.
By extracting them in different class it should help
bundlers.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
031f4c0c21
chore: improve function name
...
By describe why one would use it.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
a513087637
chore: remove functions not used in prod
2023-03-10 10:23:38 +11:00
fryorcraken.eth
93ba160791
chore: remove unused keypair api
2023-03-10 10:23:38 +11:00
fryorcraken.eth
46a020c6b4
chore: split function as one part was only used in test
2023-03-10 10:23:38 +11:00
fryorcraken.eth
05b122e646
chore: remove unnecessary functions
2023-03-10 10:23:38 +11:00
fryorcraken.eth
6f3a6d00d8
chore: fix dependencies for `@waku/enr`
2023-02-09 19:31:12 +11:00
Danish Arora
b33306655a
chore: move libp2p and byte utils to a single `utils` package ( #1149 )
...
* move libp2p and byte utils to a single `utils`
package
* set package version to 0.0.1
2023-02-06 11:22:36 +05:30
fryorcraken.eth
f48278adce
chore: remove waku dep from @waku/interfaces by defining IEnr
...
@waku packages are expected to (dev)depend on @waku/interfaces to
implement them. Hence, to avoid possible cyclic (dev)dependency, define
IEnr interface and use it as a type across @waku/packages.
2022-12-21 15:40:34 +11:00
fryorcraken.eth
88c6ec6ef4
chore: add '.js' extensions to local import
...
As per ESM standard.
2022-12-02 15:54:30 +11:00
fryorcraken.eth
d78a40f273
chore: fix dns-discovery build
2022-11-03 21:37:55 +11:00
fryorcraken.eth
9cc32c1032
tests: fix karma
2022-11-03 14:24:08 +11:00
fryorcraken.eth
f7f28f03b0
feat!: extract dns discovery and enr from core
2022-11-03 14:24:08 +11:00