Compare commits
5 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 0603ec2394 | |
Derrick Hammer | 38c2a931db | |
Derrick Hammer | b8c359ba58 | |
Derrick Hammer | bd04087a97 | |
Derrick Hammer | beb42152b8 |
|
@ -1,3 +1,10 @@
|
|||
# [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)
|
||||
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-s5",
|
||||
"version": "0.1.0-develop.7",
|
||||
"version": "0.1.0-develop.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/kernel-s5",
|
||||
"version": "0.1.0-develop.7",
|
||||
"version": "0.1.0-develop.8",
|
||||
"dependencies": {
|
||||
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
||||
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.39",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.44",
|
||||
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
||||
"whatwg-url": "^13.0.0"
|
||||
},
|
||||
|
@ -1709,11 +1709,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libkernel": {
|
||||
"version": "0.1.0-develop.39",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libkernel/-/libkernel-0.1.0-develop.39.tgz",
|
||||
"integrity": "sha512-KqWf/xFXE/wqevLklY4xTu4OJEoh3emSjZGUa/NP/iroh1upX6+rjEonjXKhAt/3XGCyqUOvRQcJ9dNnkFAKhQ==",
|
||||
"version": "0.1.0-develop.44",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libkernel/-/libkernel-0.1.0-develop.44.tgz",
|
||||
"integrity": "sha512-vja0bvr2YZvRs1/HocW4BBJOl39bbXFrJPMDGULqYFnW1GZOGIk3tYmqsv7FRxzMpty9aqX4HHxcrX/7AyGbGQ==",
|
||||
"dependencies": {
|
||||
"@lumeweb/libweb": "0.2.0-develop.39",
|
||||
"@lumeweb/libweb": "0.2.0-develop.49",
|
||||
"emittery": "^1.0.1",
|
||||
"p-defer": "^4.0.0"
|
||||
}
|
||||
|
@ -1730,9 +1730,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libportal": {
|
||||
"version": "0.2.0-develop.21",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.21.tgz",
|
||||
"integrity": "sha512-5KbRQEDntkCoh1YITQkpUqFMzmfkaYQGQRCCn5QeM7DN2eIJMzpo4q+lZXFX/ztqueFaSZYMDrSZ4tzAPP+c6w==",
|
||||
"version": "0.2.0-develop.23",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.23.tgz",
|
||||
"integrity": "sha512-KN7KqFu5I+aYDeOL8hhaw1sjFjof8TrrPRvbdGmlQ7RDgkRbqiOQ8LQx2zPteBJPPGJfOtrnWWygBqy9wjuiaw==",
|
||||
"dependencies": {
|
||||
"@lumeweb/libs5": "^0.1.0-develop.44",
|
||||
"@noble/curves": "^1.1.0",
|
||||
|
@ -1779,12 +1779,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libweb": {
|
||||
"version": "0.2.0-develop.39",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.39.tgz",
|
||||
"integrity": "sha512-0qqBHXUb1eD5HOHhsycL3kev6osW+NNswWNovC+zpH7CtWeXfy4u+Of4uEA9qq4c80nZDB06FAQF1r03EeAwMg==",
|
||||
"version": "0.2.0-develop.49",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.49.tgz",
|
||||
"integrity": "sha512-KwlluSiWwCHUEr47LEC6la0seMUeOpQ/d06K2eTT8b5ZlZ0lXjvDWJeLQm8azZexldG8nW9ikev5YlBUAWagdA==",
|
||||
"dependencies": {
|
||||
"@lumeweb/community-portals": "^0.1.0-develop.6",
|
||||
"@lumeweb/libportal": "0.2.0-develop.21",
|
||||
"@lumeweb/libportal": "0.2.0-develop.23",
|
||||
"@lumeweb/node-library-preset": "0.2.7",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/kernel-s5",
|
||||
"version": "0.1.0-develop.7",
|
||||
"version": "0.1.0-develop.8",
|
||||
"type": "module",
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
|
@ -15,7 +15,7 @@
|
|||
"dependencies": {
|
||||
"@lumeweb/kernel-protomux-client": "^0.0.2-develop.20",
|
||||
"@lumeweb/kernel-swarm-client": "^0.1.0-develop.9",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.39",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.44",
|
||||
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.18",
|
||||
"whatwg-url": "^13.0.0"
|
||||
},
|
||||
|
|
|
@ -92,7 +92,7 @@ async function setup() {
|
|||
|
||||
await s5peer.init();
|
||||
node.services.p2p.onNewPeer(s5peer, true);
|
||||
peerConnectedDefer.resolve();
|
||||
node.services.p2p.once("peerConnected", peerConnectedDefer.resolve);
|
||||
});
|
||||
|
||||
return peerConnectedDefer.promise;
|
||||
|
@ -115,7 +115,9 @@ async function handleGetRegistryEntry(aq: ActiveQuery) {
|
|||
|
||||
pubkey = ensureBytes("registry entry ", pubkey, 32);
|
||||
|
||||
pubkey = concatBytes(Uint8Array.from([CID_HASH_TYPES.ED25519]), pubkey);
|
||||
if (pubkey[0] !== CID_HASH_TYPES.ED25519) {
|
||||
pubkey = concatBytes(Uint8Array.from([CID_HASH_TYPES.ED25519]), pubkey);
|
||||
}
|
||||
|
||||
const ret = await node.services.registry.get(pubkey);
|
||||
|
||||
|
|
Loading…
Reference in New Issue