Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 616dc63bcf chore(release): 0.0.2-develop.14 [skip ci]
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-swarm-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-07-22)

### Bug Fixes

* missing return ([8380254](8380254638))
2023-07-22 12:32:58 +00:00
Derrick Hammer 84ab91442a
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 08:32:03 -04:00
Derrick Hammer 8380254638
fix: missing return 2023-07-22 08:31:59 -04:00
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-swarm-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-07-22)
### Bug Fixes
* missing return ([8380254](https://git.lumeweb.com/LumeWeb/kernel-swarm-client/commit/8380254638dde806ce38d3406ea6b4127cb2444b))
## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-swarm-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-22) ## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-swarm-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-22)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/kernel-swarm-client", "name": "@lumeweb/kernel-swarm-client",
"version": "0.0.2-develop.13", "version": "0.0.2-develop.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/kernel-swarm-client", "name": "@lumeweb/kernel-swarm-client",
"version": "0.0.2-develop.13", "version": "0.0.2-develop.14",
"dependencies": { "dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.9", "@lumeweb/libkernel": "^0.1.0-develop.9",
"async-mutex": "^0.4.0", "async-mutex": "^0.4.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/kernel-swarm-client", "name": "@lumeweb/kernel-swarm-client",
"version": "0.0.2-develop.13", "version": "0.0.2-develop.14",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -233,6 +233,7 @@ export class Socket extends Client {
([exists]: ErrTuple) => { ([exists]: ErrTuple) => {
if (!exists) { if (!exists) {
logErr("tried to write to closed socket"); logErr("tried to write to closed socket");
return;
} }
this.callModule("socketWrite", { id: this.id, message }); this.callModule("socketWrite", { id: this.id, message });
}, },
@ -245,6 +246,7 @@ export class Socket extends Client {
([exists]: ErrTuple) => { ([exists]: ErrTuple) => {
if (!exists) { if (!exists) {
logErr("tried to close a closed socket"); logErr("tried to close a closed socket");
return;
} }
this.callModule("socketClose", { id: this.id }); this.callModule("socketClose", { id: this.id });
}, },