fix: don't use hash imports

This commit is contained in:
Derrick Hammer 2024-03-21 13:18:29 -04:00
parent a2bdba0599
commit 300f6876c6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ import {
DEFAULT_UPLOAD_OPTIONS, DEFAULT_UPLOAD_OPTIONS,
TUS_ENDPOINT, TUS_ENDPOINT,
UploadResult, UploadResult,
} from "#options/upload.js"; } from "./options/upload.js";
import { import {
DetailedError, DetailedError,
HttpRequest, HttpRequest,
@ -68,7 +68,7 @@ import { ensureFileObjectConsistency } from "./utils/file.js";
import defer from "p-defer"; import defer from "p-defer";
import { Multihash } from "@lumeweb/libs5/lib/multihash.js"; import { Multihash } from "@lumeweb/libs5/lib/multihash.js";
import { blake3 } from "@noble/hashes/blake3"; import { blake3 } from "@noble/hashes/blake3";
import { base64urlDecode, base64urlEncode } from "#utils/encoding.js"; import { base64urlDecode, base64urlEncode } from "./utils/encoding.js";
export class S5Error extends Error { export class S5Error extends Error {
public statusCode: number; public statusCode: number;