Compare commits

...

2 Commits

2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
"dependencies": { "dependencies": {
"@lumeweb/hyperswarm-web": "git+https://git.lumeweb.com/LumeWeb/hyperswarm-web.git", "@lumeweb/hyperswarm-web": "git+https://git.lumeweb.com/LumeWeb/hyperswarm-web.git",
"@noble/ed25519": "^1.7.3", "@noble/ed25519": "^1.7.3",
"b4a": "^1.6.1", "b4a": "^1.6.2",
"hyperswarm": "^4.3.7", "hyperswarm": "^4.3.7",
"libkmodule": "^0.2.53", "libkmodule": "^0.2.53",
"libskynet": "^0.0.62", "libskynet": "^0.0.62",
@ -33,7 +33,7 @@
"@types/jest": "^28.1.8", "@types/jest": "^28.1.8",
"@types/read": "^0.0.29", "@types/read": "^0.0.29",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"cli-progress": "^3.11.2", "cli-progress": "^3.12.0",
"crypto-browserify": "^3.12.0", "crypto-browserify": "^3.12.0",
"esbuild": "^0.14.54", "esbuild": "^0.14.54",
"inspectpack": "^4.7.1", "inspectpack": "^4.7.1",
@ -50,7 +50,7 @@
"stream-browserify": "^3.0.0", "stream-browserify": "^3.0.0",
"ts-loader": "^9.4.2", "ts-loader": "^9.4.2",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"webpack": "^5.75.0", "webpack": "^5.76.2",
"webpack-cli": "^4.10.0" "webpack-cli": "^4.10.0"
}, },
"browser": { "browser": {

View File

@ -123,7 +123,7 @@ function handleSocketListenEvent(aq: ActiveQuery) {
}; };
socket.on(event, cb); socket.on(event, cb);
socket.on("close", () => { socket.once("close", () => {
socket.off(event, cb); socket.off(event, cb);
respond(); respond();
}); });