fix: fix imports
This commit is contained in:
parent
bfa7bd4139
commit
9305f3d42c
|
@ -1,8 +1,8 @@
|
||||||
import { S5Node } from "#node.js";
|
import { S5Node } from "#node.js";
|
||||||
import type { S5NodeConfig } from "#node.js";
|
|
||||||
import type { SignedRegistryEntry } from "#service/registry.js";
|
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";
|
||||||
|
|
||||||
export * from "./types.js";
|
export * from "./types.js";
|
||||||
export {
|
export {
|
||||||
|
@ -10,7 +10,7 @@ export {
|
||||||
isTransport,
|
isTransport,
|
||||||
createTransportPeer,
|
createTransportPeer,
|
||||||
} from "./transports/index.js";
|
} from "./transports/index.js";
|
||||||
export type { S5NodeConfig, SignedRegistryEntry };
|
export type { SignedRegistryEntry };
|
||||||
|
|
||||||
export function createNode(config: S5NodeConfig) {
|
export function createNode(config: S5NodeConfig) {
|
||||||
return new S5Node(config);
|
return new S5Node(config);
|
||||||
|
|
Loading…
Reference in New Issue