From 22e486ea18bed2255fc3a32eb062a8eb07fef3fc Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 31 Aug 2023 02:28:01 -0400 Subject: [PATCH] fix: add registry to services object in interface --- src/types.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 996d37a..cc3b290 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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; services: { p2p: P2PService; + registry: RegistryService; }; } export interface SignedMessage {