mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 15:36:53 +02:00
* fix(CommandLauncher): redirect to dashboard when executing commands from preview routes NIP-19 preview routes (/nevent..., /npub..., etc.) don't render the window system, so commands executed there appeared to do nothing. Now detects preview routes and navigates to the dashboard before creating the window, so the command actually takes effect. * fix(test): add WebSocket polyfill for Node.js test environment nostr-tools relay code requires WebSocket which isn't available in Node.js by default. Adding the ws package polyfill prevents "ReferenceError: WebSocket is not defined" errors in tests. * fix(test): add @types/ws and fix type cast for WebSocket polyfill --------- Co-authored-by: Claude <noreply@anthropic.com>
3.2 KiB
3.2 KiB