Refactor to remove events package

This commit is contained in:
Jerome Wu
2023-07-23 15:02:13 +08:00
parent be676060ba
commit ba63a8c468
16 changed files with 261 additions and 10043 deletions

View File

@@ -1,9 +1,9 @@
import {
ERROR_RESPONSE_BODY_READER,
ERROR_INCOMPLETED_DOWNLOAD,
} from "./errors";
import { HeaderContentLength } from "./const";
import { ProgressCallback } from "./types";
} from "./errors.js";
import { HeaderContentLength } from "./const.js";
import { ProgressCallback } from "./types.js";
export const readFromBlobOrFile = (blob: Blob | File): Promise<Uint8Array> =>
new Promise((resolve, reject) => {