rwadurian/backend/mpc-system/services/service-party-app
hailin d051178801 fix(electron): add gRPC connection check before subscribing to messages
The app was crashing with "CANCELLED: Cancelled on client" error when
opening the app a second time. This happened because:

1. When window was reopened, old gRPC streams were in cancelled state
2. prepareForSign/prepareForKeygen tried to subscribe on cancelled streams
3. The error was unhandled and crashed the app

Changes:
- Add isConnected() check in prepareForSign() and prepareForKeygen()
- Throw meaningful error when gRPC client is not connected
- Wrap all prepareFor* calls in try-catch in main.ts
- Return user-friendly error message instead of crashing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 13:04:19 -08:00
..
electron fix(electron): add gRPC connection check before subscribing to messages 2025-12-31 13:04:19 -08:00
proto fix(service-party-app): 修复 proto 文件打包路径问题 2025-12-28 07:39:55 -08:00
scripts fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
src fix(transaction): use eth_gasPrice RPC for Legacy transaction gas estimation 2025-12-31 12:48:41 -08:00
tss-party fix(tss-party): include recovery ID in signature output for EVM transactions 2025-12-31 12:37:53 -08:00
.gitignore feat(service-party-app): 添加SQLite存储和Kava区块链集成 2025-12-28 19:45:45 -08:00
build-windows.bat fix(service-party-app): 更新build-windows.bat支持clean选项 2025-12-28 20:17:27 -08:00
electron-builder.json fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
index.html feat(service-party-app): 添加签名功能并重命名应用 2025-12-28 08:00:00 -08:00
package-lock.json fix(service-party-app): 添加bech32类型声明和清理脚本 2025-12-28 20:14:17 -08:00
package.json fix(service-party-app): 在 package.json 的 build 配置中添加 afterPack 2025-12-29 11:20:35 -08:00
tsconfig.electron.json fix(service-party-app): 修复 Electron 主进程编译配置 2025-12-28 07:31:26 -08:00
tsconfig.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
tsconfig.node.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
vite.config.ts feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00