Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Jan 20, 2026

Summary

  • 修复 @biochain/key-ui typecheck 失败问题
  • 修复远程 miniapp icon URL 拼接 bug

Changes

文件 改动
packages/key-utils/package.json 改为直接导出 src/*.ts(纯 TS 包,无需 build)
scripts/vite-plugin-miniapps.ts 使用 new URL() 处理相对路径,保留绝对 URL

Why

  1. key-utils 是纯工具函数包,不需要编译,直接导出源码即可
  2. 远程 miniapp 的 icon 可能是绝对 URL(如 https://...),之前的字符串拼接会生成错误路径如 ./rwa-hub/https://...

- Change key-utils to export src/*.ts directly (no build needed)
- Fix remote miniapp icon/screenshot URL handling with proper URL check
- Absolute URLs (http/https) are preserved, relative paths use new URL()
@Gaubee Gaubee merged commit 9530599 into main Jan 20, 2026
5 checks passed
@Gaubee Gaubee deleted the opencode/shiny-nebula branch January 20, 2026 15:35
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