refactor: export NodeId
This commit is contained in:
parent
9305f3d42c
commit
16d0c758f3
|
@ -3,6 +3,7 @@ import type { SignedRegistryEntry } from "#service/registry.js";
|
||||||
import { ed25519 } from "@noble/curves/ed25519";
|
import { ed25519 } from "@noble/curves/ed25519";
|
||||||
import KeyPairEd25519 from "#ed25519.js";
|
import KeyPairEd25519 from "#ed25519.js";
|
||||||
import { S5NodeConfig } from "./types.js";
|
import { S5NodeConfig } from "./types.js";
|
||||||
|
import NodeId from "#nodeId.js";
|
||||||
|
|
||||||
export * from "./types.js";
|
export * from "./types.js";
|
||||||
export {
|
export {
|
||||||
|
@ -11,6 +12,7 @@ export {
|
||||||
createTransportPeer,
|
createTransportPeer,
|
||||||
} from "./transports/index.js";
|
} from "./transports/index.js";
|
||||||
export type { SignedRegistryEntry };
|
export type { SignedRegistryEntry };
|
||||||
|
export { NodeId };
|
||||||
|
|
||||||
export function createNode(config: S5NodeConfig) {
|
export function createNode(config: S5NodeConfig) {
|
||||||
return new S5Node(config);
|
return new S5Node(config);
|
||||||
|
|
Loading…
Reference in New Issue