Compare commits

..

No commits in common. "v0.0.2-develop.10" and "v0.0.2-develop.9" have entirely different histories.

4 changed files with 5 additions and 11 deletions

View File

@ -1,10 +1,3 @@
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-22)
### Bug Fixes
* remove mutex and don't make cb async to prevent race condition ([04c7292](https://git.lumeweb.com/LumeWeb/kernel-swarm/commit/04c7292e44a9ad272543ff241dad72af4ce5ccaa))
## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-12)
## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-11)

4
npm-shrinkwrap.json generated
View File

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

View File

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

View File

@ -165,7 +165,8 @@ function handleSocketListenEvent(aq: ActiveQuery) {
aq.respond();
};
const cb = (data: Buffer) => {
const cb = async (data: Buffer) => {
await socket.mutex?.waitForUnlock();
if (responded) {
return;
}