Compare commits
6 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | b7b7d84a9e | |
Derrick Hammer | 39497a6391 | |
Derrick Hammer | 7d44208132 | |
Derrick Hammer | 1c4da69806 | |
Derrick Hammer | 4a73a2779d | |
Derrick Hammer | 27ba637ac2 |
|
@ -1,3 +1,12 @@
|
||||||
|
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-02)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* missing return ([7d44208](https://git.lumeweb.com/LumeWeb/kernel/commit/7d442081322aad0bab186fa57476ab15fc07e30c))
|
||||||
|
* need to call swarm not peerDiscoveryRegistry ([27ba637](https://git.lumeweb.com/LumeWeb/kernel/commit/27ba637ac224bcac76635bc8659d76d0472f342d))
|
||||||
|
* use message.data not message.data.data ([4a73a27](https://git.lumeweb.com/LumeWeb/kernel/commit/4a73a2779d3a8020f06f0d8d75c386abf66e15b1))
|
||||||
|
|
||||||
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-02)
|
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-02)
|
||||||
|
|
||||||
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-02)
|
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-02)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.7",
|
"version": "0.1.0-develop.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.7",
|
"version": "0.1.0-develop.8",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "0.1.0-develop.38"
|
"@lumeweb/libkernel": "0.1.0-develop.38"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.7",
|
"version": "0.1.0-develop.8",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -21,11 +21,7 @@ export async function networkReady() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const resolvers = await internalModuleCall(CORE_MODULES.swarm, "getRelays");
|
||||||
const resolvers = await internalModuleCall(
|
|
||||||
CORE_MODULES.peerDiscoveryRegistry,
|
|
||||||
"getRelays",
|
|
||||||
);
|
|
||||||
|
|
||||||
return resolvers.length > 0;
|
return resolvers.length > 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -729,7 +729,7 @@ export async function internalModuleCall(
|
||||||
callDefer.reject(message.err);
|
callDefer.reject(message.err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
callDefer.resolve(message.data.data);
|
callDefer.resolve(message.data);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -2,16 +2,16 @@ const DEFAULT_MODULE_REGISTRY = new Map<string, string>(
|
||||||
Object.entries({
|
Object.entries({
|
||||||
// swarm
|
// swarm
|
||||||
z3o47ar8NBrnaEneBVzZD7QuMRMXjDtQDCpt4xP6mhsdw1cjnJ8mQKfNKGv3:
|
z3o47ar8NBrnaEneBVzZD7QuMRMXjDtQDCpt4xP6mhsdw1cjnJ8mQKfNKGv3:
|
||||||
"zduKEY6Z4xJ4mraWy3hCbx1TmBxueCtHCFdnjjoiX7fGJdrZAcJHTyJmbu",
|
"zduTR1y921Erd52dYq1DKLpA9J6sw8g8KPfUdbkqmwdXDGKCjQKL4SHvDd",
|
||||||
// peerDiscoveryRegistry
|
// peerDiscoveryRegistry
|
||||||
z3o47aaLSspwrXzmu5mjuHPwaq3gRbyYQ3jL9RM1ammuHGB7uxSFBK2dRjqR:
|
z3o47aaLSspwrXzmu5mjuHPwaq3gRbyYQ3jL9RM1ammuHGB7uxSFBK2dRjqR:
|
||||||
"z3o47aaLSspwrXzmu5mjuHPwaq3gRbyYQ3jL9RM1ammuHGB7uxSFBK2dRjqR",
|
"zduJceGhVmwR6wf2xUhJp9juU6rabynbi8mFwmBcKEaP8nc1mXyrDyRMmy",
|
||||||
// ircPeerDiscovery
|
// ircPeerDiscovery
|
||||||
z3o47admQjBj2QUrwHhvTB3nV1cBwQ5ZaKF7P5WELXeRyzzvBZr33QMJWTLs:
|
z3o47admQjBj2QUrwHhvTB3nV1cBwQ5ZaKF7P5WELXeRyzzvBZr33QMJWTLs:
|
||||||
"zduLx8mxrSWBPpTby1n9GtvxmCu6DwK9bsu26AgxesJmeEcWrVAF4NX7QK",
|
"zduLx8mxrSWBPpTby1n9GtvxmCu6DwK9bsu26AgxesJmeEcWrVAF4NX7QK",
|
||||||
// s5
|
// s5
|
||||||
z3o47hB2zLuvBMFaWa55SmbFQe3u97dWUG4fssXXTEcT4ZvnPkPaRF14b1EF:
|
z3o47hB2zLuvBMFaWa55SmbFQe3u97dWUG4fssXXTEcT4ZvnPkPaRF14b1EF:
|
||||||
"zduPehBQc2edPXDBsxo9CM6pTnS6bpDx1MBS92GH5wLAqMnErsVKhnobD1",
|
"zduTZ7NBNtGxQxbAaDNcp7d1xta7y2MXKnjvVA3m29ohwBeeLHL1GieTPd",
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
const REGISTRY_ITEM_ID = "registry";
|
const REGISTRY_ITEM_ID = "registry";
|
||||||
|
@ -28,7 +28,7 @@ export function getSavedRegistryEntry(pubkey: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DEFAULT_MODULE_REGISTRY.has(pubkey)) {
|
if (DEFAULT_MODULE_REGISTRY.has(pubkey)) {
|
||||||
DEFAULT_MODULE_REGISTRY.get(pubkey) as string;
|
return DEFAULT_MODULE_REGISTRY.get(pubkey) as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue