rwadurian/backend/mpc-system/services
hailin a2508ab0fd fix(service-party-app): 修复sql.js在打包后无法加载的问题
问题: Electron打包后sql.js模块报"Cannot find module"错误

解决方案:
1. 使用extraResources将sql-wasm.wasm复制到resources目录
2. 修改database.ts使用wasmBinary方式加载WASM文件
3. 直接读取WASM文件作为ArrayBuffer,避免模块解析问题

修改的文件:
- package.json: 添加extraResources配置复制WASM文件
- database.ts: 使用fs.readFileSync读取WASM并传递给initSqlJs

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 20:50:28 -08:00
..
account feat(co-managed-wallet): 添加分布式共管钱包 API 和 gRPC 代理 2025-12-28 18:11:57 -08:00
message-router debug: add more logging to message broker for broadcast diagnostics 2025-12-06 09:57:34 -08:00
server-party fix: add wait time before TSS protocol to prevent race condition 2025-12-06 10:04:10 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
service-party-app fix(service-party-app): 修复sql.js在打包后无法加载的问题 2025-12-28 20:50:28 -08:00
session-coordinator fix(co-managed-wallet): 修复向后兼容性问题并完善protobuf定义 2025-12-27 23:33:40 -08:00