style: prettier
This commit is contained in:
parent
560c7c374e
commit
da7c405905
|
@ -21,10 +21,7 @@ import { concatBytes } from "@noble/hashes/utils";
|
||||||
import { CID_HASH_TYPES } from "@lumeweb/libs5/lib/constants.js";
|
import { CID_HASH_TYPES } from "@lumeweb/libs5/lib/constants.js";
|
||||||
import { CustomClientOptions, optionsToConfig } from "../utils/options.js";
|
import { CustomClientOptions, optionsToConfig } from "../utils/options.js";
|
||||||
import { buildRequestUrl } from "../request.js";
|
import { buildRequestUrl } from "../request.js";
|
||||||
import {
|
import { getS5Registry, postS5Registry } from "../generated/index.js";
|
||||||
getS5Registry,
|
|
||||||
postS5Registry,
|
|
||||||
} from "../generated/index.js";
|
|
||||||
import { AxiosError } from "axios";
|
import { AxiosError } from "axios";
|
||||||
|
|
||||||
export const DEFAULT_GET_ENTRY_OPTIONS = {};
|
export const DEFAULT_GET_ENTRY_OPTIONS = {};
|
||||||
|
|
|
@ -247,7 +247,7 @@ export async function getTusOptions(
|
||||||
customOptions.onHashProgress?.({
|
customOptions.onHashProgress?.({
|
||||||
bytes: position,
|
bytes: position,
|
||||||
total: file.size,
|
total: file.size,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const b3hash = hasher.digest();
|
const b3hash = hasher.digest();
|
||||||
|
|
Loading…
Reference in New Issue