Danish Arora
e0e8e655f8
chore: fix peer discovery peer-exchange ( #1069 )
...
* fix: discovery for peer-exchange
use the bootstrap node as a starter to send a
peer-exchange query to, and emit the response
peers received from it for further connection to
libp2p using the peer-discovery interface
* init: test for libp2p bootstrap/discovery for
peer-exchange
* temp-add: console.logs for easier debugging
* add: peer discovery test & rm: console.logs
* chore: rm and redundant spec test
* add: interval for peer exchange queries
we set an interval to query a peer every 5 minutes
for peer exchange, and add new peers if found
* address: reviews
- add `type` for imports not using values
- better handling for peer-exchange query interval
* chore: fix tsc for peer-exchange
use node16 for module resolution
* chore: add extra exports to fix typedoc warnings
ref: https://github.com/TypeStrong/typedoc/issues/1739
2023-01-04 14:35:44 +05:30
weboko
a2d79c2551
Merge branch 'master' of github.com:waku-org/js-waku into weboko/missing-dep
2022-12-23 14:39:25 +01:00
Danish Arora
d022d8700b
chore: remove unused relay protocol identifier ( #1063 )
...
* chore: remove unused relay protocol identifier
* update: changelog
2022-12-23 17:08:41 +05:30
fryorcraken.eth
c8ddb40cc1
Merge pull request #1112 from waku-org/chore/update-package-lock
2022-12-23 16:59:04 +11:00
fryorcraken.eth
ecfd855651
chore: update package lock
2022-12-23 16:45:39 +11:00
weboko
fb9bb35042
fix: move deps from dev deps
2022-12-23 00:24:38 +01:00
weboko
ae764bc31e
add missing deps to workspaces
2022-12-23 00:18:16 +01:00
weboko
bef68ee081
add lint rule to warn about missing deps in workspaces
2022-12-23 00:17:46 +01:00
fryorcraken.eth
2cd1ac2e0e
Merge pull request #1109 from waku-org/chore/typedoc-warnings
2022-12-23 09:33:23 +11:00
fryorcraken.eth
ac4ff5a00a
chore: fix links in docs, treat doc warnings as errors
2022-12-21 16:47:00 +11:00
fryorcraken.eth
9db50cd95b
Merge pull request #1110 from waku-org/chore/dependabot
2022-12-21 16:46:10 +11:00
fryorcraken.eth
f153aed3c7
chore: attempt to enable dependabot for monorepo
...
Ref: https://github.com/dependabot/dependabot-core/issues/4993#issuecomment-1289133027
2022-12-21 16:37:39 +11:00
fryorcraken.eth
49f06989e3
Merge pull request #1065 from waku-org/chore/avoid-interface-dep
2022-12-21 16:36:42 +11:00
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
42f07df969
Merge pull request #1107 from waku-org/dependabot/npm_and_yarn/types/node-18.11.17
2022-12-21 15:35:21 +11:00
dependabot[bot]
abaa29df18
build(deps-dev): bump @types/node from 17.0.45 to 18.11.17
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 17.0.45 to 18.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 13:57:43 +00:00
fryorcraken.eth
e42a50bfc8
Merge pull request #1080 from waku-org/chore/remove-dependabot
2022-12-20 23:56:03 +11:00
fryorcraken.eth
29afa8925a
chore: remove dependabot
...
Useless in a monorepo because dependabot expects all manifest files to
be in the same directory, which is not the case (lock file at root
and package.json file in packages/*).
2022-12-20 23:38:23 +11:00
fryorcraken.eth
17cdbc800e
Merge pull request #1082 from waku-org/feat/remove-default-wait-to-peer-exchange
2022-12-20 23:37:54 +11:00
fryorcraken.eth
89571ff497
feat!: remove peer exchange from protocols to wait on by default
...
This is because peer exchange is still experimental and not enabled
on all prod fleets.
The issue is that we could be connected to a remote peer with relay/
filter/lightpush yet never resolve because peer exchange is missing.
This also shows the limit of this function logic which should be
addressed as we dive deeper in peer management.
2022-12-20 23:00:30 +11:00
fryorcraken.eth
68423196ec
Merge pull request #1108 from waku-org/fix/expose-codec-types
2022-12-20 22:56:57 +11:00
fryorcraken.eth
bff9b857ec
fix: export `Encoder` and `Decoder` types
...
Enables API consumer to use the types.
2022-12-20 16:11:41 +11:00
fryorcraken.eth
26b9d04912
Merge pull request #1106 from waku-org/release/core@0.0.8
2022-12-20 11:47:12 +11:00
fryorcraken.eth
e37e9c3ab2
Merge branch 'master' into release/core@0.0.8
2022-12-20 09:55:02 +11:00
fryorcraken.eth
2d6049fb7a
Merge pull request #1087 from waku-org/dependabot/npm_and_yarn/lint-staged-13.1.0
...
chore(deps-dev): bump lint-staged from 13.0.3 to 13.1.0
2022-12-19 17:41:55 +11:00
fryorcraken.eth
d234c4df76
chore: release @waku/create@0.0.6
2022-12-19 16:58:30 +11:00
fryorcraken.eth
1f003e7691
chore: release @waku/message-encryption@0.0.7
2022-12-19 16:56:40 +11:00
fryorcraken.eth
b060e88c27
chore: release @waku/core@0.0.8
2022-12-19 16:54:22 +11:00
dependabot[bot]
0a57151982
build(deps-dev): bump lint-staged from 13.0.3 to 13.1.0
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 13.0.3 to 13.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v13.0.3...v13.1.0 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 05:42:25 +00:00
fryorcraken.eth
11cb7b2d88
Merge pull request #1100 from waku-org/fix/invalid-export
2022-12-19 16:40:36 +11:00
fryorcraken.eth
75c8e2be8d
fix: incorrect `proto` import
2022-12-19 16:27:26 +11:00
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