fix: when decrypting file, have better error messages #17

Merged
b merged 11 commits from issue-11 into main 2024-05-14 15:09:01 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 413c9cc575 - Show all commits

View File

@ -8,6 +8,7 @@
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {

View File

@ -370,7 +370,7 @@ createNostrHttpAuthToken = async (
): Promise<string> => {
const createdAt = Math.round(Date.now() / 1000)
let authEvent = new NDKEvent(undefined)
const authEvent = new NDKEvent(undefined)
authEvent.kind = 27235
authEvent.tags = nostrTags
authEvent.content = `sigit-${createdAt}`