Compare commits
No commits in common. "v0.1.0-develop.4" and "v0.1.0-develop.3" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,10 +1,3 @@
|
||||||
# [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)
|
# [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",
|
"name": "@lumeweb/kernel-network-registry",
|
||||||
"version": "0.1.0-develop.4",
|
"version": "0.1.0-develop.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-network-registry",
|
"name": "@lumeweb/kernel-network-registry",
|
||||||
"version": "0.1.0-develop.4",
|
"version": "0.1.0-develop.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.20"
|
"@lumeweb/libkernel": "^0.1.0-develop.20"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-network-registry",
|
"name": "@lumeweb/kernel-network-registry",
|
||||||
"version": "0.1.0-develop.4",
|
"version": "0.1.0-develop.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -63,7 +63,7 @@ function handleGetNetworksByType(aq: ActiveQuery) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!types.has(aq.callerInput.type)) {
|
if (!types.has(aq.callerInput)) {
|
||||||
aq.reject("type not registered");
|
aq.reject("type not registered");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ function handleGetNetworksByType(aq: ActiveQuery) {
|
||||||
aq.respond(
|
aq.respond(
|
||||||
[...networks.entries()]
|
[...networks.entries()]
|
||||||
.filter((item) => {
|
.filter((item) => {
|
||||||
return item[1].has(aq.callerInput.type);
|
return item[1].has(aq.callerInput);
|
||||||
})
|
})
|
||||||
.map((item) => item[0]),
|
.map((item) => item[0]),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue