naive-upload
Version:
<p align="left"> <a href="https://www.npmjs.org/package/naive-upload"> <img src="https://img.shields.io/npm/v/naive-upload.svg"> </a> <a href="https://bundlephobia.com/package/naive-upload@latest"> <img src="https://img.shields.io/bundl
26 lines (25 loc) • 717 B
JavaScript
var i = Object.defineProperty;
var o = (a, s, l) => s in a ? i(a, s, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[s] = l;
var e = (a, s, l) => (o(a, typeof s != "symbol" ? s + "" : s, l), l);
class d {
constructor(s, l) {
e(this, "index");
e(this, "blob");
e(this, "size");
e(this, "checkPosition", 0);
e(this, "md5", null);
e(this, "forced", !1);
e(this, "checking", !1);
e(this, "checked", !1);
e(this, "uploading", !1);
e(this, "uploaded", !1);
e(this, "done", !1);
e(this, "error", !1);
e(this, "errorMessage");
this.index = s, this.blob = l, this.size = l.size;
}
}
export {
d as default
};
//# sourceMappingURL=ChunkFile.js.map