From 19766596336ac4392e960d7d31baf313d0126b69 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 7 Jul 2023 08:34:55 -0400 Subject: [PATCH] fix: use exports from package --- src/lib/seed.ts | 2 +- src/modules/plugin.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/seed.ts b/src/lib/seed.ts index b7850a8..1de0f7c 100644 --- a/src/lib/seed.ts +++ b/src/lib/seed.ts @@ -1,4 +1,4 @@ -import { HDKey } from "ed25519-keygen/dist/hdkey"; +import { HDKey } from "ed25519-keygen/hdkey"; import config from "../config"; import * as bip39 from "@scure/bip39"; import { wordlist } from "@scure/bip39/wordlists/english"; diff --git a/src/modules/plugin.ts b/src/modules/plugin.ts index 1787b1b..6c8c2ee 100644 --- a/src/modules/plugin.ts +++ b/src/modules/plugin.ts @@ -17,7 +17,7 @@ import { ProtocolManager, } from "./swarm.js"; import { get as getApp } from "./app.js"; -import type { HDKey } from "ed25519-keygen/dist/hdkey"; +import type { HDKey } from "ed25519-keygen/hdkey"; import corePlugins from "../plugins"; import Util from "./plugin/util";