Compare commits
4 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | befa286bb3 | |
Derrick Hammer | d216f2b43e | |
Derrick Hammer | 4e6f1b3ad3 | |
Derrick Hammer | d9af5bd015 |
|
@ -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)
|
# [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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libs5",
|
"name": "@lumeweb/libs5",
|
||||||
"version": "0.1.0-develop.27",
|
"version": "0.1.0-develop.28",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/libs5",
|
"name": "@lumeweb/libs5",
|
||||||
"version": "0.1.0-develop.27",
|
"version": "0.1.0-develop.28",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@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/libs5",
|
"name": "@lumeweb/libs5",
|
||||||
"version": "0.1.0-develop.27",
|
"version": "0.1.0-develop.28",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -46,7 +46,7 @@ export class P2PService extends EventEmitter {
|
||||||
this.nodeKeyPair = node.config.keyPair;
|
this.nodeKeyPair = node.config.keyPair;
|
||||||
this.logger = node.logger;
|
this.logger = node.logger;
|
||||||
|
|
||||||
node.config.services.p2p = this;
|
node.services.p2p = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private _hashQueryRoutingTable: Map<Multihash, Set<NodeId>> = new Map();
|
private _hashQueryRoutingTable: Map<Multihash, Set<NodeId>> = new Map();
|
||||||
|
|
|
@ -30,6 +30,7 @@ export class RegistryService {
|
||||||
constructor(node: S5Node) {
|
constructor(node: S5Node) {
|
||||||
this.node = node;
|
this.node = node;
|
||||||
this.logger = this.node.logger;
|
this.logger = this.node.logger;
|
||||||
|
node.services.registry = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
async init(): Promise<void> {
|
async init(): Promise<void> {
|
||||||
|
|
Loading…
Reference in New Issue