feat: Add key_npub to admin token response and update .gitignore

- Include `key_npub` field in token response for admin methods.
- Update `.gitignore` to ignore `/claude/` and `/idea/` directories.
This commit is contained in:
tcheeric 2025-11-26 15:46:44 +00:00
parent 539106c4f1
commit 7ed4835bda
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ config
.env
.turbo
prisma
/.claude/
/.idea/

View File

@ -227,6 +227,7 @@ class AdminInterface {
return {
id: t.id,
key_name: t.keyName,
key_npub: npub,
client_name: t.clientName,
token: [ npub, t.token ].join('#'),
policy_id: t.policyId,