fix: replace import
This commit is contained in:
parent
b75bf77f1e
commit
0039e5b1b5
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue