Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 6b3f1122a2 chore(release): 0.1.0-develop.2 [skip ci]
# [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](d9163a4e53))
2023-07-19 15:19:41 +00:00
Derrick Hammer 8bac2e4aab
Merge remote-tracking branch 'origin/develop' into develop 2023-07-19 11:18:42 -04:00
Derrick Hammer d9163a4e53
fix: rename handleGetNetworkType 2023-07-19 11:18:34 -04:00
4 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
# [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.1",
"version": "0.1.0-develop.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/kernel-network-registry",
"version": "0.1.0-develop.1",
"version": "0.1.0-develop.2",
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.20"
},

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/kernel-network-registry",
"version": "0.1.0-develop.1",
"version": "0.1.0-develop.2",
"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", handleGetNetworkType);
addHandler("getNetworkTypes", handleGetNetworkTypes);
addHandler("registerNetwork", handleRegisterNetwork);
function handleRegisterType(aq: ActiveQuery) {
@ -40,7 +40,7 @@ function handleRegisterNetwork(aq: ActiveQuery) {
aq.respond();
}
function handleGetNetworkType(aq: ActiveQuery) {
function handleGetNetworkTypes(aq: ActiveQuery) {
if (!("module" in aq.callerInput)) {
aq.reject("module missing");
return;