From 7ec8bb79dbc0a45b2f550db673a1f1607bb917c5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 19 Apr 2023 18:39:11 -0400 Subject: [PATCH] fix: change ed25519-keygen import --- 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 1de0f7c..b7850a8 100644 --- a/src/lib/seed.ts +++ b/src/lib/seed.ts @@ -1,4 +1,4 @@ -import { HDKey } from "ed25519-keygen/hdkey"; +import { HDKey } from "ed25519-keygen/dist/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 d70e706..bdd1fc5 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/hdkey"; +import type { HDKey } from "ed25519-keygen/dist/hdkey"; import corePlugins from "../plugins"; import Util from "./plugin/util";