fix(service-party-app): 添加bech32类型定义修复编译错误

添加 @types/bech32 开发依赖以解决 TypeScript 编译时
找不到 bech32 模块类型声明的问题。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-28 20:07:13 -08:00
parent c97cd208ab
commit 3f25424049
3 changed files with 14 additions and 1 deletions

View File

@ -477,7 +477,8 @@
"Bash(git commit -m \"$\\(cat <<''EOF''\nfix\\(migration\\): 使数据库迁移脚本幂等化,支持重复执行\n\n将 008_add_co_managed_wallet_fields.up.sql 改为幂等脚本:\n- 使用 DO $$... IF NOT EXISTS 检查列是否存在再添加\n- 使用 CREATE INDEX IF NOT EXISTS 创建索引\n- 使用 DROP CONSTRAINT IF EXISTS 删除约束\n\n这确保迁移脚本可以安全地多次执行不会因列/索引已存在而失败。\n\n🤖 Generated with [Claude Code]\\(https://claude.com/claude-code\\)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
"Bash(git commit -m \"$\\(cat <<''EOF''\nfeat\\(service-party-app\\): 添加 Windows 一键编译脚本\n\n添加 build-windows.bat 脚本,支持:\n- 检查 Node.js 和 Go 环境\n- 编译 TSS 子进程 \\(tss-party.exe\\)\n- 安装 npm 依赖\n- 编译 Electron 应用\n\n使用方法: 双击运行 build-windows.bat\n\n🤖 Generated with [Claude Code]\\(https://claude.com/claude-code\\)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
"Bash(./node_modules/.bin/tsc:*)",
"Bash(npm ls:*)"
"Bash(npm ls:*)",
"Bash(npm run build:win:*)"
],
"deny": [],
"ask": []

View File

@ -28,6 +28,7 @@
"zustand": "^4.4.7"
},
"devDependencies": {
"@types/bech32": "^1.1.2",
"@types/express": "^4.17.21",
"@types/node": "^20.10.0",
"@types/react": "^18.2.39",
@ -2448,6 +2449,16 @@
"@babel/types": "^7.28.2"
}
},
"node_modules/@types/bech32": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@types/bech32/-/bech32-1.1.2.tgz",
"integrity": "sha512-D2tG6kfIcZD3pjtnnvGrwiZiz+HGBsoy0pdGlpBeMbhlKJ4l4r1zB8SEQPL790kTdSS8lhyC/w9API7L2YBOxw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/body-parser": {
"version": "1.19.6",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",

View File

@ -37,6 +37,7 @@
"zustand": "^4.4.7"
},
"devDependencies": {
"@types/bech32": "^1.1.2",
"@types/express": "^4.17.21",
"@types/node": "^20.10.0",
"@types/react": "^18.2.39",