Skip to content

Commit

Permalink
feat!: @waku/discovery (#1876)
Browse files Browse the repository at this point in the history
* initialise the new package

* move dns-discovery

* move peer-exchange

* move local-peer-cache-discovery

* add polyfill for node - dynamic import

* update size-limit

* update release-please

* chore: update pacakge desc

* chore: cleanup

* add peer-exchange and local peer cache to size-limit
  • Loading branch information
danisharora099 committed Mar 12, 2024
1 parent 8f86740 commit 1e86c3d
Show file tree
Hide file tree
Showing 62 changed files with 218 additions and 1,775 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ test-results
playwright-report
example
allure-results
packages/local-peer-cache-discovery/mock_local_storage
packages/discovery/mock_local_storage
5 changes: 1 addition & 4 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
"packages/interfaces": "0.0.22",
"packages/message-hash": "0.1.11",
"packages/enr": "0.0.21",
"packages/peer-exchange": "0.0.20",
"packages/core": "0.0.27",
"packages/dns-discovery": "0.0.21",
"packages/message-encryption": "0.0.25",
"packages/relay": "0.0.10",
"packages/sdk": "0.0.23",
"packages/local-peer-cache-discovery": "1.0.0"
"packages/sdk": "0.0.23"
}
12 changes: 11 additions & 1 deletion .size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ module.exports = [
},
{
name: "DNS discovery",
path: "packages/dns-discovery/bundle/index.js",
path: "packages/discovery/bundle/index.js",
import: "{ PeerDiscoveryDns }",
},
{
name: "Peer Exchange discovery",
path: "packages/discovery/bundle/index.js",
import: "{ wakuPeerExchangeDiscovery }",
},
{
name: "Local Peer Cache Discovery",
path: "packages/discovery/bundle/index.js",
import: "{ wakuLocalPeerCacheDiscovery }",
},
{
name: "Privacy preserving protocols",
path: "packages/relay/bundle/index.js",
Expand Down
Loading

0 comments on commit 1e86c3d

Please sign in to comment.