Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 10e03b6065 | |
Derrick Hammer | 4454e8efaa | |
Derrick Hammer | dc50c7a068 |
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue