fix: replace import

This commit is contained in:
Derrick Hammer 2023-11-17 22:28:02 -05:00
parent b75bf77f1e
commit 0039e5b1b5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import type { ContentProvider } from "../types.js"; import type { ContentProvider } from "../types.js";
import * as nodePath from "path"; import * as nodePath from "path";
import { s5Client } from "../../clients.js"; import { createClient } from "@lumeweb/kernel-s5-client";
export default class IPFSProvider implements ContentProvider { export default class IPFSProvider implements ContentProvider {
private _client = s5Client; private _client = createClient();
async fetchContent( async fetchContent(
uri: string, uri: string,