Skip to content

Feat/download ready transformer 5.0.4#18

Merged
AthrunArthur merged 4 commits into
YeeZTech:mainfrom
freeof123:feat/download-ready-transformer-5.0.4
Jun 23, 2026
Merged

Feat/download ready transformer 5.0.4#18
AthrunArthur merged 4 commits into
YeeZTech:mainfrom
freeof123:feat/download-ready-transformer-5.0.4

Conversation

@freeof123

Copy link
Copy Markdown
Member

Summary

  • onDownloadReady 回调:新增 createDownloadReadyTransformer(与 createProgressTransformer 同模式),在 stream_download / blob_download 中通过 pipeThrough 接入;HTTP 流首个数据块进入管道时触发,便于前端关闭准备蒙层。不修改 HttpSealedFileStream.js
  • signMessage 修复:修正 eth_hash_prefix 构造(\x19 + Ethereum Signed Message:\n32),恢复与 v4.x 兼容的签名;补充回归测试。
  • 下载进度增强createProgressTransformer 统一 onProgress 回调。
  • 版本:bump to 5.0.4

管道结构

AthrunArthur and others added 4 commits June 23, 2026 14:31
Expose onDownloadReady so UI can dismiss loading overlays after HEAD+tail
validation; fix eth_hash_prefix to restore v4.x-compatible signatures.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Move download-ready signaling out of HttpSealedFileStream into a
TransformStream (same pattern as createProgressTransformer) and pipe it
in stream/blob download paths without modifying the HTTP stream class.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AthrunArthur AthrunArthur merged commit 28bf0e3 into YeeZTech:main Jun 23, 2026
0 of 2 checks passed
@freeof123 freeof123 mentioned this pull request Jul 9, 2026
6 tasks
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.

2 participants