Compare commits

...

3 Commits

4 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,5 @@
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-07-29)
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-24) # [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-24)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/kernel-swarm", "name": "@lumeweb/kernel-swarm",
"version": "0.1.0-develop.4", "version": "0.1.0-develop.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/kernel-swarm", "name": "@lumeweb/kernel-swarm",
"version": "0.1.0-develop.4", "version": "0.1.0-develop.5",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@lumeweb/hyperswarm-web": "0.0.2-develop.8", "@lumeweb/hyperswarm-web": "0.0.2-develop.8",

View File

@ -38,7 +38,7 @@
"patch-package": "^7.0.0", "patch-package": "^7.0.0",
"presetter": "*" "presetter": "*"
}, },
"version": "0.1.0-develop.4", "version": "0.1.0-develop.5",
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"overrides": { "overrides": {
"buffer": "^6.0.3" "buffer": "^6.0.3"

View File

@ -440,7 +440,8 @@ async function handleListenConnections(aq: ActiveQuery) {
const swarmEvent = swarmEvents.get(swarmId as number)?.events; const swarmEvent = swarmEvents.get(swarmId as number)?.events;
if (!swarmEvent) { if (!swarmEvent) {
logErr("swarm event object is missing"); aq.reject("swarm event object is missing");
return;
} }
swarmEvent?.on("connection", listener); swarmEvent?.on("connection", listener);