Compare commits

..

No commits in common. "v0.1.0-develop.2" and "v0.1.0-develop.1" have entirely different histories.

4 changed files with 5 additions and 12 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-19)
### Bug Fixes
* rename handleGetNetworkType ([d9163a4](https://git.lumeweb.com/LumeWeb/kernel-network-registry/commit/d9163a4e530745d36a26ea8cbad5fb8ef35c3b93))
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-network-registry/compare/v0.0.1...v0.1.0-develop.1) (2023-07-19)

4
npm-shrinkwrap.json generated
View File

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

View File

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

View File

@ -5,7 +5,7 @@ const networks: Map<string, Set<string>> = new Map<string, Set<string>>();
addHandler("registerType", handleRegisterType);
addHandler("getTypes", handleGetTypes);
addHandler("getNetworkTypes", handleGetNetworkTypes);
addHandler("getNetworkTypes", handleGetNetworkType);
addHandler("registerNetwork", handleRegisterNetwork);
function handleRegisterType(aq: ActiveQuery) {
@ -40,7 +40,7 @@ function handleRegisterNetwork(aq: ActiveQuery) {
aq.respond();
}
function handleGetNetworkTypes(aq: ActiveQuery) {
function handleGetNetworkType(aq: ActiveQuery) {
if (!("module" in aq.callerInput)) {
aq.reject("module missing");
return;