refactor: remove hash imports

This commit is contained in:
Derrick Hammer 2024-03-18 18:01:50 -04:00
parent 3b0cd655de
commit 7c9fc160c7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
import { S5Node } from "#node.js"; import { S5Node } from "#node.js";
import type { SignedRegistryEntry } from "#types.js"; import type { SignedRegistryEntry } from "./types.js";
import { ed25519 } from "@noble/curves/ed25519"; import { ed25519 } from "@noble/curves/ed25519";
import KeyPairEd25519 from "#ed25519.js"; import KeyPairEd25519 from "./ed25519.js";
import { S5NodeConfig } from "./types.js"; import { S5NodeConfig } from "./types.js";
import CID from "#cid.js"; import CID from "./cid.js";
export * from "./types.js"; export * from "./types.js";
export * from "./constants.js"; export * from "./constants.js";

View File

@ -1,12 +1,12 @@
import NodeId from "../nodeId.js"; import NodeId from "../nodeId.js";
import CID from "#cid.js"; import CID from "../cid.js";
import { MediaFormat } from "#serialization/metadata/media.js"; import { MediaFormat } from "./metadata/media.js";
import { import {
DirectoryReference, DirectoryReference,
FileReference, FileReference,
FileVersion, FileVersion,
FileVersionThumbnail, FileVersionThumbnail,
} from "#serialization/metadata/directory.js"; } from "./metadata/directory.js";
import { Buffer } from "buffer"; import { Buffer } from "buffer";
export default class Packer { export default class Packer {