fix: don't use hash imports
This commit is contained in:
parent
a2bdba0599
commit
300f6876c6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue