Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer a84ea18680
*Update deps 2023-02-17 08:10:22 -05:00
Derrick Hammer ac7d1a0db5
*only return early if both activeRelay and ready are set 2023-02-17 08:10:14 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
"type": "module",
"dependencies": {
"@lumeweb/hyperswarm-web": "git+https://git.lumeweb.com/LumeWeb/hyperswarm-web.git",
"@noble/ed25519": "^1.7.2",
"@noble/ed25519": "^1.7.3",
"b4a": "^1.6.1",
"hyperswarm": "^4.3.7",
"libkmodule": "^0.2.53",
@ -40,7 +40,7 @@
"jest": "^28.1.3",
"jest-puppeteer": "^6.2.0",
"libskynetnode": "^0.1.4",
"prettier": "^2.8.3",
"prettier": "^2.8.4",
"process": "^0.11.10",
"puppeteer": "^15.5.0",
"random-number-csprng": "^1.0.2",

View File

@ -296,7 +296,7 @@ async function handleInit(aq: ActiveQuery) {
async function handleReady(aq: ActiveQuery) {
const swarm = await getSwarm(aq);
if (swarm.activeRelay) {
if (swarm.activeRelay && swarm.ready) {
aq.respond();
return;
}