refactor: import all needed clients

This commit is contained in:
Derrick Hammer 2023-07-20 12:43:02 -04:00
parent 8b0c52a4a6
commit 501b208ade
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 19 additions and 2 deletions

View File

@ -1,11 +1,28 @@
import { createClient as createDnsClient } from "@lumeweb/kernel-dns-client"; import { createClient as createDnsClient } from "@lumeweb/kernel-dns-client";
import { createClient as createIpfsClient } from "@lumeweb/kernel-ipfs-client"; import {
createClient as createIpfsClient,
MODULE as IPFS_MODULE,
} from "@lumeweb/kernel-ipfs-client";
import { createClient as createSwarmClient } from "@lumeweb/kernel-swarm-client"; import { createClient as createSwarmClient } from "@lumeweb/kernel-swarm-client";
import { createClient as createPeerDiscoveryClient } from "@lumeweb/kernel-peer-discovery-client"; import { createClient as createPeerDiscoveryClient } from "@lumeweb/kernel-peer-discovery-client";
import { createClient as createNetworkRegistryClient } from "@lumeweb/kernel-network-registry-client";
import { createClient as createHandshakeClient } from "@lumeweb/kernel-handshake-client";
import { createClient as createEthClient } from "@lumeweb/kernel-eth-client";
const dnsClient = createDnsClient(); const dnsClient = createDnsClient();
const ipfsClient = createIpfsClient(); const ipfsClient = createIpfsClient();
const swarmClient = createSwarmClient(); const swarmClient = createSwarmClient();
const peerDiscoveryClient = createPeerDiscoveryClient(); const peerDiscoveryClient = createPeerDiscoveryClient();
const networkRegistryClient = createNetworkRegistryClient();
const handshakeClient = createHandshakeClient();
const ethClient = createEthClient();
export { dnsClient, ipfsClient, swarmClient, peerDiscoveryClient }; export {
dnsClient,
ipfsClient,
swarmClient,
peerDiscoveryClient,
networkRegistryClient,
handshakeClient,
ethClient,
};