Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 10e03b6065 chore(release): 0.1.0-develop.6 [skip ci]
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-07-23)

### Bug Fixes

* array handling ([dc50c7a](dc50c7a068))
2023-07-23 00:49:44 +00:00
Derrick Hammer 4454e8efaa
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 20:48:47 -04:00
Derrick Hammer dc50c7a068
fix: array handling 2023-07-22 20:48:43 -04:00
4 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-07-23)
### Bug Fixes
* array handling ([dc50c7a](https://git.lumeweb.com/LumeWeb/kernel-network-registry/commit/dc50c7a068b03b6c48a72884693e1989e9ba9dec))
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-07-21)
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-19)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/kernel-network-registry",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/kernel-network-registry",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.24"
},

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/kernel-network-registry",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"type": "module",
"readme": "ERROR: No README data found!",
"repository": {

View File

@ -33,9 +33,9 @@ function handleRegisterNetwork(aq: ActiveQuery) {
let network = networks.get(aq.domain);
if (network) {
aq.callerInput.type.forEach((item) => network?.add(item));
[...aq.callerInput.type].forEach((item) => network?.add(item));
} else {
networks.set(aq.domain, new Set([aq.callerInput.types]));
networks.set(aq.domain, new Set([...aq.callerInput.types]));
}
aq.respond();