*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 type { Logger } from "pino";
|
||||||
|
|
||||||
import { getHDKey, getSeed } from "../lib/seed.js";
|
import { getHDKey, getSeed } from "../lib/seed.js";
|
||||||
import pluginRpc from "./plugins/rpc";
|
import pluginRpc from "../plugins/rpc";
|
||||||
import pluginCore from "./plugins/core";
|
import pluginCore from "../plugins/core";
|
||||||
import pluginDht from "./plugins/dht";
|
import pluginDht from "../plugins/dht";
|
||||||
import type Config from "@lumeweb/cfg";
|
import type Config from "@lumeweb/cfg";
|
||||||
import EventEmitter2 from "eventemitter2";
|
import EventEmitter2 from "eventemitter2";
|
||||||
import log from "../log.js";
|
import log from "../log.js";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { getRpcServer } from "../rpc/server";
|
import { getRpcServer } from "../modules/rpc/server";
|
||||||
import {
|
import {
|
||||||
Plugin,
|
Plugin,
|
||||||
PluginAPI,
|
PluginAPI,
|
||||||
|
@ -8,8 +8,8 @@ import {
|
||||||
RPCRequest,
|
RPCRequest,
|
||||||
RPCResponse,
|
RPCResponse,
|
||||||
} from "@lumeweb/relay-types";
|
} from "@lumeweb/relay-types";
|
||||||
import { getRpcByPeer } from "../rpc";
|
import { getRpcByPeer } from "../modules/rpc";
|
||||||
import { get as getSwarm, LUMEWEB_TOPIC_HASH } from "../swarm";
|
import { get as getSwarm, LUMEWEB_TOPIC_HASH } from "../modules/swarm";
|
||||||
import b4a from "b4a";
|
import b4a from "b4a";
|
||||||
import pTimeout, { ClearablePromise } from "p-timeout";
|
import pTimeout, { ClearablePromise } from "p-timeout";
|
||||||
|
|
Loading…
Reference in New Issue