diff --git a/src/file.js b/src/file.js index 105469e..76cadfa 100644 --- a/src/file.js +++ b/src/file.js @@ -1,5 +1,5 @@ import * as API from "./file/api.js" -import * as UnixFS from "./unixfs.js" +import * as UnixFS from "./lib.js" import * as Writer from "./file/writer.js" import * as Task from "actor" import { panic } from "./writer/util.js" diff --git a/src/unixfs.js b/src/unixfs.js index cbc98a3..650aa3a 100644 --- a/src/unixfs.js +++ b/src/unixfs.js @@ -8,4 +8,3 @@ import { Data } from "../gen/unixfs.js" export const NodeType = Data.DataType -export * from "./lib.js" diff --git a/src/unixfs.ts b/src/unixfs.ts index 30b3324..7f916ee 100644 --- a/src/unixfs.ts +++ b/src/unixfs.ts @@ -10,7 +10,6 @@ export * as Layout from "./file/layout/api" import NodeType = Data.DataType -export * from "./lib.js" export { NodeType } export type { IData } diff --git a/test/matrix.js b/test/matrix.js index a4b9d34..98ca973 100644 --- a/test/matrix.js +++ b/test/matrix.js @@ -6,7 +6,7 @@ import * as Rabin from "../src/file/chunker/rabin.js" import * as API from "../src/file/api.js" import { UnixFSLeaf, UnixFSRawLeaf } from "../src/file.js" import * as RawLeaf from "multiformats/codecs/raw" -import * as UnixFS from "../src/unixfs.js" +import * as UnixFS from "../src/lib.js" import { sha256 } from "multiformats/hashes/sha2" import * as FZSTD from "fzstd"