Compare commits
No commits in common. "v0.1.0-develop.3" and "v0.1.0-develop.2" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,10 +1,3 @@
|
||||||
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-07-19)
|
|
||||||
|
|
||||||
|
|
||||||
### Features
|
|
||||||
|
|
||||||
* add getNetworksByType ([2ec79e3](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/commit/2ec79e3242f1fd580973c5d18dab2c2b19d1eece))
|
|
||||||
|
|
||||||
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-19)
|
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-19)
|
||||||
|
|
||||||
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/compare/v0.0.1...v0.1.0-develop.1) (2023-07-19)
|
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-network-registry-client/compare/v0.0.1...v0.1.0-develop.1) (2023-07-19)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-network-registry-client",
|
"name": "@lumeweb/kernel-network-registry-client",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-network-registry-client",
|
"name": "@lumeweb/kernel-network-registry-client",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.2",
|
||||||
"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-client",
|
"name": "@lumeweb/kernel-network-registry-client",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Client, factory } from "@lumeweb/libkernel/module";
|
import { Client, factory } from "@lumeweb/libkernel/module";
|
||||||
|
|
||||||
const MODULE = "zduHWobyZVtasq6kwnCRdAKyUYrTkDBsujrQZgot3Hnxv6z5aeuxjd3Jgw";
|
const MODULE = "zduFYRFUur1hBiW1u18dqQsn2w7AiQhBmgd7PiXsX71AtAJHykhNXsUUpw";
|
||||||
|
|
||||||
export class NetworkRegistryClient extends Client {
|
export class NetworkRegistryClient extends Client {
|
||||||
public async registerType(name: string) {
|
public async registerType(name: string) {
|
||||||
|
@ -18,10 +18,6 @@ export class NetworkRegistryClient extends Client {
|
||||||
public async registerNetwork(types: string[]) {
|
public async registerNetwork(types: string[]) {
|
||||||
return this.callModuleReturn("registerNetwork", { types });
|
return this.callModuleReturn("registerNetwork", { types });
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getNetworksByType(type: string) {
|
|
||||||
return this.callModuleReturn("getNetworksByType", { type });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createClient = factory<NetworkRegistryClient>(
|
export const createClient = factory<NetworkRegistryClient>(
|
||||||
|
|
Loading…
Reference in New Issue