flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

fix: bytes should be declared on FlowChunk #328

Closed AidasK closed 3 years ago

AidasK commented 3 years ago

I have changed bytes default value null to undefined, because it might be already used by someone else and let's not break the code for them

drzraf commented 3 years ago

LGTM. I'd later backport this to v3. (I guess naming change are acceptable there, isn't?)

AidasK commented 3 years ago

Yes, you can rename it in v3 as you like :))