From 16d0c758f38738d6ff4c6bd119d301d4bb844e17 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 31 Aug 2023 11:10:15 -0400 Subject: [PATCH] refactor: export NodeId --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 8e9319c..00fc522 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,6 +3,7 @@ import type { SignedRegistryEntry } from "#service/registry.js"; import { ed25519 } from "@noble/curves/ed25519"; import KeyPairEd25519 from "#ed25519.js"; import { S5NodeConfig } from "./types.js"; +import NodeId from "#nodeId.js"; export * from "./types.js"; export { @@ -11,6 +12,7 @@ export { createTransportPeer, } from "./transports/index.js"; export type { SignedRegistryEntry }; +export { NodeId }; export function createNode(config: S5NodeConfig) { return new S5Node(config);