fix: use exports from package

This commit is contained in:
Derrick Hammer 2023-07-07 08:34:55 -04:00
parent 4ac844d509
commit 1976659633
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { HDKey } from "ed25519-keygen/dist/hdkey"; import { HDKey } from "ed25519-keygen/hdkey";
import config from "../config"; import config from "../config";
import * as bip39 from "@scure/bip39"; import * as bip39 from "@scure/bip39";
import { wordlist } from "@scure/bip39/wordlists/english"; import { wordlist } from "@scure/bip39/wordlists/english";

View File

@ -17,7 +17,7 @@ import {
ProtocolManager, ProtocolManager,
} from "./swarm.js"; } from "./swarm.js";
import { get as getApp } from "./app.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 corePlugins from "../plugins";
import Util from "./plugin/util"; import Util from "./plugin/util";