Compare commits
No commits in common. "v0.1.0-develop.8" and "v0.1.0-develop.7" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,10 +1,3 @@
|
||||||
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel-s5/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-04)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* have peerConnectedDefer resolve when we have a connected peer via peerConnected ([beb4215](https://git.lumeweb.com/LumeWeb/kernel-s5/commit/beb42152b829196af26fc70f3189e8ade651c717))
|
|
||||||
|
|
||||||
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel-s5/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-03)
|
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel-s5/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-03)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-s5",
|
"name": "@lumeweb/kernel-s5",
|
||||||
"version": "0.1.0-develop.8",
|
"version": "0.1.0-develop.7",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-s5",
|
"name": "@lumeweb/kernel-s5",
|
||||||
"version": "0.1.0-develop.8",
|
"version": "0.1.0-develop.7",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
||||||
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.44",
|
"@lumeweb/libkernel": "^0.1.0-develop.39",
|
||||||
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
||||||
"whatwg-url": "^13.0.0"
|
"whatwg-url": "^13.0.0"
|
||||||
},
|
},
|
||||||
|
@ -1709,11 +1709,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@lumeweb/libkernel": {
|
"node_modules/@lumeweb/libkernel": {
|
||||||
"version": "0.1.0-develop.44",
|
"version": "0.1.0-develop.39",
|
||||||
"resolved": "https://registry.npmjs.org/@lumeweb/libkernel/-/libkernel-0.1.0-develop.44.tgz",
|
"resolved": "https://registry.npmjs.org/@lumeweb/libkernel/-/libkernel-0.1.0-develop.39.tgz",
|
||||||
"integrity": "sha512-vja0bvr2YZvRs1/HocW4BBJOl39bbXFrJPMDGULqYFnW1GZOGIk3tYmqsv7FRxzMpty9aqX4HHxcrX/7AyGbGQ==",
|
"integrity": "sha512-KqWf/xFXE/wqevLklY4xTu4OJEoh3emSjZGUa/NP/iroh1upX6+rjEonjXKhAt/3XGCyqUOvRQcJ9dNnkFAKhQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libweb": "0.2.0-develop.49",
|
"@lumeweb/libweb": "0.2.0-develop.39",
|
||||||
"emittery": "^1.0.1",
|
"emittery": "^1.0.1",
|
||||||
"p-defer": "^4.0.0"
|
"p-defer": "^4.0.0"
|
||||||
}
|
}
|
||||||
|
@ -1730,9 +1730,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@lumeweb/libportal": {
|
"node_modules/@lumeweb/libportal": {
|
||||||
"version": "0.2.0-develop.23",
|
"version": "0.2.0-develop.21",
|
||||||
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.23.tgz",
|
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.21.tgz",
|
||||||
"integrity": "sha512-KN7KqFu5I+aYDeOL8hhaw1sjFjof8TrrPRvbdGmlQ7RDgkRbqiOQ8LQx2zPteBJPPGJfOtrnWWygBqy9wjuiaw==",
|
"integrity": "sha512-5KbRQEDntkCoh1YITQkpUqFMzmfkaYQGQRCCn5QeM7DN2eIJMzpo4q+lZXFX/ztqueFaSZYMDrSZ4tzAPP+c6w==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libs5": "^0.1.0-develop.44",
|
"@lumeweb/libs5": "^0.1.0-develop.44",
|
||||||
"@noble/curves": "^1.1.0",
|
"@noble/curves": "^1.1.0",
|
||||||
|
@ -1779,12 +1779,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@lumeweb/libweb": {
|
"node_modules/@lumeweb/libweb": {
|
||||||
"version": "0.2.0-develop.49",
|
"version": "0.2.0-develop.39",
|
||||||
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.49.tgz",
|
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.39.tgz",
|
||||||
"integrity": "sha512-KwlluSiWwCHUEr47LEC6la0seMUeOpQ/d06K2eTT8b5ZlZ0lXjvDWJeLQm8azZexldG8nW9ikev5YlBUAWagdA==",
|
"integrity": "sha512-0qqBHXUb1eD5HOHhsycL3kev6osW+NNswWNovC+zpH7CtWeXfy4u+Of4uEA9qq4c80nZDB06FAQF1r03EeAwMg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/community-portals": "^0.1.0-develop.6",
|
"@lumeweb/community-portals": "^0.1.0-develop.6",
|
||||||
"@lumeweb/libportal": "0.2.0-develop.23",
|
"@lumeweb/libportal": "0.2.0-develop.21",
|
||||||
"@lumeweb/node-library-preset": "0.2.7",
|
"@lumeweb/node-library-preset": "0.2.7",
|
||||||
"@noble/curves": "^1.1.0",
|
"@noble/curves": "^1.1.0",
|
||||||
"@noble/hashes": "^1.3.1",
|
"@noble/hashes": "^1.3.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-s5",
|
"name": "@lumeweb/kernel-s5",
|
||||||
"version": "0.1.0-develop.8",
|
"version": "0.1.0-develop.7",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
||||||
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.44",
|
"@lumeweb/libkernel": "^0.1.0-develop.39",
|
||||||
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
||||||
"whatwg-url": "^13.0.0"
|
"whatwg-url": "^13.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -92,7 +92,7 @@ async function setup() {
|
||||||
|
|
||||||
await s5peer.init();
|
await s5peer.init();
|
||||||
node.services.p2p.onNewPeer(s5peer, true);
|
node.services.p2p.onNewPeer(s5peer, true);
|
||||||
node.services.p2p.once("peerConnected", peerConnectedDefer.resolve);
|
peerConnectedDefer.resolve();
|
||||||
});
|
});
|
||||||
|
|
||||||
return peerConnectedDefer.promise;
|
return peerConnectedDefer.promise;
|
||||||
|
@ -115,9 +115,7 @@ async function handleGetRegistryEntry(aq: ActiveQuery) {
|
||||||
|
|
||||||
pubkey = ensureBytes("registry entry ", pubkey, 32);
|
pubkey = ensureBytes("registry entry ", pubkey, 32);
|
||||||
|
|
||||||
if (pubkey[0] !== CID_HASH_TYPES.ED25519) {
|
|
||||||
pubkey = concatBytes(Uint8Array.from([CID_HASH_TYPES.ED25519]), pubkey);
|
pubkey = concatBytes(Uint8Array.from([CID_HASH_TYPES.ED25519]), pubkey);
|
||||||
}
|
|
||||||
|
|
||||||
const ret = await node.services.registry.get(pubkey);
|
const ret = await node.services.registry.get(pubkey);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue