Skip to content

[pull] main from enyo:main - #15

Merged
pull[bot] merged 4 commits into
AKJUS:mainfrom
enyo:main
Sep 27, 2026
Merged

pull[bot] merged 4 commits into
AKJUS:mainfrom
enyo:main

Conversation

@pull

@pull pull Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

enyo and others added 4 commits September 24, 2026 14:58
`submitRequest` sent `files[0]` -- the file as it was dropped -- for a
non-chunked binary upload, while the data that should go on the wire sat
unused in `dataBlocks[0].data`. Anything `transformFile` produced was
discarded, which silently includes `resizeWidth` and `resizeHeight`: the
preview showed a resized image and the server received the full-size
original. The chunked branch immediately above already used the chunk's
own `dataBlock`, and form-data uploads append it too.

`submitRequest` takes `dataBlocks` to reach it, optional so an existing
caller passing three arguments keeps working. Its `formData` parameter is
now `FormData | null`, which is what the binary path has always passed --
that was a `null as any` at the call site.
Send the transformed file on binaryBody uploads
@pull pull Bot locked and limited conversation to collaborators Sep 27, 2026
@pull pull Bot added the ⤵️ pull label Sep 27, 2026
@pull
pull Bot merged commit a0e896a into AKJUS:main Sep 27, 2026
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant