Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 17b6aa5cc8 | |
Derrick Hammer | 2a30fd69f0 | |
Derrick Hammer | c5dd605571 |
|
@ -1,3 +1,10 @@
|
|||
# [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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* inconsistent input use on handleGetNetworksByType ([c5dd605](https://git.lumeweb.com/LumeWeb/kernel-network-registry/commit/c5dd60557129586fc0c0afb1a0f2c93e28deebcf))
|
||||
|
||||
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-07-19)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-network-registry",
|
||||
"version": "0.1.0-develop.3",
|
||||
"version": "0.1.0-develop.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/kernel-network-registry",
|
||||
"version": "0.1.0-develop.3",
|
||||
"version": "0.1.0-develop.4",
|
||||
"dependencies": {
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.20"
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-network-registry",
|
||||
"version": "0.1.0-develop.3",
|
||||
"version": "0.1.0-develop.4",
|
||||
"type": "module",
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
|
|
|
@ -63,7 +63,7 @@ function handleGetNetworksByType(aq: ActiveQuery) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!types.has(aq.callerInput)) {
|
||||
if (!types.has(aq.callerInput.type)) {
|
||||
aq.reject("type not registered");
|
||||
return;
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ function handleGetNetworksByType(aq: ActiveQuery) {
|
|||
aq.respond(
|
||||
[...networks.entries()]
|
||||
.filter((item) => {
|
||||
return item[1].has(aq.callerInput);
|
||||
return item[1].has(aq.callerInput.type);
|
||||
})
|
||||
.map((item) => item[0]),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue