Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: local discovery #1811

Merged
merged 27 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d094524
initialise the new package
danisharora099 Jan 22, 2024
ab5a256
feat: implement LocalStorageDiscovery
danisharora099 Jan 24, 2024
80780d3
add: Startable to cspell
danisharora099 Jan 24, 2024
1ad6ed2
add compliance test
danisharora099 Jan 30, 2024
7a104d9
add: discovery tests
danisharora099 Jan 30, 2024
d7b36d5
rm: browser tests script
danisharora099 Jan 30, 2024
944ae4b
Merge branch 'master' of github.com:waku-org/js-waku into feat/local-…
danisharora099 Feb 7, 2024
942e79e
address comments
danisharora099 Feb 7, 2024
4162893
add type safety to getting peers from local
danisharora099 Feb 7, 2024
63fdf49
only dispatch peer if it does not exist
danisharora099 Feb 7, 2024
7b58ae9
move ws ma extraction to utils
danisharora099 Feb 7, 2024
17386c6
chore: update package name to local-discovery
danisharora099 Feb 8, 2024
734142f
Merge branch 'master' of github.com:waku-org/js-waku into feat/local-…
danisharora099 Feb 13, 2024
57c2730
fix: add compliance test with no external deps on service node
danisharora099 Feb 13, 2024
ceb97d1
use peer:identify instead of peer:update
danisharora099 Feb 13, 2024
bf1b4ab
add: unit tests & remove sdk dependency
danisharora099 Feb 13, 2024
6904f0b
move tests to self package
danisharora099 Feb 13, 2024
ff31231
update cspell + remove unrequired deps
danisharora099 Feb 15, 2024
db29bb8
add types
danisharora099 Feb 15, 2024
7cfb348
maintain in-memory peers for localstorage
danisharora099 Feb 16, 2024
a39c4a9
address comments
danisharora099 Feb 16, 2024
c43ab31
chore: rename
danisharora099 Feb 16, 2024
4571291
Merge branch 'master' into feat/local-storage-discovery
danisharora099 Feb 16, 2024
d904a05
use name from options
danisharora099 Feb 16, 2024
a522404
Merge branch 'feat/local-storage-discovery' of github.com:waku-org/js…
danisharora099 Feb 16, 2024
5ceff83
fix: saving peers
danisharora099 Feb 16, 2024
dd5768e
rm: only
danisharora099 Feb 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"language": "en",
"words": [
"abortable",
"Addrs",
"ahadns",
"Alives",
"asym",
Expand Down Expand Up @@ -96,6 +97,7 @@
"secp",
"sharded",
"sscanf",
"Startable",
"staticnode",
"statusim",
"statusteam",
Expand Down Expand Up @@ -125,7 +127,15 @@
"Привет",
"مرحبا"
],
"flagWords": ["pubSub: pubsub", "pubSubTopics: pubsubTopics", "pubSubTopic: pubsubTopic", "PubSub: Pubsub", "PubSubTopics: PubsubTopics", "PubSubTopic: PubsubTopic", "DefaultPubSubTopic: DefaultPubsubTopic"],
"flagWords": [
"pubSub: pubsub",
"pubSubTopics: pubsubTopics",
"pubSubTopic: pubsubTopic",
"PubSub: Pubsub",
"PubSubTopics: PubsubTopics",
"PubSubTopic: PubsubTopic",
"DefaultPubSubTopic: DefaultPubsubTopic"
],
"ignorePaths": [
"package.json",
"package-lock.json",
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ test-results
playwright-report
example
allure-results
packages/local-discovery/mock_local_storage
Loading
Loading