Compare commits
2 Commits
268df87b63
...
da7c405905
Author | SHA1 | Date |
---|---|---|
|
da7c405905 | |
|
560c7c374e |
|
@ -1,2 +1,3 @@
|
|||
export { S5Client } from "./client.js";
|
||||
export type { CustomClientOptions } from "./utils/options.js";
|
||||
export type { HashProgressEvent } from "./methods/upload.js";
|
||||
|
|
|
@ -21,10 +21,7 @@ import { concatBytes } from "@noble/hashes/utils";
|
|||
import { CID_HASH_TYPES } from "@lumeweb/libs5/lib/constants.js";
|
||||
import { CustomClientOptions, optionsToConfig } from "../utils/options.js";
|
||||
import { buildRequestUrl } from "../request.js";
|
||||
import {
|
||||
getS5Registry,
|
||||
postS5Registry,
|
||||
} from "../generated/index.js";
|
||||
import { getS5Registry, postS5Registry } from "../generated/index.js";
|
||||
import { AxiosError } from "axios";
|
||||
|
||||
export const DEFAULT_GET_ENTRY_OPTIONS = {};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {AxiosProgressEvent} from "axios";
|
||||
import { AxiosProgressEvent } from "axios";
|
||||
import {
|
||||
DetailedError,
|
||||
HttpRequest,
|
||||
|
@ -247,7 +247,7 @@ export async function getTusOptions(
|
|||
customOptions.onHashProgress?.({
|
||||
bytes: position,
|
||||
total: file.size,
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
const b3hash = hasher.digest();
|
||||
|
|
Loading…
Reference in New Issue