*Move core plugins outside modules folder

This commit is contained in:
Derrick Hammer 2023-01-07 22:58:06 -05:00
parent f8a698c656
commit 5c85ad2962
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
4 changed files with 6 additions and 6 deletions

View File

@ -8,9 +8,9 @@ import path from "path";
import type { Logger } from "pino";
import { getHDKey, getSeed } from "../lib/seed.js";
import pluginRpc from "./plugins/rpc";
import pluginCore from "./plugins/core";
import pluginDht from "./plugins/dht";
import pluginRpc from "../plugins/rpc";
import pluginCore from "../plugins/core";
import pluginDht from "../plugins/dht";
import type Config from "@lumeweb/cfg";
import EventEmitter2 from "eventemitter2";
import log from "../log.js";

View File

@ -1,4 +1,4 @@
import { getRpcServer } from "../rpc/server";
import { getRpcServer } from "../modules/rpc/server";
import {
Plugin,
PluginAPI,
@ -8,8 +8,8 @@ import {
RPCRequest,
RPCResponse,
} from "@lumeweb/relay-types";
import { getRpcByPeer } from "../rpc";
import { get as getSwarm, LUMEWEB_TOPIC_HASH } from "../swarm";
import { getRpcByPeer } from "../modules/rpc";
import { get as getSwarm, LUMEWEB_TOPIC_HASH } from "../modules/swarm";
import b4a from "b4a";
import pTimeout, { ClearablePromise } from "p-timeout";