From 34d2507f2d37ea8449ec4c1a53c36dbadbb35269 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Fri, 16 Feb 2024 20:52:36 +0530 Subject: [PATCH] chore: update more references --- .gitignore | 2 +- .size-limit.cjs | 2 +- package-lock.json | 806 +------------------------------- packages/discovery/package.json | 2 +- packages/sdk/package.json | 1 - release-please-config.json | 3 +- 6 files changed, 5 insertions(+), 811 deletions(-) diff --git a/.gitignore b/.gitignore index 1a3c2625c9..ebcefbd801 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,4 @@ test-results playwright-report example allure-results -packages/local-discovery/mock_local_storage \ No newline at end of file +packages/discovery/mock_local_storage \ No newline at end of file diff --git a/.size-limit.cjs b/.size-limit.cjs index 9be27499fc..eda95a165f 100644 --- a/.size-limit.cjs +++ b/.size-limit.cjs @@ -24,7 +24,7 @@ module.exports = [ }, { name: "DNS discovery", - path: "packages/dns-discovery/bundle/index.js", + path: "packages/discovery/bundle/index.js", import: "{ PeerDiscoveryDns }", }, { diff --git a/package-lock.json b/package-lock.json index 0f70ca8cdc..adc0f9febc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5469,10 +5469,6 @@ "resolved": "packages/interfaces", "link": true }, - "node_modules/@waku/local-discovery": { - "resolved": "packages/local-discovery", - "link": true - }, "node_modules/@waku/message-encryption": { "resolved": "packages/message-encryption", "link": true @@ -8263,21 +8259,6 @@ "node": ">= 0.10" } }, - "node_modules/cosmiconfig": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", - "dev": true, - "dependencies": { - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/cpu-features": { "version": "0.0.9", "hasInstallScript": true, @@ -27944,6 +27925,7 @@ "packages/local-discovery": { "name": "@waku/local-discovery", "version": "0.0.1", + "extraneous": true, "license": "MIT OR Apache-2.0", "dependencies": { "@libp2p/interface": "^1.1.2", @@ -27970,430 +27952,6 @@ "node": ">=18" } }, - "packages/local-discovery/node_modules/@cspell/cspell-bundled-dicts": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-7.3.9.tgz", - "integrity": "sha512-ebfrf5Zaw33bcqT80Qrkv7IGT7GI/CDp15bSk2EUmdORzk1SCKZl6L4vUo3NLMmxVwYioS+OQmsW8E88sJNyGg==", - "dev": true, - "dependencies": { - "@cspell/dict-ada": "^4.0.2", - "@cspell/dict-aws": "^4.0.0", - "@cspell/dict-bash": "^4.1.2", - "@cspell/dict-companies": "^3.0.27", - "@cspell/dict-cpp": "^5.0.9", - "@cspell/dict-cryptocurrencies": "^4.0.0", - "@cspell/dict-csharp": "^4.0.2", - "@cspell/dict-css": "^4.0.12", - "@cspell/dict-dart": "^2.0.3", - "@cspell/dict-django": "^4.1.0", - "@cspell/dict-docker": "^1.1.7", - "@cspell/dict-dotnet": "^5.0.0", - "@cspell/dict-elixir": "^4.0.3", - "@cspell/dict-en_us": "^4.3.11", - "@cspell/dict-en-common-misspellings": "^1.0.2", - "@cspell/dict-en-gb": "1.1.33", - "@cspell/dict-filetypes": "^3.0.2", - "@cspell/dict-fonts": "^4.0.0", - "@cspell/dict-fsharp": "^1.0.1", - "@cspell/dict-fullstack": "^3.1.5", - "@cspell/dict-gaming-terms": "^1.0.4", - "@cspell/dict-git": "^2.0.0", - "@cspell/dict-golang": "^6.0.4", - "@cspell/dict-haskell": "^4.0.1", - "@cspell/dict-html": "^4.0.5", - "@cspell/dict-html-symbol-entities": "^4.0.0", - "@cspell/dict-java": "^5.0.6", - "@cspell/dict-k8s": "^1.0.2", - "@cspell/dict-latex": "^4.0.0", - "@cspell/dict-lorem-ipsum": "^4.0.0", - "@cspell/dict-lua": "^4.0.2", - "@cspell/dict-makefile": "^1.0.0", - "@cspell/dict-node": "^4.0.3", - "@cspell/dict-npm": "^5.0.12", - "@cspell/dict-php": "^4.0.4", - "@cspell/dict-powershell": "^5.0.2", - "@cspell/dict-public-licenses": "^2.0.5", - "@cspell/dict-python": "^4.1.10", - "@cspell/dict-r": "^2.0.1", - "@cspell/dict-ruby": "^5.0.1", - "@cspell/dict-rust": "^4.0.1", - "@cspell/dict-scala": "^5.0.0", - "@cspell/dict-software-terms": "^3.3.9", - "@cspell/dict-sql": "^2.1.2", - "@cspell/dict-svelte": "^1.0.2", - "@cspell/dict-swift": "^2.0.1", - "@cspell/dict-typescript": "^3.1.2", - "@cspell/dict-vue": "^3.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/cspell-json-reporter": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-7.3.9.tgz", - "integrity": "sha512-QHsem5OZXshFX+Wdlx3VpdPi9WS7KgoBMGGJ4zQZ3lp81Rb1tRj0Ij/98whq882QOmAVQfr+uOHANHLnyPr0LQ==", - "dev": true, - "dependencies": { - "@cspell/cspell-types": "7.3.9" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/cspell-pipe": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-7.3.9.tgz", - "integrity": "sha512-gKYTHcryKOaTmr6t+M5h1sZnQ42eHeumBJejovphipXfdivedUnuYyQrrQGFAlUKzfEOWcOPME1nm17xsaX5Ww==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/cspell-resolver": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-7.3.9.tgz", - "integrity": "sha512-2slYAGvi7EFLKyJ5hrYBNaFT2iyOEQM1pEIzm+PDuhNJE/9wuBY5pBVqIgFSPz53vsQvW9GJThNY8h1/2EH3ZA==", - "dev": true, - "dependencies": { - "global-dirs": "^3.0.1" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/cspell-service-bus": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-7.3.9.tgz", - "integrity": "sha512-VyfK3qWtJZag4Fe/x1Oh/tqCNVGKGlQ2ArX1fVdmTVGQtZcbXuMKdZI80t4b8SGtzGINHufAdakpu3xucX/FrQ==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/cspell-types": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-7.3.9.tgz", - "integrity": "sha512-p7s8yEV6ASz0HjiArH11yjNj3vXzK2Ep94GrpdtYJxSxFC2w1mXAVUaJB/5+jC4+1YeYsmcBFTXmZ1rGMyTv3g==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/dict-cryptocurrencies": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-cryptocurrencies/-/dict-cryptocurrencies-4.0.0.tgz", - "integrity": "sha512-EiZp91ATyRxTmauIQfOX9adLYCunKjHEh092rrM7o2eMXP9n7zpXAL9BK7LviL+LbB8VDOm21q+s83cKrrRrsg==", - "dev": true - }, - "packages/local-discovery/node_modules/@cspell/dict-en-common-misspellings": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@cspell/dict-en-common-misspellings/-/dict-en-common-misspellings-1.0.2.tgz", - "integrity": "sha512-jg7ZQZpZH7+aAxNBlcAG4tGhYF6Ksy+QS5Df73Oo+XyckBjC9QS+PrRwLTeYoFIgXy5j3ICParK5r3MSSoL4gw==", - "dev": true - }, - "packages/local-discovery/node_modules/@cspell/dict-git": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-git/-/dict-git-2.0.0.tgz", - "integrity": "sha512-n1AxyX5Kgxij/sZFkxFJlzn3K9y/sCcgVPg/vz4WNJ4K9YeTsUmyGLA2OQI7d10GJeiuAo2AP1iZf2A8j9aj2w==", - "dev": true - }, - "packages/local-discovery/node_modules/@cspell/dynamic-import": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-7.3.9.tgz", - "integrity": "sha512-P6tAmDVhrW03hmhetxhBKlNTYwL2lk8ZehYQwSpXaLnaFrS3xrQvfUaJ3Mj9W2CIMzSYXlLmPO2FLRhXK2dnEw==", - "dev": true, - "dependencies": { - "import-meta-resolve": "^3.1.1" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/@cspell/strong-weak-map": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-7.3.9.tgz", - "integrity": "sha512-XKpw/p3+EN+PWiFAWc45RJPI9zQRkPSVdUFeZb0YLseWF/CkogScgIe4CLfMLITiVbP0X/FKk90+aTPfAU38kg==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-7.3.9.tgz", - "integrity": "sha512-QzunjO9CmV5+98UfG4ONhvPtrcAC6Y2pEKeOrp5oPeyAI7HwgxmfsR3ybHRlMPAGcwKtDOurBKxM7jqXNwkzmA==", - "dev": true, - "dependencies": { - "@cspell/cspell-json-reporter": "7.3.9", - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "@cspell/dynamic-import": "7.3.9", - "chalk": "^5.3.0", - "chalk-template": "^1.1.0", - "commander": "^11.1.0", - "cspell-gitignore": "7.3.9", - "cspell-glob": "7.3.9", - "cspell-io": "7.3.9", - "cspell-lib": "7.3.9", - "fast-glob": "^3.3.2", - "fast-json-stable-stringify": "^2.1.0", - "file-entry-cache": "^7.0.1", - "get-stdin": "^9.0.0", - "semver": "^7.5.4", - "strip-ansi": "^7.1.0", - "vscode-uri": "^3.0.8" - }, - "bin": { - "cspell": "bin.mjs", - "cspell-esm": "bin.mjs" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/streetsidesoftware/cspell?sponsor=1" - } - }, - "packages/local-discovery/node_modules/cspell-dictionary": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-7.3.9.tgz", - "integrity": "sha512-lkWfX5QNbs4yKqD9wa+G+NHRWmLgFdyposgJOyd/ojDbx99CDPMhMhg9pyMKdYl6Yt8kjMow58/i12EYvD8wnA==", - "dev": true, - "dependencies": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "cspell-trie-lib": "7.3.9", - "fast-equals": "^4.0.3", - "gensequence": "^6.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-dictionary/node_modules/fast-equals": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-4.0.3.tgz", - "integrity": "sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==", - "dev": true - }, - "packages/local-discovery/node_modules/cspell-gitignore": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-7.3.9.tgz", - "integrity": "sha512-DLuu+K2q4xYNL4DpLyysUeiGU/NYYoObzfOYiISzOKYpi3aFLiUaiyfF6xWGsahmlijif+8bwSsIMmcvGa5dgA==", - "dev": true, - "dependencies": { - "cspell-glob": "7.3.9", - "find-up": "^5.0.0" - }, - "bin": { - "cspell-gitignore": "bin.mjs" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-glob": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-7.3.9.tgz", - "integrity": "sha512-7PaTkCzJWjQex3men857v3ExF7Q10jbQkfD+wdln2te9iNFd+HEkstA173vb828D9yeib1q1of8oONr2SeGycg==", - "dev": true, - "dependencies": { - "micromatch": "^4.0.5" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-grammar": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-7.3.9.tgz", - "integrity": "sha512-s1QOPg4AxWE8XBewDQLe14j0uDyWGjREfm4dZFTrslAZUrQ8/df5s152M5LtgOEza33FrkKKE2axbGvgS9O7sQ==", - "dev": true, - "dependencies": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9" - }, - "bin": { - "cspell-grammar": "bin.mjs" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-io": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-7.3.9.tgz", - "integrity": "sha512-IbXOYaDxLg94uijv13kqb+6PQjEwGboQYtABuZs2+HuUVW89K2tE+fQcEhkAsrZ11sDj5lUqgEQj9omvknZSuA==", - "dev": true, - "dependencies": { - "@cspell/cspell-service-bus": "7.3.9", - "node-fetch": "^2.7.0" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-lib": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-7.3.9.tgz", - "integrity": "sha512-eFYYs8XoYmdu78UxrPisD+hAoXOLaLzcevKf9+oDPDgJmHpkGoFgbIBnHMRIsAM1e+QDS6OlWG/rybhZTqanCQ==", - "dev": true, - "dependencies": { - "@cspell/cspell-bundled-dicts": "7.3.9", - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-resolver": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "@cspell/dynamic-import": "7.3.9", - "@cspell/strong-weak-map": "7.3.9", - "clear-module": "^4.1.2", - "comment-json": "^4.2.3", - "configstore": "^6.0.0", - "cosmiconfig": "8.0.0", - "cspell-dictionary": "7.3.9", - "cspell-glob": "7.3.9", - "cspell-grammar": "7.3.9", - "cspell-io": "7.3.9", - "cspell-trie-lib": "7.3.9", - "fast-equals": "^5.0.1", - "find-up": "^6.3.0", - "gensequence": "^6.0.0", - "import-fresh": "^3.3.0", - "resolve-from": "^5.0.0", - "vscode-languageserver-textdocument": "^1.0.11", - "vscode-uri": "^3.0.8" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/cspell-lib/node_modules/find-up": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", - "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", - "dev": true, - "dependencies": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/local-discovery/node_modules/cspell-trie-lib": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-7.3.9.tgz", - "integrity": "sha512-aTWm2KYXjQ+MlM6kB37wmTV9RU8+fgZYkiFfMc48M0MhBc6XkHUibMGrFAS29gp+B70kWPxe+VHLmFIk9pRPyg==", - "dev": true, - "dependencies": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "gensequence": "^6.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "packages/local-discovery/node_modules/file-entry-cache": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-7.0.2.tgz", - "integrity": "sha512-TfW7/1iI4Cy7Y8L6iqNdZQVvdXn0f8B4QcIXmkIbtTIe/Okm/nSlHb4IwGzRVOd3WfSieCgvf5cMzEfySAIl0g==", - "dev": true, - "dependencies": { - "flat-cache": "^3.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "packages/local-discovery/node_modules/import-meta-resolve": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-3.1.1.tgz", - "integrity": "sha512-qeywsE/KC3w9Fd2ORrRDUw6nS/nLwZpXgfrOc2IILvZYnCaEMd+D56Vfg9k4G29gIeVi3XKql1RQatME8iYsiw==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "packages/local-discovery/node_modules/locate-path": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", - "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", - "dev": true, - "dependencies": { - "p-locate": "^6.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/local-discovery/node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^1.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/local-discovery/node_modules/p-locate": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", - "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", - "dev": true, - "dependencies": { - "p-limit": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/local-discovery/node_modules/path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "packages/local-discovery/node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", - "dev": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "packages/local-storage-discovery": { "name": "@waku/local-discovery", "version": "0.0.1", @@ -28577,7 +28135,6 @@ "@waku/core": "0.0.26", "@waku/discovery": "*", "@waku/interfaces": "0.0.21", - "@waku/local-discovery": "^0.0.1", "@waku/relay": "0.0.9", "@waku/utils": "0.0.14", "libp2p": "^1.1.2" @@ -32607,354 +32164,6 @@ "npm-run-all": "^4.1.5" } }, - "@waku/local-discovery": { - "version": "file:packages/local-discovery", - "requires": { - "@libp2p/interface": "^1.1.2", - "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.0.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@types/chai": "^4.3.11", - "@types/node-localstorage": "^1.3.3", - "@waku/build-utils": "*", - "@waku/interfaces": "^0.0.21", - "@waku/utils": "^0.0.14", - "chai": "^4.3.10", - "chai-as-promised": "^7.1.1", - "cspell": "^7.3.2", - "mocha": "^10.2.0", - "node-localstorage": "^3.0.5", - "npm-run-all": "^4.1.5", - "rollup": "^4.9.5", - "sinon": "^17.0.1" - }, - "dependencies": { - "@cspell/cspell-bundled-dicts": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-7.3.9.tgz", - "integrity": "sha512-ebfrf5Zaw33bcqT80Qrkv7IGT7GI/CDp15bSk2EUmdORzk1SCKZl6L4vUo3NLMmxVwYioS+OQmsW8E88sJNyGg==", - "dev": true, - "requires": { - "@cspell/dict-ada": "^4.0.2", - "@cspell/dict-aws": "^4.0.0", - "@cspell/dict-bash": "^4.1.2", - "@cspell/dict-companies": "^3.0.27", - "@cspell/dict-cpp": "^5.0.9", - "@cspell/dict-cryptocurrencies": "^4.0.0", - "@cspell/dict-csharp": "^4.0.2", - "@cspell/dict-css": "^4.0.12", - "@cspell/dict-dart": "^2.0.3", - "@cspell/dict-django": "^4.1.0", - "@cspell/dict-docker": "^1.1.7", - "@cspell/dict-dotnet": "^5.0.0", - "@cspell/dict-elixir": "^4.0.3", - "@cspell/dict-en_us": "^4.3.11", - "@cspell/dict-en-common-misspellings": "^1.0.2", - "@cspell/dict-en-gb": "1.1.33", - "@cspell/dict-filetypes": "^3.0.2", - "@cspell/dict-fonts": "^4.0.0", - "@cspell/dict-fsharp": "^1.0.1", - "@cspell/dict-fullstack": "^3.1.5", - "@cspell/dict-gaming-terms": "^1.0.4", - "@cspell/dict-git": "^2.0.0", - "@cspell/dict-golang": "^6.0.4", - "@cspell/dict-haskell": "^4.0.1", - "@cspell/dict-html": "^4.0.5", - "@cspell/dict-html-symbol-entities": "^4.0.0", - "@cspell/dict-java": "^5.0.6", - "@cspell/dict-k8s": "^1.0.2", - "@cspell/dict-latex": "^4.0.0", - "@cspell/dict-lorem-ipsum": "^4.0.0", - "@cspell/dict-lua": "^4.0.2", - "@cspell/dict-makefile": "^1.0.0", - "@cspell/dict-node": "^4.0.3", - "@cspell/dict-npm": "^5.0.12", - "@cspell/dict-php": "^4.0.4", - "@cspell/dict-powershell": "^5.0.2", - "@cspell/dict-public-licenses": "^2.0.5", - "@cspell/dict-python": "^4.1.10", - "@cspell/dict-r": "^2.0.1", - "@cspell/dict-ruby": "^5.0.1", - "@cspell/dict-rust": "^4.0.1", - "@cspell/dict-scala": "^5.0.0", - "@cspell/dict-software-terms": "^3.3.9", - "@cspell/dict-sql": "^2.1.2", - "@cspell/dict-svelte": "^1.0.2", - "@cspell/dict-swift": "^2.0.1", - "@cspell/dict-typescript": "^3.1.2", - "@cspell/dict-vue": "^3.0.0" - } - }, - "@cspell/cspell-json-reporter": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-7.3.9.tgz", - "integrity": "sha512-QHsem5OZXshFX+Wdlx3VpdPi9WS7KgoBMGGJ4zQZ3lp81Rb1tRj0Ij/98whq882QOmAVQfr+uOHANHLnyPr0LQ==", - "dev": true, - "requires": { - "@cspell/cspell-types": "7.3.9" - } - }, - "@cspell/cspell-pipe": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-7.3.9.tgz", - "integrity": "sha512-gKYTHcryKOaTmr6t+M5h1sZnQ42eHeumBJejovphipXfdivedUnuYyQrrQGFAlUKzfEOWcOPME1nm17xsaX5Ww==", - "dev": true - }, - "@cspell/cspell-resolver": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-7.3.9.tgz", - "integrity": "sha512-2slYAGvi7EFLKyJ5hrYBNaFT2iyOEQM1pEIzm+PDuhNJE/9wuBY5pBVqIgFSPz53vsQvW9GJThNY8h1/2EH3ZA==", - "dev": true, - "requires": { - "global-dirs": "^3.0.1" - } - }, - "@cspell/cspell-service-bus": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-7.3.9.tgz", - "integrity": "sha512-VyfK3qWtJZag4Fe/x1Oh/tqCNVGKGlQ2ArX1fVdmTVGQtZcbXuMKdZI80t4b8SGtzGINHufAdakpu3xucX/FrQ==", - "dev": true - }, - "@cspell/cspell-types": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-7.3.9.tgz", - "integrity": "sha512-p7s8yEV6ASz0HjiArH11yjNj3vXzK2Ep94GrpdtYJxSxFC2w1mXAVUaJB/5+jC4+1YeYsmcBFTXmZ1rGMyTv3g==", - "dev": true - }, - "@cspell/dict-cryptocurrencies": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-cryptocurrencies/-/dict-cryptocurrencies-4.0.0.tgz", - "integrity": "sha512-EiZp91ATyRxTmauIQfOX9adLYCunKjHEh092rrM7o2eMXP9n7zpXAL9BK7LviL+LbB8VDOm21q+s83cKrrRrsg==", - "dev": true - }, - "@cspell/dict-en-common-misspellings": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@cspell/dict-en-common-misspellings/-/dict-en-common-misspellings-1.0.2.tgz", - "integrity": "sha512-jg7ZQZpZH7+aAxNBlcAG4tGhYF6Ksy+QS5Df73Oo+XyckBjC9QS+PrRwLTeYoFIgXy5j3ICParK5r3MSSoL4gw==", - "dev": true - }, - "@cspell/dict-git": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-git/-/dict-git-2.0.0.tgz", - "integrity": "sha512-n1AxyX5Kgxij/sZFkxFJlzn3K9y/sCcgVPg/vz4WNJ4K9YeTsUmyGLA2OQI7d10GJeiuAo2AP1iZf2A8j9aj2w==", - "dev": true - }, - "@cspell/dynamic-import": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-7.3.9.tgz", - "integrity": "sha512-P6tAmDVhrW03hmhetxhBKlNTYwL2lk8ZehYQwSpXaLnaFrS3xrQvfUaJ3Mj9W2CIMzSYXlLmPO2FLRhXK2dnEw==", - "dev": true, - "requires": { - "import-meta-resolve": "^3.1.1" - } - }, - "@cspell/strong-weak-map": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-7.3.9.tgz", - "integrity": "sha512-XKpw/p3+EN+PWiFAWc45RJPI9zQRkPSVdUFeZb0YLseWF/CkogScgIe4CLfMLITiVbP0X/FKk90+aTPfAU38kg==", - "dev": true - }, - "commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "dev": true - }, - "cspell": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-7.3.9.tgz", - "integrity": "sha512-QzunjO9CmV5+98UfG4ONhvPtrcAC6Y2pEKeOrp5oPeyAI7HwgxmfsR3ybHRlMPAGcwKtDOurBKxM7jqXNwkzmA==", - "dev": true, - "requires": { - "@cspell/cspell-json-reporter": "7.3.9", - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "@cspell/dynamic-import": "7.3.9", - "chalk": "^5.3.0", - "chalk-template": "^1.1.0", - "commander": "^11.1.0", - "cspell-gitignore": "7.3.9", - "cspell-glob": "7.3.9", - "cspell-io": "7.3.9", - "cspell-lib": "7.3.9", - "fast-glob": "^3.3.2", - "fast-json-stable-stringify": "^2.1.0", - "file-entry-cache": "^7.0.1", - "get-stdin": "^9.0.0", - "semver": "^7.5.4", - "strip-ansi": "^7.1.0", - "vscode-uri": "^3.0.8" - } - }, - "cspell-dictionary": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-7.3.9.tgz", - "integrity": "sha512-lkWfX5QNbs4yKqD9wa+G+NHRWmLgFdyposgJOyd/ojDbx99CDPMhMhg9pyMKdYl6Yt8kjMow58/i12EYvD8wnA==", - "dev": true, - "requires": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "cspell-trie-lib": "7.3.9", - "fast-equals": "^4.0.3", - "gensequence": "^6.0.0" - }, - "dependencies": { - "fast-equals": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-4.0.3.tgz", - "integrity": "sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==", - "dev": true - } - } - }, - "cspell-gitignore": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-7.3.9.tgz", - "integrity": "sha512-DLuu+K2q4xYNL4DpLyysUeiGU/NYYoObzfOYiISzOKYpi3aFLiUaiyfF6xWGsahmlijif+8bwSsIMmcvGa5dgA==", - "dev": true, - "requires": { - "cspell-glob": "7.3.9", - "find-up": "^5.0.0" - } - }, - "cspell-glob": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-7.3.9.tgz", - "integrity": "sha512-7PaTkCzJWjQex3men857v3ExF7Q10jbQkfD+wdln2te9iNFd+HEkstA173vb828D9yeib1q1of8oONr2SeGycg==", - "dev": true, - "requires": { - "micromatch": "^4.0.5" - } - }, - "cspell-grammar": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-7.3.9.tgz", - "integrity": "sha512-s1QOPg4AxWE8XBewDQLe14j0uDyWGjREfm4dZFTrslAZUrQ8/df5s152M5LtgOEza33FrkKKE2axbGvgS9O7sQ==", - "dev": true, - "requires": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9" - } - }, - "cspell-io": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-7.3.9.tgz", - "integrity": "sha512-IbXOYaDxLg94uijv13kqb+6PQjEwGboQYtABuZs2+HuUVW89K2tE+fQcEhkAsrZ11sDj5lUqgEQj9omvknZSuA==", - "dev": true, - "requires": { - "@cspell/cspell-service-bus": "7.3.9", - "node-fetch": "^2.7.0" - } - }, - "cspell-lib": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-7.3.9.tgz", - "integrity": "sha512-eFYYs8XoYmdu78UxrPisD+hAoXOLaLzcevKf9+oDPDgJmHpkGoFgbIBnHMRIsAM1e+QDS6OlWG/rybhZTqanCQ==", - "dev": true, - "requires": { - "@cspell/cspell-bundled-dicts": "7.3.9", - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-resolver": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "@cspell/dynamic-import": "7.3.9", - "@cspell/strong-weak-map": "7.3.9", - "clear-module": "^4.1.2", - "comment-json": "^4.2.3", - "configstore": "^6.0.0", - "cosmiconfig": "8.0.0", - "cspell-dictionary": "7.3.9", - "cspell-glob": "7.3.9", - "cspell-grammar": "7.3.9", - "cspell-io": "7.3.9", - "cspell-trie-lib": "7.3.9", - "fast-equals": "^5.0.1", - "find-up": "^6.3.0", - "gensequence": "^6.0.0", - "import-fresh": "^3.3.0", - "resolve-from": "^5.0.0", - "vscode-languageserver-textdocument": "^1.0.11", - "vscode-uri": "^3.0.8" - }, - "dependencies": { - "find-up": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", - "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", - "dev": true, - "requires": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" - } - } - } - }, - "cspell-trie-lib": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-7.3.9.tgz", - "integrity": "sha512-aTWm2KYXjQ+MlM6kB37wmTV9RU8+fgZYkiFfMc48M0MhBc6XkHUibMGrFAS29gp+B70kWPxe+VHLmFIk9pRPyg==", - "dev": true, - "requires": { - "@cspell/cspell-pipe": "7.3.9", - "@cspell/cspell-types": "7.3.9", - "gensequence": "^6.0.0" - } - }, - "file-entry-cache": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-7.0.2.tgz", - "integrity": "sha512-TfW7/1iI4Cy7Y8L6iqNdZQVvdXn0f8B4QcIXmkIbtTIe/Okm/nSlHb4IwGzRVOd3WfSieCgvf5cMzEfySAIl0g==", - "dev": true, - "requires": { - "flat-cache": "^3.2.0" - } - }, - "import-meta-resolve": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-3.1.1.tgz", - "integrity": "sha512-qeywsE/KC3w9Fd2ORrRDUw6nS/nLwZpXgfrOc2IILvZYnCaEMd+D56Vfg9k4G29gIeVi3XKql1RQatME8iYsiw==", - "dev": true - }, - "locate-path": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", - "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", - "dev": true, - "requires": { - "p-locate": "^6.0.0" - } - }, - "p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dev": true, - "requires": { - "yocto-queue": "^1.0.0" - } - }, - "p-locate": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", - "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", - "dev": true, - "requires": { - "p-limit": "^4.0.0" - } - }, - "path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", - "dev": true - }, - "yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", - "dev": true - } - } - }, "@waku/message-encryption": { "version": "file:packages/message-encryption", "requires": { @@ -33055,7 +32264,6 @@ "@waku/core": "0.0.26", "@waku/discovery": "*", "@waku/interfaces": "0.0.21", - "@waku/local-discovery": "^0.0.1", "@waku/relay": "0.0.9", "@waku/utils": "0.0.14", "cspell": "^8.3.2", @@ -34947,18 +34155,6 @@ "vary": "^1" } }, - "cosmiconfig": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", - "dev": true, - "requires": { - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" - } - }, "cpu-features": { "version": "0.0.9", "optional": true, diff --git a/packages/discovery/package.json b/packages/discovery/package.json index 78af6fe404..e23bcab5ad 100644 --- a/packages/discovery/package.json +++ b/packages/discovery/package.json @@ -12,7 +12,7 @@ }, "type": "module", "author": "Waku Team", - "homepage": "https://github.com/waku-org/js-waku/tree/master/packages/dns-discovery#readme", + "homepage": "https://github.com/waku-org/js-waku/tree/master/packages/discovery#readme", "repository": { "type": "git", "url": "https://github.com/waku-org/js-waku.git" diff --git a/packages/sdk/package.json b/packages/sdk/package.json index e442f77047..87e69df3c3 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -68,7 +68,6 @@ "@libp2p/websockets": "^8.0.11", "@waku/core": "0.0.26", "@waku/interfaces": "0.0.21", - "@waku/local-discovery": "^0.0.1", "@waku/discovery": "*", "@waku/relay": "0.0.9", "@waku/utils": "0.0.14", diff --git a/release-please-config.json b/release-please-config.json index ad90b40a44..52e3f0b5ae 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -11,9 +11,8 @@ "packages/interfaces": {}, "packages/message-hash": {}, "packages/enr": {}, - "packages/peer-exchange": {}, "packages/core": {}, - "packages/dns-discovery": {}, + "packages/discovery": {}, "packages/message-encryption": {}, "packages/sdk": {}, "packages/relay": {}