fryorcraken.eth
e292855742
fix: missing dependencies
2022-12-19 16:26:56 +11:00
fryorcraken.eth
e0fd4433e7
fix: remove invalid re-export
2022-12-19 16:16:07 +11:00
fryorcraken.eth
737ecf007f
Merge pull request #1099 from waku-org/fix/missing-deps
2022-12-16 12:57:04 +11:00
fryorcraken.eth
803a0b4a12
fix: missing dependency declarations
2022-12-16 12:48:36 +11:00
fryorcraken.eth
eddf5c0bfd
Merge pull request #1098 from waku-org/release/message-encryption@0.0.6
2022-12-16 12:48:19 +11:00
fryorcraken.eth
541056abfe
chore: release @waku/message-encryption@0.0.6
2022-12-16 12:28:40 +11:00
fryorcraken.eth
248b7bd320
Merge pull request #1097 from waku-org/feat/moduleresolution-node
2022-12-16 12:25:26 +11:00
fryorcraken.eth
36327c9222
fix: add `typesVersions` so import works with `moduleResolution: node`
2022-12-16 12:10:14 +11:00
fryorcraken.eth
b1f2e6fbe1
Merge pull request #1083 from waku-org/release/core@0.0.7
2022-12-16 11:11:47 +11:00
fryorcraken.eth
b828903ef0
chore: release @waku/create@0.0.5
2022-12-15 14:51:45 +11:00
fryorcraken.eth
c4647d58c6
chore: release @waku/message-encryption@0.0.5
2022-12-15 14:50:20 +11:00
fryorcraken.eth
e5c1e20681
chore: release @waku/dns-discovery@0.0.3
2022-12-15 14:48:55 +11:00
fryorcraken.eth
3312c6134a
chore: release @waku/core@0.0.7
2022-12-15 14:47:14 +11:00
fryorcraken.eth
de1643be61
chore: release @waku/interfaces@0.0.6
2022-12-15 14:43:15 +11:00
fryorcraken.eth
01981dc184
chore: release @waku/enr@0.0.3
2022-12-15 14:41:30 +11:00
fryorcraken.eth
63f6316b42
chore: release @waku/libp2p-utils@0.0.1
2022-12-15 14:37:56 +11:00
fryorcraken.eth
e36cb752a5
Merge pull request #1081 from waku-org/chore/no-nat
2022-12-15 14:22:05 +11:00
fryorcraken.eth
edf5d438cb
test: remove `--nat` option when starting nwaku
2022-12-15 13:54:07 +11:00
fryorcraken.eth
bdf613b9d2
Merge pull request #1068 from waku-org/dependabot/npm_and_yarn/prettier-2.8.1
2022-12-15 13:39:31 +11:00
dependabot[bot]
2d694d6f51
build(deps-dev): bump prettier from 2.7.1 to 2.8.1
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 02:33:27 +00:00
fryorcraken.eth
404fefe50e
Merge pull request #1066 from waku-org/chore/dependabot
2022-12-15 10:55:01 +11:00
fryorcraken.eth
58ada61dc8
chore: update dependabot config to apply to all packages
2022-12-13 21:10:29 +11:00
fryorcraken.eth
c0ee7bf015
Merge pull request #1067 from waku-org/refactor/multiaddr-to-peer-info
2022-12-13 21:09:44 +11:00
fryorcraken.eth
a640e2c940
refactor: remove dupe code
2022-12-13 15:23:39 +11:00
fryorcraken.eth
39e96c554d
Merge pull request #1058 from waku-org/dependabot/npm_and_yarn/cspell-6.17.0
2022-12-13 13:52:54 +11:00
fryorcraken.eth
795e3b67b5
chore: update dictionary
2022-12-13 13:46:03 +11:00
dependabot[bot]
872c9cd0df
build(deps-dev): bump cspell from 5.21.2 to 6.17.0
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 5.21.2 to 6.17.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.21.2...v6.17.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 13:46:02 +11:00
fryorcraken.eth
2ff4ac16ee
Merge pull request #1054 from waku-org/feat/protocol-interfaces
2022-12-13 11:07:32 +11:00
fryorcraken.eth
9ac92ef99d
test: use LightNode interface
2022-12-13 10:58:07 +11:00
fryorcraken.eth
c6b86a33bc
doc: update changelogs
2022-12-12 22:36:14 +11:00
fryorcraken.eth
f743cfd1ca
chore: rename node interfaces to include `Node` in name
...
Also rename node with only relay to `RelayNode`.
2022-12-12 22:36:14 +11:00
fryorcraken.eth
d946e443ad
refactor: remove `Waku` from protocol names
...
This is redundant with the context (waku package).
2022-12-12 22:36:13 +11:00
fryorcraken.eth
574f3ee80f
refactor: remove `waku_` from module names
...
This is redundant with the context (waku package).
2022-12-12 22:36:13 +11:00
fryorcraken.eth
53af8994bd
feat: added `I` prefix to protocols interfaces
...
This will enable the remove of `Waku` prefix on all protocol
implementations, which is redundant due to the context.
2022-12-12 22:36:09 +11:00
fryorcraken.eth
84ac89e0e8
Merge pull request #1052 from waku-org/feat/interfaces
2022-12-12 22:21:04 +11:00
fryorcraken.eth
1fff8962b0
chore: fix size-limit
2022-12-12 22:15:49 +11:00
fryorcraken.eth
98ac346325
chore: prettier cjs files in root dir
2022-12-12 22:15:20 +11:00
fryorcraken.eth
8f01a453f7
test: usage of `DecodedMessage` class is preferred
...
This is because `IDecodedMessage` does not include all possible field of
messages from a specific decoder (ie, signature public key, etc) so
usage of the `DecodedMessage` class associated with the used decoder is
preferred.
2022-12-12 22:13:47 +11:00
fryorcraken.eth
cc691e26ce
feat: added `I` prefix to message/codec interfaces
...
To make it easier to differentiate with their implementations.
2022-12-12 22:13:46 +11:00
fryorcraken.eth
a7c4bb9cbf
refactor: split interface definition in separate files
2022-12-12 22:13:45 +11:00
Danish Arora
d6de62a391
chore: remove relay as default when starting nwaku for tests ( #1044 )
...
* chore: redeploy
* remove: relay as default for nwaku
* address: comments
* remove relay as default and add where needed
* Update packages/tests/tests/light_push.node.spec.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2022-12-12 11:08:08 +05:30
Danish Arora
eecdb6aeeb
chore: upgrade to node 18 ( #1061 )
...
* chore: change `localhost` -> `127.0.0.1`
There is a change in how Node does DNS resolution in Node 18 vs
16 -- `localhost` resolves to `::1`, which is the equivalent of
`127.0.0.1` but in IPv6 instead of IPv4. The server however is
only listening on IPv4.
Reference:
https://github.com/nodejs/node/issues/40702#issuecomment-958143154
* refactor: change node version on CI from 16 to 18
2022-12-12 10:52:17 +05:30
Danish Arora
6e4ff0f2b8
fix: revert timeout on test ( #1059 )
2022-12-07 20:37:10 +05:30
Danish Arora
0ca7fd790c
feat!: implement peer exchange ( #1027 )
...
* wip -- yet to test
* update: draft
* wip
* support passing flags manually to nwaku node
* refactor peer-exchange test
* switch response from uint8array to ENR
* rm: unnecesary logs
* implement clas
* fix: for loop
* init-wip: directories
* setup: new package & fix circular deps
* bind a response handler
* wip: refactor & update test
* test logs
* wip code - debugging
* address: comments
* Update packages/core/src/lib/waku_peer_exchange/peer_discovery.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* Update packages/core/src/lib/waku_peer_exchange/peer_discovery.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* address: comments
* address: comments
* address: comments
* address: comments
* address: comments
* fix: test build
* refactor
* fix: build
* comply with API
* numPeers: use number instead of bigint
* fix: build
* Update packages/peer-exchange/package.json
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* Update packages/peer-exchange/src/waku_peer_exchange.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* Update packages/peer-exchange/src/waku_peer_exchange.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* Update packages/peer-exchange/src/waku_peer_exchange.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* address: comments, add eslint config
* Update packages/peer-exchange/.eslintrc.cjs
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* Update packages/peer-exchange/src/index.ts
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* address comments
* test works with test fleet
* rm: only for px test => run all tests
* fix: tests
* reorder packages for build, and fix imports
* remove: px test doesnt work with local nodes
* chore: move proto into a separate package
* fix: proto dir
* fix: build
* fix: ci
* add: index for proto
* fix: ci
* Update packages/proto/package.json
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* address comments
* chore: run failing test with higher timeout
* chore: run failing test with higher timeout
* fix: ci
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2022-12-07 11:35:30 +05:30
Danish Arora
56009d3b26
chore: move proto into a separate package ( #1057 )
...
* chore: move proto into a separate package
* fix: proto dir
* fix: build
* fix: ci
* add: index for proto
* fix: ci
* Update packages/proto/package.json
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2022-12-07 10:19:40 +05:30
Danish Arora
03e00225bd
chore: move libp2p utils from @waku/core to new package ( #1056 )
...
* add: libp2p-utils
* address: comments
2022-12-06 15:46:10 +05:30
fryorcraken.eth
a15436d786
Merge pull request #1050 from waku-org/ci/fix-deploy
...
package.json: set type to module
2022-12-06 10:16:49 +11:00
Jakub Sokołowski
10d0ba400c
package.json: set type to module
...
Fixes errors like:
```
SyntaxError: Cannot use import statement outside a module
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-05 10:06:59 +01:00
fryorcraken.eth
54397f597a
Merge pull request #1049 from waku-org/feat/api-improvements
2022-12-05 16:41:05 +11:00
fryorcraken.eth
80d7215e15
doc: `createEncoder` and `createDecoder`
2022-12-05 16:05:20 +11:00