Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 3080630daa | |
Derrick Hammer | ee8ef79565 | |
Derrick Hammer | bd3cfa3e7a |
|
@ -1,3 +1,5 @@
|
||||||
|
# [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.1",
|
"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.1",
|
"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.1",
|
"version": "0.1.0-develop.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -15,11 +15,8 @@ export class NetworkRegistryClient extends Client {
|
||||||
return this.callModuleReturn("getNetworkTypes", { module });
|
return this.callModuleReturn("getNetworkTypes", { module });
|
||||||
}
|
}
|
||||||
|
|
||||||
public async registerNetwork(module: string) {
|
public async registerNetwork(types: string[]) {
|
||||||
const bag = this.getBound(module);
|
return this.callModuleReturn("registerNetwork", { types });
|
||||||
|
|
||||||
const ret = await bag.callModule("register");
|
|
||||||
this.handleError(ret);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue