Skip to content

fix(upload): wrong progress callback parameter names in README#3406

Open
Zhoucheng133 wants to merge 2 commits intotauri-apps:v2from
Zhoucheng133:v2
Open

fix(upload): wrong progress callback parameter names in README#3406
Zhoucheng133 wants to merge 2 commits intotauri-apps:v2from
Zhoucheng133:v2

Conversation

@Zhoucheng133
Copy link
Copy Markdown

@Zhoucheng133 Zhoucheng133 commented Apr 26, 2026

The current documentation/examples for the download and upload functions use an incorrect destructuring pattern in the progress callback.

Currently, the examples suggest using ({ progress, total }), but according to the ProgressPayload interface in the source code, progress represents the chunk size (delta), while progressTotal represents the accumulated downloaded bytes.

@Zhoucheng133 Zhoucheng133 requested a review from a team as a code owner April 26, 2026 14:52
@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through bead3fc

There are 6 changes which include deep-link with patch, deep-link-js with patch, opener with patch, opener-js with patch, store with patch, store-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.42 2.0.43
api-example-js 2.0.38 2.0.39
deep-link-example-js 2.2.11 2.2.12
deep-link 2.4.8 2.4.9
deep-link-js 2.4.8 2.4.9
opener 2.5.3 2.5.4
opener-js 2.5.3 2.5.4
single-instance 2.4.1 2.4.2
store 2.4.2 2.4.3
store-js 2.4.2 2.4.3

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Zhoucheng133 Zhoucheng133 changed the title Fix progress callback parameter names in README fix(upload): wrong progress callback parameter names in README Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant