*Move core plugins outside modules folder
This commit is contained in:
parent
f8a698c656
commit
5c85ad2962
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
Loading…
Reference in New Issue