fix: add registry to services object in interface

This commit is contained in:
Derrick Hammer 2023-08-31 02:28:01 -04:00
parent eaf35bcd2e
commit 22e486ea18
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,8 @@
import NodeId from "./nodeId.js";
import KeyPairEd25519 from "#ed25519.js";
import { Level } from "level";
import { AbstractLevel } from "abstract-level";
import { P2PService } from "#service/p2p.js";
import { P2PService } from "./service/p2p.js";
import { RegistryService } from "./service/registry.js";
export interface Peer {
id: NodeId;
@ -49,6 +49,7 @@ export interface S5Config {
cacheDb: AbstractLevel<Uint8Array, string, Uint8Array>;
services: {
p2p: P2PService;
registry: RegistryService;
};
}
export interface SignedMessage {