Compare commits

..

4 Commits

Author SHA1 Message Date
semantic-release-bot befa286bb3 chore(release): 0.1.0-develop.28 [skip ci]
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-09-02)

### Bug Fixes

* set node registry service in service constructor ([d9af5bd](d9af5bd015))
2023-09-02 00:21:25 +00:00
Derrick Hammer d216f2b43e
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:20:37 -04:00
Derrick Hammer 4e6f1b3ad3
refactor: use node.services.p2p 2023-09-01 20:20:30 -04:00
Derrick Hammer d9af5bd015
fix: set node registry service in service constructor 2023-09-01 20:20:08 -04:00
5 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-09-02)
### Bug Fixes
* set node registry service in service constructor ([d9af5bd](https://git.lumeweb.com/LumeWeb/libs5/commit/d9af5bd0151c40fab1385e966f87e59bef6fd5a3))
# [0.1.0-develop.27](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.26...v0.1.0-develop.27) (2023-09-01)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.27",
"version": "0.1.0-develop.28",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.27",
"version": "0.1.0-develop.28",
"dependencies": {
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.27",
"version": "0.1.0-develop.28",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -46,7 +46,7 @@ export class P2PService extends EventEmitter {
this.nodeKeyPair = node.config.keyPair;
this.logger = node.logger;
node.config.services.p2p = this;
node.services.p2p = this;
}
private _hashQueryRoutingTable: Map<Multihash, Set<NodeId>> = new Map();

View File

@ -30,6 +30,7 @@ export class RegistryService {
constructor(node: S5Node) {
this.node = node;
this.logger = this.node.logger;
node.services.registry = this;
}
async init(): Promise<void> {